Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-25 Thread strk
On Fri, Oct 24, 2008 at 03:17:32PM +0200, Matthias Dittgen wrote: Have your received my email with the Test SWF? Yes, thanks. Haven't looked at it yet but I plan to do next week. What's an RSL ? Remote Shared Library. Mat, you're being *very* helpful ! I drafted a page on our wiki for use

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-25 Thread strk
On Thu, Oct 23, 2008 at 01:45:01PM +0200, Matthias Dittgen wrote: @strk: I should try var func:String = register; Object[func](args); instead of Object.registerClass(args); to see, if an all code based attempt is working without having the compiler do EXPORT tags. Yes please :) I

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-24 Thread Matthias Dittgen
Have your received my email with the Test SWF? What's an RSL ? Remote Shared Library. Imagine Main.swf loading Sub.swf. Sub.swf consists of Library Symbol exported for AS and for runtime sharing! Then in Main.swf Symbols from Sub.swf can be attached as if they were directly in Main.swf.

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread Matthias Dittgen
Talking about SWF8: which btw. means Actionscript 2.0 (AS2) Thank you for the pointer, but reading that article doesn't help me much. For example, I don't understand if the resulting SWF from that syntax is expected to contain EXPORT tags or not. if you mean EXPORT tags in the swf bytecode, I

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread strk
On Thu, Oct 23, 2008 at 10:01:37AM +0200, Matthias Dittgen wrote: if you mean EXPORT tags in the swf bytecode, I am not aware of the tags that are written by the compiler when using the code explained by Peter Joel, but I could imagine, that when using MTASC for compiling only DOACTION tags

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread Peter Hall
The code on my old blog works for content published with Flash authoring. However, it works because Flash inserts the export tags in the swf automatically. If you have a swf that has a working attachMovie, but no export tags, then it must be attaching the symbol from another swf. An RSL perhaps?

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread Matthias Dittgen
@strk: I should try var func:String = register; Object[func](args); instead of Object.registerClass(args); to see, if an all code based attempt is working without having the compiler do EXPORT tags. I have attached a test situation build in current FlashDevelop on WinXP as AS2 project. Let us

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-23 Thread strk
On Thu, Oct 23, 2008 at 10:38:52AM +0100, Peter Hall wrote: The code on my old blog works for content published with Flash authoring. However, it works because Flash inserts the export tags in the swf automatically. If you have a swf that has a working attachMovie, but no export tags, then it

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-20 Thread strk
On Tue, Oct 14, 2008 at 09:45:56AM +0200, Matthias Dittgen wrote: You're talking about AS2? Talking about SWF8: http://dailymotion.alice.it/flash/dmplayer/dmplayer.swf See here for the answer: http://www.peterjoel.com/blog/?archive=2004_01_01_archive.xml Thank you for the pointer, but

Re: [Flashcoders] attachMovie() with non-library-symbols

2008-10-14 Thread Matthias Dittgen
You're talking about AS2? See here for the answer: http://www.peterjoel.com/blog/?archive=2004_01_01_archive.xml This way you can attach classes that don't have a library symbol but extend MovieClip. These classes can for example have visual content using the drawing API. Have fun! Matthias

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Hans Wichman
Hi, I wouldn't use scenes, I think it's even in adobe's best practice document. Attachmovie is used for attaching movies from the library, loadMovie is used for loading movies from an external source, which one are you trying to do? As far as tutorials go, I'd recommend doing the flash tutorials

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Matt S.
On Dec 20, 2007 6:06 AM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, I wouldn't use scenes, I think it's even in adobe's best practice document. Which really makes you wonder why they still even include the Scenes option. It seems like Scenes have been widely accepted as taboo for 5 years now if

RE: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Merrill, Jason
Which really makes you wonder why they still even include the Scenes option. It seems like Scenes have been widely accepted as taboo for 5 years now if not more, and if your own best practices document says to avoid them, maybe its time to phase them out. I've heard flash cartoon animators

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Andrew Sinning
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Pedro Kostelec
I allways knew that scenes wheren't the best choice, but the animation lasts about 10 minutes, which would be really complicated to do in anly one scene. Yes, hans it is really loadMovie the one that i should use. I don't know where did i mix this with attachMovie. It worked, but it is not really

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Helmut Granda
could you elaborate on what kind of synchronization you are trying to achieve? On 12/20/07, Pedro Kostelec [EMAIL PROTECTED] wrote: I allways knew that scenes wheren't the best choice, but the animation lasts about 10 minutes, which would be really complicated to do in anly one scene. Yes,

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Glen Pike
Hi, You may have problems forcing one timeline without a sound on to sync with another. Here is a suggested workaround for the separate scenes problem: Save multiple copies of your original animation - one copy for each scene. Open up the first animation and delete all scenes

Re: [Flashcoders] AttachMovie?!!?

2007-12-20 Thread Pedro Kostelec
It worked. Because the sound was played a bit before the movie started i moved it for two frames and now it works. I must make the same but doing it on the pc whit which the presentations will be displayed and i hope that it will work. Thank you guys for your help and your time for such an easy

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Niclas Åberg
Thanks for your reply. I solved it by putting my component in yet another .swf file, which loads fine into the holder clip's _root. Thanks, Niclas Hans Wichman wrote: Hi, not possible, sorry :) Shared libraries might help or creating an empty clip in the loaded swf itself and attaching

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Hans Wichman
Hi, not possible, sorry :) Shared libraries might help or creating an empty clip in the loaded swf itself and attaching your stuff there. greetz JC On 7/13/07, Niclas Åberg [EMAIL PROTECTED] wrote: Hey guys, I'm loading an external .swf into a main .swf. From the loaded file I can access

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Muzak
http://www.google.com/search?hl=enq=attachmovie+from+loaded+swf - Original Message - From: Niclas Åberg [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, July 13, 2007 12:49 PM Subject: [Flashcoders] attachMovie from loaded .swf Hey guys, I'm loading an external

Re: [Flashcoders] attachMovie fails on embedded clip in a movie, why?

2007-06-25 Thread Ian Thomas
Hi Chris, Is there some limitation to attachMovie that I'm missing? Any guesses, suggestions, ideas? Yes. In AS2, you can't attach a symbol from one .SWF's library into another movie's timeline. So if a parent loads a child, none of the clips in the child's library can be attached to the

Re: [Flashcoders] attachMovie fails on embedded clip in a movie, why?

2007-06-25 Thread Fumio Nonaka
One sidenote: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15638sliceId=2 Instances of imported symbols must be manually placed on the Timeline during authoring. _ Ian Thomas wrote: The only exception is when using shared libraries. Good luck, -- Fumio Nonaka

Re: [Flashcoders] attachMovie fails on embedded clip in a movie, why?

2007-06-22 Thread Matthias Dittgen
Hi Chris, I can't follow your code snippets too well, but I try to guess your mistake: You can only attach MovieClips/Symbols with attachMovie, that are available (exported for AS) within the container SWF. Example: MovieClip A.swf contains a MovieClip Symbol S in the library (exported for AS)

Re: [Flashcoders] attachMovie from library - fails to work with preloader

2007-06-19 Thread Alexander Farber
Hello John and others, On 6/16/07, John VanHorn [EMAIL PROTECTED] wrote: you must force those movieclips to load before you use have access to them. what i usually do is to set the export frame for classes to 2, and then go through the library and uncheck 'export in first frame' for all

Re: [Flashcoders] attachMovie from library - fails to work with preloader

2007-06-16 Thread John VanHorn
you must force those movieclips to load before you use have access to them. what i usually do is to set the export frame for classes to 2, and then go through the library and uncheck 'export in first frame' for all exported Mc's. then, on frame 2, make a single key frame and place an instance of

Re: [Flashcoders] attachMovie fails with runtime shared asset

2007-01-06 Thread Ray Chuan
Hi, from what I've experienced before, the assets are only available to the child clips. Eg. _root |- some_clip |- asset_mc |- child If you load assets into asset_mc, some_clip cannot access it, ie, _root.some_clip.attachMovie(asset...) won't work, neither will _root.attachMovie(...).

Re: [Flashcoders] attachMovie fails with runtime shared asset

2007-01-06 Thread Arindam Dhar
Hi, There is a workaround for this, where u dont have to drop an instance of runtimeShared on the stage first.I assume runtimeShared is the identifier of the shared asset which u import from another swf for runtime sharing. 1. Create a new blank symbol in the library, where u have the

Re: [Flashcoders] attachMovie _alpha

2006-04-26 Thread Cedric Muller
Hello Serge! what if you trace the nested mcs ? are they really nested when being attached ? hth, cedric Am I losin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] attachMovie _alpha

2006-04-26 Thread Serge Jespers
Hey Cedric, Turns out I am really losing it... Forgot to embed the font... Man, do I feel stupid... again... Serge Hello Serge! what if you trace the nested mcs ? are they really nested when being attached ? hth, cedric Am I losin ___

Re: [Flashcoders] attachMovie to a loaded swf

2006-03-07 Thread lars
if i get it right this sounds more like a initialization or depth problem. attachMovieClip should work. have you tried createEmptyMovieClip with a getNextHighestDepth and load those icons into those? hth: lars Am 07.03.2006 22:37 Uhr schrieb Marlon Harrison unter [EMAIL PROTECTED]: I have a

Re: [Flashcoders] attachMovie to a loaded swf

2006-03-07 Thread Marlon Harrison
thanks I don't think attachMovieClip will work in this instance from what I've been reading. Perhaps I can clarify a bit more. I have a container swf that loads in a series of children swfs. All of my code is in the container swf, as are the icon movieclips. I want to use attachMovie to put

Re: [Flashcoders] attachMovie to a loaded swf

2006-03-07 Thread Adrian Park
I have always understood that you cannot attach an asset from the library of one swf into another loaded swf. I've never succeeded in doing it and haven't seen a workaround. Sorry I can't be more helpful. Please can someone prove me wrong! Adrian P On 3/7/06, Marlon Harrison [EMAIL PROTECTED]

Re: [Flashcoders] .attachMovie issue

2006-01-29 Thread Michael Bedar
He's typecasting, so no new operator is needed. As for the original question, your getNextHighestDepth is on the wrong MC for starters.. this.PointContainer.getNextHighestDepth() -not - this.getNextHighestDepth() On Jan 29, 2006, at 8:55 PM, Nathan Derksen wrote: If Record is a class

RE: [Flashcoders] attachMovie synchronization

2005-10-26 Thread Laurent Oberlé
Hi, You can attach en init object to your clip X like this : init_obj = new Object(); init_obj.onEnterFrame = function() { _root.func2 (); delete(this.onEnterFrame); } attachMovie(X, Instance1,1, init_obj); like this func1 is called before func2. Laurent -Message

RE: [Flashcoders] attachMovie synchronization

2005-10-26 Thread Dhiraj Girdhar
:[EMAIL PROTECTED] On Behalf Of Laurent Oberlé Sent: Wednesday, October 26, 2005 3:01 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] attachMovie synchronization Hi, You can attach en init object to your clip X like this : init_obj = new Object(); init_obj.onEnterFrame = function

Re: [Flashcoders] AttachMovie - where is x=0,y=0?

2005-10-19 Thread Alain Rousseau
the initial 0,0 point for any clip, stage, button, etc .. is at the top left corner. It's allways best to position your instances that way as well, for it will be easier later on to manipulate it's positioning. Alain eric dolecki wrote: initial attach is at 0,0 of the stage. perhaps you