Re: [Flashcoders] loadClip vs loadMovie: swf's losing control... literally

2006-12-01 Thread Micky Hulse

Micky Hulse wrote:
Just curious if my sleep deprived thinking is on the right track... if 
so, how do you handle similar situation?


Well, I feel like a dolt... this whole day I have been banging my head 
on keyboard trying to figure out why I could not get totalframes, or 
control the inner-workings of the loaded swf...


Ends up that it was the swf that had the problem.

I had created all my swf's by exporting them out of an FLA by right 
clicking on the movieclip in the library and choosing "Export Flash Movie".


Not sure why that would break things... I can guess but whatever the 
case may be, looks like I need to figure out a different way to generate 
my swfs...


Ok, now time for sleep for real this time... can... barely... type...

Thanks for putting-up with me all. :)

M



--
 Wishlist: 
   Switch: 
 BCC?: 
   My: 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] loadClip vs loadMovie: swf's losing control... literally

2006-12-01 Thread Ray Chuan

Hi,
where are you putting those commands? If you put them in onLoadInit it
should work:

mcl.addListener({
 onLoadInit: function(target:MovieClip) {
   target.stop();
 }
});

On 12/2/06, Micky Hulse <[EMAIL PROTECTED]> wrote:

Hi,

Before I hit hay, I noticed loadClip() is causing my loaded swf to loose
control... I can't seem to tell the loaded clip(s) to do anything
(targMc.play(), targMc.stop(), targMc.goToFrame())... Is this normal
behavior, or am I doing things wrong (can post code later if need be)?

It sounds like I should be using loadMovie() if I want to target and
control the timeline of my loaded clips. From livedocs:

"This class [MovieClipLoader] lets you implement listener callbacks that
provide status information while SWF, JPEG, GIF, and PNG files are being
loaded into movie clips. To use MovieClipLoader features, use
MovieClipLoader.loadClip() instead of loadMovie() or
MovieClip.loadMovie() to load SWF files."

I really like the listener callbacks.

Anyway, just testing code... so not a big deal (other options are
available thanks to the kind peeps on this list), but for learning
purposes: am I correct in thinking that loadClip takes-away timeline
control of loaded swf's? Or, do I access the timeline in some other way
(i.e. something other than targMc.goToFrame(8);)?

Just curious if my sleep deprived thinking is on the right track... if
so, how do you handle similar situation?

Many thanks!
Cheers,
M



--
  Wishlist: 
Switch: 
  BCC?: 
My: 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] loadClip vs loadMovie: swf's losing control... literally

2006-12-01 Thread Micky Hulse

Hi,

Before I hit hay, I noticed loadClip() is causing my loaded swf to loose 
control... I can't seem to tell the loaded clip(s) to do anything 
(targMc.play(), targMc.stop(), targMc.goToFrame())... Is this normal 
behavior, or am I doing things wrong (can post code later if need be)?


It sounds like I should be using loadMovie() if I want to target and 
control the timeline of my loaded clips. From livedocs:


"This class [MovieClipLoader] lets you implement listener callbacks that 
provide status information while SWF, JPEG, GIF, and PNG files are being 
loaded into movie clips. To use MovieClipLoader features, use 
MovieClipLoader.loadClip() instead of loadMovie() or 
MovieClip.loadMovie() to load SWF files."


I really like the listener callbacks.

Anyway, just testing code... so not a big deal (other options are 
available thanks to the kind peeps on this list), but for learning 
purposes: am I correct in thinking that loadClip takes-away timeline 
control of loaded swf's? Or, do I access the timeline in some other way 
(i.e. something other than targMc.goToFrame(8);)?


Just curious if my sleep deprived thinking is on the right track... if 
so, how do you handle similar situation?


Many thanks!
Cheers,
M



--
 Wishlist: 
   Switch: 
 BCC?: 
   My: 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com