| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Member
Join Date: Jul 2002
Location: London
Posts: 68
|
I want lo load a movie into a level as below:
loadMovieNum("aer_map.swf", 1); but i want to position the swf in a certain position.. could anyone help me with the code for this? thanks |
|
|
|
|
|
#2 |
|
Registered User
|
Hey there biscutty buddy.....its actually very simple.....create a BLANk movie clip on your main timeline and add an instance name "container" to it.....
what this is going to be is the upper left edge of your movie.....in other words, whereever this point is is wher the upper left edge of your loaded SWF will be.....so place it accordingly......i can attach a file to explain what i mean..... then, set your action to this..... loadMovie("myswf.swf", _root.container); this will replace the blank movie clip currently on the stage with whatever you load in.....hope this helps..... kc |
|
|
|
|
|
|
|
|
#3 |
|
Addicted To FLASH
|
or
ActionScript Code:
but you need to make sure that it's fully downloaded before assigning your script
__________________
â€* GOD Is Near â€* Questions Don't PM for Questions An eye for an eye, make the whole world blind _____________________________________________GHANDI |
|
|
|
|
|
#4 |
|
Registered User
|
i do have a question concerning loading external movies.......
say i have an action in like frame one to load "movie1.swf" to load into the blank movie clip "container"......lets also say that its like a 20k file and a lot of people on dial up are going to see this.....then like after that is done playing (currentframe=totalframes) the next movie "movie2.swf" loads in....and so on..... well, sometimes the movie wont load up right away on dial up......it will like skip some of the external clips and what not.....i even put preloaders on them and still, some of them hit and miss.....kinda frustrating....anyone know whats goin on? thanks kc |
|
|
|
|
|
#5 |
|
Addicted To FLASH
|
yeah, if u do that the script should be very neat, there is a tut in the tutorials section by Jesse for that
__________________
â€* GOD Is Near â€* Questions Don't PM for Questions An eye for an eye, make the whole world blind _____________________________________________GHANDI |
|
|
|
|
|
#6 |
|
Registered User
|
what do you mean by 'very neat'......the script is fine.....it just hits and misses on slower connections.....u know where the tutorial is at? or what i should search for? also, does anyone know how to add a unique identifier to an image being called by a javascript function?
kc |
|
|
|
|
|
#7 |
|
Addicted To FLASH
|
__________________
â€* GOD Is Near â€* Questions Don't PM for Questions An eye for an eye, make the whole world blind _____________________________________________GHANDI |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|