[Flashcoders] Graphical resources in a v2 component - not visible

2008-01-07 Thread Alexander Farber
Hello, I'm programming a small card game, where most of the objects are packed as custom v2 components: playing cards, playing table, user avatars. And I have a very frustrating issue with the graphical resources. For example the Card component has a folder in its library, holding the card

Re: [Flashcoders] Graphical resources in a v2 component - not visible

2008-01-07 Thread Muzak
To include assets when compiling a component to swc, you have to make sure the assets are on the stage (inside the movieclip that is linked to the class). I'm sure this is in the docs somewhere.. Here it is.. read the Editing the movie clip part:

Re: [Flashcoders] Graphical resources in a v2 component - not visible

2008-01-07 Thread Alexander Farber
Hello Muzak, On Jan 7, 2008 10:13 AM, Muzak [EMAIL PROTECTED] wrote: Here it is.. read the Editing the movie clip part: http://livedocs.adobe.com/flash/9.0/main/2489.html actually I do that already (sorry, should have mentioned it originally): I have an Assets layer and my graphical

RE: [Flashcoders] How do you tell if an Object is dynamic?

2008-01-07 Thread Sunil Jolly
Have you got an example Jamie? Sunil -Original Message- From: Jamie S [mailto:[EMAIL PROTECTED] Sent: 05 January 2008 01:51 To: Flash Coders List Subject: [Flashcoders] How do you tell if an Object is dynamic? I ran into a particular situation where i had a function that took an Object

[Flashcoders] Extending Flash IDE, from 8 to 9

2008-01-07 Thread Dennis - I Sioux
Hey, I was trying some of my flash IDE panels i made for Flash 8 in Flash 9. Everything seems to work alright, with one exception.. The JSFL functions of flash seem to be run twice. For example fl.getDocumentDOM().open(); will open the windows file select popup.. after selecting the file.. the

Re: [Flashcoders] Graphical resources in a v2 component - not visible

2008-01-07 Thread Muzak
Flash 8 or 9 IDE? Haven't done much with Flash 9 really. With the Flash 8 IDE this should just work.. Do you have a sample fla (with just the component) we can have a look at? regards, Muzak - Original Message - From: Alexander Farber [EMAIL PROTECTED] To: Flash Coders List

Re: [Flashcoders] ScrollPane object questions

2008-01-07 Thread Andrew Sinning
invalidate()! That's the ticket I needed. Thanks Christopher! Here is an example, it shows how to set the contentPath as a movieClip. http://www.kirupa.com/developer/flash8/scrollpane_dynamic_mc.htm ___ Flashcoders mailing list

Re: [Flashcoders] Graphical resources in a v2 component - not visible

2008-01-07 Thread Alexander Farber
Hello Muzak, On Jan 7, 2008 3:56 PM, Muzak [EMAIL PROTECTED] wrote: Do you have a sample fla (with just the component) we can have a look at? thank you! It is Flash 9. Sorry, don't have a simple sample case yet. I have now reverted back to a backup copy of my movie which works and reinserted

Re: [Flashcoders] How do you tell if an Object is dynamic?

2008-01-07 Thread Jamie S
I realized the moment i encountered the problem that dynamically adding a property to an argument was bad form so I went another direction with it (thanks to all who suggested creating a subclass), but I asked the question because I thought it was an interesting problem. The original function was

Re: [Flashcoders] Graphical resources in a v2 component - not visible

2008-01-07 Thread Muzak
Ah, in that case, the assets are compiled into the swc. The problem is that at the time you're attaching one of the assets, they're not yet available. You'd need to have an instance of the component on stage somewhere, and that frame needs to be (pre)loaded. What they describe (poorly) in the

[Flashcoders] Is Key Object Changed With New Plugin Update?

2008-01-07 Thread elia . lists
This code has worked fine for some years now, but all of a sudden broken. // track CTRL+5 if (Key.isDown(Key.CONTROL) Key.getCode() == 53) {trace(yes);} I guess it has to do with a change in the player plugin? BTW this is AS2 Elia ___ Flashcoders

[Flashcoders] Zinc port hell

2008-01-07 Thread August Gresens
Hello Sorry for the dramatic title. I've got a finished game that was developed in AS3 for the standalone Flash 9 Player. The publisher now wants to migrate the game to run under to a C++ wrapper product to get rid of the right mouse contextual menu on Windows. Since the only commercial product

[Flashcoders] coder/flash-artist collaborations

2008-01-07 Thread Andrew Sinning
I'm looking for both general and specific direction on this problem. In general, are there any good resources out there illustrating case studies on how to structure collaborations between coders and flash artists and flash animators? In specific, I've built an application that is entirely

RE: [Flashcoders] Zinc port hell

2008-01-07 Thread Merrill, Jason
This will probably only piss you off green (with envy), but at Max in Chicago this year, Scott Peterson show a C++ port to AS3 using the Quake game sourcecode. So Quake running in a .swf. It was pretty freaking amazing. http://www.youtube.com/watch?v=6TKGNS1N1yo Also see this blog post:

Re: [Flashcoders] Is Key Object Changed With New Plugin Update?

2008-01-07 Thread Dave Mennenoh
Works fine here. How / where is it not working for you? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Zinc port hell

2008-01-07 Thread ben gomez farrell
I've found that Zinc has been pretty stable for what I've used it for in Flash 8 so far (unfortunately the product had some blue screen of death effect that I'm not sure if we can chalk that up to DirectX in Zinc or the DRM system we used). Anyway, using Zinc wasn't hell for me. LEARNING to

Re: [Flashcoders] coder/flash-artist collaborations

2008-01-07 Thread Glen Pike
Hi, I read this article recently - which is about Flex - but it has some useful general points. http://www.adobe.com/devnet/flex/articles/workflows.html Another maybe useful article: http://www.adobe.com/devnet/flash/articles/flex2_flash.html I don't think there is a

[Flashcoders] Preloading images

2008-01-07 Thread Matt S.
What have you guys found is the best way to load images in the bg, for example with an image gallery, where once image 1 loads, the rest start loading up in the bg? I've been using an MCL, which loads in the background and then immediately deletes onComplete and starts the next one, but I'm

Re: [Flashcoders] Preloading images

2008-01-07 Thread Dave Wood
Hi Another approach (if the number and size of the images isn't too great) is to grab the bitmapdata from each one once it's loaded and store that in an array. David What have you guys found is the best way to load images in the bg, for example with an image gallery, where once image 1