Jump to content


Website help!


  • You cannot reply to this topic
13 replies to this topic

#1 Dannii

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 24 February 2008 - 01:10 PM

Hiya, Im Dannii
Im a newbie to flash and I've seached high and low for help and tutorials for what I want to do with my website.

Basically...
- It's my flash site will be have a full background image (which i've worked out how to do!)
- Has a rounded rectangle in the middle (which will have my wordpress entries in - just becoz i'm waiting for FlashPress to be released and I want my site up and running...like yesterday lol)
- The rest of layout will be done after Ive designed the preloader (it's a working progress - i know how i want the whole site to be its just a case of learning and finding tutorials of how to do each part)


1st thing I need help with: Preloader...
- "Ajax Style" preloader BUT for flash
- Something like... these
- But in flash like...
Posted Image

I know im new to this, and yes its probably a bit too advanced for me but I know with help / tutorials I can do it.
Please if anyone can help me make this in flash i'd be ever so grateful!

Thanks for your time!
Dannii.x

#2 knedl

    Young Padawan

  • Members
  • Pip
  • 243 posts
  • Gender:Male
  • Location:Slovenia
  • Interests:Designing and programing

Posted 24 February 2008 - 01:30 PM

How much knowledge do you have about flash? some basic knowledge about movie clips, actionscript etc,.. I can help you out with this but I need to know how much do you all ready know, so it would be much easier :)

#3 Dannii

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 24 February 2008 - 01:44 PM

awww thank you for replying!!!! :)

basically nothing.... sadly. i catch on really quickly though.

#4 knedl

    Young Padawan

  • Members
  • Pip
  • 243 posts
  • Gender:Male
  • Location:Slovenia
  • Interests:Designing and programing

Posted 24 February 2008 - 01:47 PM

Oh ok, then this will take a while so hold on, I'll write up a simple tut for you :)

#5 Dannii

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 24 February 2008 - 01:48 PM

thank you so much! you're so kind :)

#6 knedl

    Young Padawan

  • Members
  • Pip
  • 243 posts
  • Gender:Male
  • Location:Slovenia
  • Interests:Designing and programing

Posted 24 February 2008 - 02:29 PM

Ok for starters I'm using Flash CS3 with Actionscript 2.0, if your using the same version of flash make sure when creating a new document choose, actionscript 2.0. Once you have created a new file, you can import or draw the preloader, for an example let me show you mine:

Posted Image

As you can see it's nothing special, text on the top, some border around the fill and the fill in the middle, now that fill is the thing that will be moving while the procentage of the page is beeing loaded, so that fill must be converted into a movie clip, so select the fill, press F8 to convert it into a simbol and choose Movie clip:

Posted Image

Name it as you like. Once you have done that select that movie clip (or that fill), and you will see in the bottom left corner this:

Posted Image

In the box that says instance name, write loader_mc, so you can call this movie clip in action script. Once you've done that you can create a new layer, select the first frame and press F9 (or option F9 if your on a mac) to open up your actions panel. I'll just paste the code and then explain it.

myInterval = setInterval(preload, 100); // here we created a new interval and named it preload

function preload() {
var current = getBytesLoaded(); // in this var we store the information current bites loaded
var total = getBytesTotal(); // in this var we store the total bites loaded
var pctLoaded = Math.round(current/total*100); // we devide currnet with total to get the result
loader_mc._xscale = pctLoaded; // we tell the loader on the stage how much can that fill or movie clip strech depending on how much site has been loaded


if (current >= total) {
gotoAndStop ("scene1",2); // here we just tell it where to go once it finishes
clearInterval (myInterval);
}
}

Here's how it would look:

Posted Image

So you can put a large picture or something on frame 2, then whene testing the movie clip with control + enter, you can stimulate the download by going to view > download settings, choose the setting you'd like, then go to view > stimulate download and test if the loader works.

That's that, if you have any problems and question feel free to ask.

#7 Dannii

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 24 February 2008 - 04:54 PM

Wow thank you. Kinda had a problem with it though lol..
here's the swf and here's the fla. I keep looking at it but
I can't seem to find what on earth is wrong with it!

Also could you shed any light on why my pixel font is so large?
Is it to do with me allowing the movie to resize?

Edited by Dannii, 24 February 2008 - 04:56 PM.


#8 knedl

    Young Padawan

  • Members
  • Pip
  • 243 posts
  • Gender:Male
  • Location:Slovenia
  • Interests:Designing and programing

Posted 24 February 2008 - 05:56 PM

The registration was the problem, forgot to mention it before, sorry, anyway, here's the fixed fla (when selecting the fill, look at the little plus sign where it's suppose to be, that was the problem you had).

About the pixels, don't really know, once you've put it into html it will solve the problem, normally playing the swf itself usually stretches it a bit, or it could be that the loading text was set as dynamic, I've put it as static if it will help.

#9 Dannii

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 04 March 2008 - 01:58 PM

thank you for your help its all sorted now!

Dont suppose anyone knows how to get wordpress into flash? ive tried so many different methods but i cant do it! ;)

#10 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 04 March 2008 - 03:54 PM

It's possible, though it would be a pretty big project! You'd need to rewrite pretty much every query, so you might aswell just make a CMS yourself. I could do it, so I might have a go some time see if I can get it working, then I could show you or give you the source files.

Edited by MediaDesign, 04 March 2008 - 03:55 PM.


#11 Dannii

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 14 March 2008 - 01:01 PM

wow yeah that would be great :)

how easy is it to align images in flash output?

#12 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 15 March 2008 - 01:00 AM

View PostDannii, on Mar 15 2008, 05:01 AM, said:

how easy is it to align images in flash output?
Sorry I don't quite understand?

#13 andymayo

    Young Padawan

  • Members
  • Pip
  • 5 posts

Posted 18 March 2008 - 06:06 AM

jus a quick question: how do i get to the code? im following the tutorial.

#14 knedl

    Young Padawan

  • Members
  • Pip
  • 243 posts
  • Gender:Male
  • Location:Slovenia
  • Interests:Designing and programing

Posted 18 March 2008 - 11:38 AM

What to do you mean how can you get it? You have to write it :angrylooking:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users