| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Dec 2000
Location: Vancouver,BC, Canada
Posts: 2
|
I was reading your tutorial on Paths to Objects and Variables..
ok...that all makes sense.... but can u load a clip that is in the library at any time? or does it have to be in the main scene ..? ok.. say i have 4 nav buttons... hit "a" button.. it loads clipA.... i hit "b" button it unloads clipA and loads clipb or i hit "d" button it unloads previous clip? (whatever they chose before) and loads clipD.. do all of these clips have to be in the same main scene in my main movie. or can they be just sitting in the library...? I understand that i have to give a clip an "instance" name.. so i reference that clip by its instance name..not library name.... |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
No you can't. This is because the Library is not exported with your movie as there may be unused elements. Thus Flash saves space by not exporting elements which are unused. As such, if you want to load a clip up at any time it must be somewhere in the movie so that it counts as a used object, (generally on the same frame makes it a lot easier).
Remember however that it doesn't have to be in the visible stage area. It can be off the screen and invisible to viewers. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
|
Jesse is rigth
BUT ! (for high skill flashers only), you can load objects from the library using actionscript. You must set the "linkage" property of the symbol you want to load, and then use the .attachmovie command. I think we should make a tutorial about that feature. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Dec 2000
Location: Vancouver,BC, Canada
Posts: 2
|
ok...thanks guys.... that really helped out...
understanding this technique enhances my flash skill tremendously... and yes i placed the new MC's outside the visible area with a label so i know which one i have to refer to later.. ok..i downloaded the "sounds" movie from this site.... and yes..he called a sound in the main timeline from the library..and he did use the linkage property... now...is it possible to have a seperate swf with all mp3's of my band sittin on my server... then (in my main movie)..i can call a seperate mp3 to be loaded from its library (on its own swf)....to my main movie..using the linkage property and the get movie properties..? or should i wait for your tutorial... thanks.... |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Akane's the guru on this one. Don't look at me, I'm bogged under with tutorials at the moment
![]() Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#6 |
|
New Member
|
huh ho
sorry guys =)^i had family stuff .... and was away i'll make a tut as soon as possible for it. Just one thing i know, using it with sound objects from external swf seems not to work. It's a bug. But i will try to be sure of that. cheers |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removeMovieClip() not work for components? | djandrew | Components | 30 | 08-03-2007 05:51 PM |
| Loading images in different frames.. | nchagial | ActionScript 2.0 | 22 | 12-21-2005 09:06 AM |
| Multiple External Movie Loading and Stacking | Saed | ActionScript 1.0 (and below) | 6 | 10-13-2005 03:52 AM |
| Sequential loading of Movie clips | lewisfaith | ActionScript 1.0 (and below) | 1 | 10-20-2002 04:05 PM |
| Loading Movie Clips | Jiggy | Simple Stuff (Newbies) | 3 | 05-19-2002 09:29 AM |