Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Need help in Flash 8, Problems in preloader + jump scenes

views
     
momochi zabuza
post Dec 18 2006, 06:25 AM

I never think about money, beautiful things make money
*****
Senior Member
719 posts

Joined: Jan 2003
From: cyberjaya, ampang, malaysia


// note.. items that with " " are important keyterms in flash

as far as i know.. the preloader and the getbytesloaded thingy is just detecting the whole movie.. which is each Scene is included when loading it.

the way that the flash website achive this is by "loadMovie" .. insde the movie loaded, they put again the preloader thus makes it seems like "Scene" preloader

in example hands.gif

i have one main frame, main flash called index.swf .. index.swf contains an area ( this area is a movie clip ) and i give its "Instance name" as "mainframe_mc".. so the script... press button portfolio and you will load portfolio.swf and it must be the same size as the "mainframe_mc"

loadMovie("portfolio.swf","mainframe_mc")

then when portfolio is loaded.. if you put inside the preloaders.. the preloader will work.. however.. if you put preloader inside the portfolio.. amke sure of it's target.. if you put at the line somewhat like this

_root.getbytesloaded // this will make the preloader of portfolio to detect the bytes loaded already by index.swf .. you also have to know the correct "target" ... in this case.. no need to put the "_root."

QUOTE
when I clicked that button, so at the actionscript panel, I wrote : gotoAndPlay("contact", 1); *Here's 1 question - The actionscript frame of this jump scene, can it be placed anywhere in the frames? or shud it be placed at the frame after the last object being seen in the timeline?

for this question.. i think it's depends on you when you wanted to invoke that action.. either on button release of on what happens.. depends.

this is my tutorials regarding loadmovie function

http://flavert-tutorials.blogdrive.com/

huhu the halfway tutorial projects doh.gif anyway i hope this helps. cheeers thumbup.gif
momochi zabuza
post Dec 18 2006, 02:38 PM

I never think about money, beautiful things make money
*****
Senior Member
719 posts

Joined: Jan 2003
From: cyberjaya, ampang, malaysia


hehe. glad it helps.. you're most welcomed wink.gif
momochi zabuza
post Dec 18 2006, 11:18 PM

I never think about money, beautiful things make money
*****
Senior Member
719 posts

Joined: Jan 2003
From: cyberjaya, ampang, malaysia


any reason why you're using loadMovieNum ? coz up until today i didnt test loadMovieNum .. LOL tongue.gif

 

Change to:
| Lo-Fi Version
0.0151sec    0.59    6 queries    GZIP Disabled
Time is now: 10th December 2025 - 07:54 PM