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

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

2008-10-06 Thread strk
I've found a few movies out there using attachMovie() with symbol names which are NOT exported in the SWF movie containing the call. Are the SWF bogus (containing useless actionscript) or is there another interpretation of attachMovie() first argument ? --strk; () ASCII Ribbon Campaign /\

[Flashcoders] attachMovie(LibrarySymbol). Right way to access custom clip variables and functions.

2008-03-11 Thread Pasha
Hey! Consider this. There is a symbol in the library - Ball. It has a variable declared in the first frame - size. I want to instantiate the symbol and then read the variable value. Trying to access the variable synchronously, right after the the symbol has been instantiated, does not work:

[Flashcoders] AttachMovie?!!?

2007-12-20 Thread Pedro Kostelec
Hello. I am sorry of posting this easy question here(i should post it to the newbies list but i think there is a problem with it) and i am sorry if this is a double post. Nobody replyed and i don't know if you actually received the mail or not. And i really need the answer as soon as possible. :

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

[Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Niclas Åberg
Hey guys, I'm loading an external .swf into a main .swf. From the loaded file I can access variables from the main file, create a movie clip in the main file, and use BitmapData to draw shapes to the main file. However, I can't seem to attach a movie clip (a custom component, in fact) from

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

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

2007-06-25 Thread Chris Bell
2nd try: Forgive if this is a repeat post. I didn't see my first request make it to the list: Hi Flash Friends, attachMovie works on a clip that is inside a clip that has been loaded by attachMovie but fails on a clip that is inside a clip loaded with loadMovie. This should be so

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)

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

2007-06-21 Thread Chris Bell
Hi Flash Friends, attachMovie works on a clip that is inside a clip that has been loaded by attachMovie but fails on a clip that is inside a clip loaded with loadMovie. This should be so easy, but it is simply not working. I'd appreciate any tips pointing me to the part that I don't

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

[Flashcoders] attachMovie vs createClassObject

2007-03-20 Thread Andy Herrman
I'm wondering if there are any significant differences between using `attachMovie()` and `createClassObject()` for creating components (I'm targeting for Flash 7). I just ran into a weird issue creating a ComboBox where I was using `createClassObject()` to instantiate it, but saw that elsewhere

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

[Flashcoders] attachMovie fails with runtime shared asset

2007-01-05 Thread Mendelsohn, Michael
Hi list... I'm trying to do _root.attachMovie(runtimeShared,runtimeShared,1); where runtimeShared is an asset from another swf that's exported for runtime sharing and dropped into this movie's library as import for runtime sharing. I have found that the attachMovie method *only* works if I

[Flashcoders] attachMovie with MovieClipLoader loaded symbols

2006-07-21 Thread Matthias Dittgen
Hello flashcoders, I load a childSwf into my mainSwf using a MovieClipLoader. -- THIS WORKS In my childSWF I do export for actionscript and export to first frame for a movieclipSymbol. After onLoadComplete, I can attach this movieclipSymbol of the childSwf to the loaded childSWF or a child of

[Flashcoders] attachMovie _alpha

2006-04-26 Thread Serge Jespers
Dear god... Am I losing it or what? I create an empty movieclip (let's call this holder_mc) in the stage and set it's alpha to 0. To that holder_mc, I attach multiple other mc's... Now, I would think these wouldn't be visible but they are... If I trace the holder_mc._alpha it does return 0

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 ___

[Flashcoders] attachMovie(graphic_on_stage_created_by_user)??

2006-03-26 Thread Monicque Sharman
I have an area on the stage that the user can draw on The user can make a nice pic, that I need to print out. However, the client wants other stuff on the print out like headings, etc. Using PrintJob.addPage(0, {xMin:20,xMax:400, yMin:20, yMax300}) works well, but it only prints the area

[Flashcoders] attachMovie to a loaded swf

2006-03-07 Thread Marlon Harrison
I have a parent swf that loads in a series of children swfs and acts as a browser for them. Within the children swfs - there are a number of hotspot movieclips that trigger other events. I'd like to centralize the appearance of those 'hotspot' movieclips to the parent swf so that if i need to

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]

[Flashcoders] attachMovie[imgID] - attachMovie(imgID, newName, myDepth)

2006-02-02 Thread Latcho
Adont you just miss the *newname *and *depth *param ? var myDepth=0 ... . myDepth+=1 this[rfcClip].container.attachMovie(imgID,newName,myDepth) Adrian Lynch wrote: Try: this[rfcClip].container.attachMovie(imgID); Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

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

[Flashcoders] attachMovie synchronization

2005-10-26 Thread Dhiraj Girdhar
Hello, I have a movie clip symbol, say 'X'. X has a movie clip placed inside, say 'Y'. There is code on Y i.e. onClipEvent(load) { _root.func1(); } Now when I attach X using attachMovie i.e. having following code: attachMovie(X, Instance1,1); _root.func2(); func2

[Flashcoders] attachMovie synchronization

2005-10-26 Thread Dhiraj Girdhar
Hello, I have a movie clip symbol, say 'X'. X has a movie clip placed inside, say 'Y'. There is code on Y i.e. onClipEvent(load) { _root.func1(); } Now when I attach X using attachMovie i.e. having following code: attachMovie(X, Instance1,1); _root.func2(); func2 gets called before

RE: [Flashcoders] attachMovie synchronization

2005-10-26 Thread Laurent Oberlé
d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Dhiraj Girdhar Envoyé : mercredi 26 octobre 2005 08:14 À : Flashcoders mailing list Objet : [Flashcoders] attachMovie synchronization Hello, I have a movie clip symbol, say 'X'. X has a movie clip placed inside, say 'Y

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