Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 02-13-2006, 03:13 AM   #1
LeeroyJenkins
Registered User
 
Join Date: Feb 2006
Posts: 6
Default loader class and gotoandstop?

Hi i'm currently struggling right now to move a swf loaded from a loader object into a display object. I'm trying to move the loaded swf into a MovieClip so i can use it's properties, but can't figure out how, nor can i find documentation on it anywhere ...

here's the general code:

loader = new Loader();
loader.addEventListener(Event.INIT, onLoadStart);
loader.addEventListener(Event.COMPLETE, onLoadComplete);

private function onLoadComplete(event:Event):void {
output_swf.addChild(loader);
Console.trace('loading swf to layer ' + info.contentType);
}


but at that point, the output_swf currentFrame property is always at 1 ... so i know the loader must be part of the output_swf ....

any ideas?
LeeroyJenkins is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to deal with callbacks in class files by using composition of MovieClip? mediaholic ActionScript 2.0 7 11-07-2005 03:14 PM
printJob Class, particular frame only seeFresh ActionScript 2.0 2 10-06-2005 09:59 AM
sigh, the damned mac olganunes ActionScript 1.0 (and below) 0 07-13-2001 07:23 PM


All times are GMT. The time now is 09:04 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.