|
-
Loader component
Ok I know i am doing something very stupid here, but I can't remember what to do so here it is.
I'm trying to change an instance of my Loader component, mainLoader to change the path on the release of a button.
on (release) {
mx.controls.mainLoader.load(banner.swf);
}
I'm running it on my computer so its not that the banner.swf is taking a long time to load.
Thanks
-
Who, What, Why ... ?
-
Well right now it won't do anything. If I manually set the properties to it and autoload it from the properties menu it shows. But when I try to dynamically change the path and load it using that code it doesn't do anything. So somewhere along the way my code is off.
-
Who, What, Why ... ?
code: on (release) {
mx.controls.mainLoader.loadMovie(banner.swf);
}
-
I am using the loader component, not a movie clip to load the file. I am doing this for many complicated reasons. Basically movie clips don't give me what I want.
Scalability that can be toggled on and off without writing a long class file for it.
Last edited by ChiefDesigns; 04-15-2004 at 04:28 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|