Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

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

views
     
TSResphoina
post Dec 17 2006, 03:13 PM, updated 19y ago

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


Okay, sifus.
I wanna know how many preloader can it be in a flash movie?
I did one preloader, and I placed it at the front of the first scene, and of course my content lays at the frame after the preloader. That one is the typical and of course it works.

Now, I duplicated the first scene, and here goes the second scene, I named it 'contact'. The 'contact' scene has different content than the first scene of course, and i did the same thing, i remained the preloader at the front frames of second scene, and the main content lays after preloader.

Well, at the first scene, I created a button, and I want the first scene to jump to second scene 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?*

I supposed my script has no errors, and able to jump. OKay, so I ctrl + enter for the first time, errors occured saying duplicate errors bla bla, and label bla bla.

So I change the label of the frame that contains the main content in my second frame, and also the actionscripts in the preloader of second scene.

I ctrl + enter once again, okay, those errors are cleared. Now, I'm facing another problem, here's the question - *The first scene played out nicely, and I clicked on the button I created to jump to second scene which is "contact", it didn't jump but remained still in the first frame. So, I wanna know whether the preloader of second scene workable or not, I right click the movie and selected forward, it went to the next scene which is the 'contact' scene, the preloader didnt load, but straight to my content in that scene, so, I wanna know, is it impossible for a movie to contain more than 1 preloader? and does it has other method to make 2 preloaders?*

Please answer, and help me out sifus. Will thank you.
I am just a noob, so please teach me. biggrin.gif
TSResphoina
post Dec 17 2006, 06:09 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


Thanks Etsuko, you are always here to offer your help.
Okay, i changed the script, still, the preloader loads the whole movie rather than one scene by one scene.

As you said you never tried *multiple scene preloader* before, I am curious about the other flash webs, at the navigation bar, when we clicked on the button, it goes to another page and the preloader comes up and loads that page. If in this case, you create several movies and then link one to each other through URL? or perhaps loadMovie? Or are there any other ways?
TSResphoina
post Dec 18 2006, 02:00 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


Thanks to all of you. Love it. Yea, btw, I prefer loadMovie method. biggrin.gif much easier. I was a fool not to use it. loL
TSResphoina
post Dec 18 2006, 05:10 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


Here's another problem, okay, my page is still incomplete, but there's a problem which is making my head big.

here's the link of my web -
http://thefeathers.ueuo.com/enter.php

okay, after you entered and the flash web loaded, what u're seeing is the home page, and after you clicked the navigation, a row of buttons came out, please click on *contact*, the rest is still under construction, after you clicked *contact*, it enters to the contact.swf of course as I apply
on(release) {
loadMovieNum("contact.swf", 0);
}

on(release){
unloadMovieNum("home.swf");
}

at the contact button there. After you entered the contact page, u try to click the navigation once again, *it happened to be rollout half way and den rollback again after moved out from the invisible button I placed at navigation text although I didn't apply any onRollOut function. I copied and paste exactly the same navigation from home.swf, but it appeared to be rollout half way and den rollback again, what happened?*

And of course, if that navigation at contact page could be displayed nicely, you can click *home*, to go back the home.swf as at the home button, i placed tis

on(release) {
loadMovieNum("home.swf", 0);
}

on(release){
unloadMovieNum("contact.swf");
}

However, is my loadmovie/unloadmovie code at both buttons correct?
and please answer my problem above.
And, why the flash I uploaded to the host seems to be slower than the actual one I created? It feels like at the webpage, it has lower fps.

This post has been edited by Resphoina: Dec 18 2006, 05:14 PM
TSResphoina
post Dec 18 2006, 11:16 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


yes, i put it inside Jayhan. Thanks.

Etsuko, and uhmm, I don't think my comp is slow, btw, i set the fps to 32, and it looks totally smooth on my comp, and there seems to be a speed limitation on the host, as the speed doesnt change even if i set the fps to 100 and upload to the host and view it once again, it's the same speed still like the previous. What could explain why the fps seems slower at net than at computer?
TSResphoina
post Dec 18 2006, 11:20 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


LOL! OKay, so what's the difference between loadMovieNum and loadMovie? They play the same role dont them?
TSResphoina
post Dec 19 2006, 12:23 AM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


Putting the button outside also useless, and I think i know why the navigation got problem when clicked. It's not because of the button isnt big enough, and neither my script got problem.

IF you try click on the button without releasing it first, and then scroll to the the right and select other buttons, then it'll work.

I ctrl + enter my contact.swf, and foudn out, at the first time the navigation will roll out nicely but when i reload the contact.swf by pressing ctrl + enter once again on it without closing the testing movie explorer, the navigation problem occured. And I found out, first time it's workable as the *input boxes at the above isnt being highlighted or clicked, and when the movie is played once again, the navigation failed, as the input box is automatically highlighted or clicked(the blinkage of | inside the input box) is failing the whole navigation.*

*So, here's another question, pros, can I only enable the input box to be highlighted only after I manually clicked on and not automatically highlighted after it's being loaded and also unhighlighted after my mouse is moved out of the input box automatically?

This post has been edited by Resphoina: Dec 19 2006, 12:23 AM
TSResphoina
post Dec 19 2006, 01:19 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


My problem is *it happened to be rollout half way and den rollback again after moved out from the invisible button I placed at navigation text although I didn't apply any onRollOut function. I copied and paste exactly the same navigation from home.swf, but it appeared to be rollout half way and den rollback again, what happened?*

If *highlighted matter* could be solved, probably my swf won't be facing problem.

------
How to set the mode to opaque?
------

Btw, I'm just 16, still learning though, so, might be facing problems in dealing with codes and functions in flash and etc. So, I seriously need you all's explanations and guidance. Thanks.

This post has been edited by Resphoina: Dec 19 2006, 02:10 PM
TSResphoina
post Dec 19 2006, 04:30 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


thanks lil twist. Told ya, it isnt because the script problem, it's because the auto-highlight problem. And how to solve the auto-highlight problem?
TSResphoina
post Dec 21 2006, 02:33 PM

Casual
***
Junior Member
419 posts

Joined: Jan 2005
From: Singapore


No one replies ?

 

Change to:
| Lo-Fi Version
0.0368sec    0.28    6 queries    GZIP Disabled
Time is now: 3rd December 2025 - 04:19 AM