Re: [Flashcoders] Duplicate Bitmap and scale question

2009-03-04 Thread Hans Wichman
Hi, you create a clip based on mc's width, called img. then you scale image, so its width is half of what it used to be. Then you draw img into img2. Img2's size is based on half the height and width, but the draw method ignores those transformation, so it draws an unscaled version of img in

Re: [Flashcoders] try-catch-finally ...

2009-03-04 Thread Weyert de Boer
Sure. Reasonable good practice to catch exceptions. I normally use it for things like catch the exception and try it once again and if it fails for the second time. I will show an error message or try secondary option. Technically, it's good practice/professional to use try-catch-finally

Re: [Flashcoders] money question AJAX style apps or flash?

2009-03-04 Thread allandt bik-elliott (thefieldcomic.com)
as an aside, we had a really great presentation from the guys at eyeblaster about the value of flash rich media advertising for branding and direct response and the pitfalls of a reliance on clicks to sell the advertising. His case was that rich media as a branding exercise is more effective than

[Flashcoders] error problem in as3

2009-03-04 Thread Gustavo Duenas
hi I have this problem coders: I have a function name init( is a 3d carrousel menu for fp10) ok, this function is call from a button, the problem is when I want to get of rid of the menu(carrousel) using removechild() on the other buttons in my stage, I have this error: TypeError: Error

[Flashcoders] [AS3] Dynamic and Static text field font conflict work arounds

2009-03-04 Thread Joel Stransky
I've finally run into a situation where I really need the same font both embeded and used statically. I've been searching the web and there a lots of mentions of the bug but I've yet to find a great work around. Does anyone have a preferred or elegant fix they can recommend? -- --Joel Stransky

Re: [Flashcoders] [AS3] Dynamic and Static text field font conflict work arounds

2009-03-04 Thread Taka Kojima
what's the exact bug, because I just created two text fields, one with static text, the other dynamic. I embedded the font in the dynamic text field and it worked... On Wed, Mar 4, 2009 at 11:16 AM, Joel Stransky j...@stranskydesign.com wrote: I've finally run into a situation where I really

[Flashcoders] SoundSpectrum on audio track of a video?

2009-03-04 Thread Matt S.
Hey, do you guys know if its possible to use the AS3 Sound Spectrum functionality on the audio track of a video that's playing via a NetStream? thx, .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] [AS3] Dynamic and Static text field font conflict work arounds

2009-03-04 Thread Joel Stransky
Sorry I meant exported fonts that are in turn applied to a dynamic textField whose embedFonts property is set to true. On Wed, Mar 4, 2009 at 2:41 PM, Taka Kojima t...@gigafied.com wrote: what's the exact bug, because I just created two text fields, one with static text, the other dynamic. I

Re: [Flashcoders] [AS3] Dynamic and Static text field font conflict work arounds

2009-03-04 Thread Taka Kojima
ahh... I would use a tool like TypeTool to create a new version of the font, use one for static and one for embedding... However, why not just set your static textFields to dynamic... You can use the font in your library by setting the font to exportName* - Taka On Wed, Mar 4, 2009 at 12:02

Re: [Flashcoders] [AS3] Dynamic and Static text field font conflict work arounds

2009-03-04 Thread Joel Stransky
I considered the alternative font option too but new software is not in the projects budget. The font is not exported into the .swf that needs it. I'm using a fonts.swf as a global library. I don't want to create a textFormat for each static field so setting them to dynamic is not an option. What

Re: [Flashcoders] error problem in as3

2009-03-04 Thread Paul Andrews
Well, somewhere you're trying to access a non-existent object.. Possibly it's related to removing an object from the display list via removeChild() then trying to access other objects via it's parent (which no longer exists). With so little to go on it's hard to guess. Paul - Original

[Flashcoders] Re: mouseEnabled Loader issue

2009-03-04 Thread Fabio Pinatti
Hello again, wow, I don't make idea what, how or why, but that solved my problem: *mcB.loaderInfo.loader.mouseEnabled = false;* (I put that on my swf B, the top level swf). That permitted me disable Loader mouseChildren and access my level A. Any explanation why this happens, would be great...

[Flashcoders] mouseEnabled Loader issue

2009-03-04 Thread Fabio Pinatti
Hello flashcoders, I'm having some issues with some target things, in as3. I need to access a movieclip A under a movieclip B. Movieclip A is in a swf, and B in other above it. My first try was mouseEnabled. but it didn't work. The weird is, if I put a mouse click in the stage of movie that has

[Flashcoders] include directive ...

2009-03-04 Thread SJF
Looking for clarity on the include directive in a CS3 FLA file. Technically, does anyone know if pound-for-pound, having code on a movieclip's timeline is EXACTLY the same as having it's code in an external .as file and using the include directive? Here are more details: 1) The code being

Re: [Flashcoders] include directive ...

2009-03-04 Thread Paul Andrews
The include directive is just plain text inclusion from an external source. Once included it's as though it were inline. I think that if you are using the timeline and having lots of includes all over the place to replace all of the inline code, it would be a nightmare to work out what's