RE: [Flashcoders] full screen issue

2008-11-25 Thread Cor
It is not of my hand! I wish... Just sharing it. Cor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: maandag 24 november 2008 23:40 To: Flash Coders List Subject: Re: [Flashcoders] full screen issue Very cool, impressive. I didn't

[Flashcoders] Access Flash8 MovieClip instance from Flash9 app

2008-11-25 Thread Gert-Jan van der Wel
Hi everybody, We have a lot of content that's created in Flash 8 (separate SWF files). Each file is just an image with a color MovieClip (and instance name). Is it possible to load the F8 content in a F9 application and to access the color MovieClip? Hope someone can help. Gert-Jan

Re: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Anthony Pace
I have done that , put when I pass the function... newThumbNail(this.imageDataArray[this.imageDataArray.length-1]); it still does not display my image as a thumbnail... I have tested to see if it is receiving the image data, and it is; however, for some reason, I can't seem to put it on the

Re: [Flashcoders] full screen rectangle issue

2008-11-25 Thread carlos varner
That explains it. Thanks for your help. On Mon, Nov 24, 2008 at 11:40 AM, Muzak [EMAIL PROTECTED] wrote: It's a CS3 fla. And maybe the problem with your version is because you're using Flash 8, which isn't capable of producing a proper fp9 swf ? (guessing tho) regards, Muzak -

[Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread Mike Grunwald
I've been searching for the best way to handle fonts when localizing Flash applications. Ideally I'm looking for a way that I can create SWFs that have specific character ranges of specific fonts embedded in them that I can load in to my applications as needed based on the language that

Re: [Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread Glen Pike
Hi, You can use the [Embed] Directive in a few places in Flex. Inside your MXML code - create a new project - then you can add normal actionscript by inserting mx:Script tags - start typing Scr... and Flex Builder will try to auto-complete. Between your Script tags is ActionScript

Re: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Anthony Pace
I can trace out, and attach the child to the subclass and have it display the unformatted bmp, so not only does my function work when passing the data, I have a starting point to test from. What I am now wondering, is if it acts as a pointer to the original target, or of it duplicates the

Re: [Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread ekameleon
hello :) in my opensource framework you can use the FontLoader class to load an external swf with fonts inside : http://www.ekameleon.net/vegas/docs/asgard/text/FontLoader.html This code work in AS3 in Flex or Flash, etc. To install VEGAs and this extensions you can use the AS3 SVN repository :

RE: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Steven . Penza
I think you need to draw the loaded bitmap data in a new BitmapData instance. Something like this: var bitmap:Bitmap = _loader.content; var bitmapData:BitmapData = new BitmapData( bitmap.width, bitmap.height, true, 0x ); var sprite:Sprite = new Sprite(); bitmapData.draw( bitmap.bitmapData

Re: [Flashcoders] Access Flash8 MovieClip instance from Flash9 app

2008-11-25 Thread Paul Andrews
- Original Message - From: Gert-Jan van der Wel [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 25, 2008 2:27 PM Subject: [Flashcoders] Access Flash8 MovieClip instance from Flash9 app Hi everybody, We have a lot of content that's

Re: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Anthony Pace
I finally figured out what it was... I had instantiated a variable of the same name and referenced that as a child private var thumbsContainer:Sprite=new Sprite(); and in the constructor I also had var thumbsContainer:Sprite = new Sprite(); this.addChild(thumbsContainer); My gosh I am

Re: [Flashcoders] AS statement this[testStudent + i] in JAVA ?

2008-11-25 Thread tim shaya
Awesome. Thanks guys. The HashTable class ended up being especially useful. Stupid me thought there was eval() functionality in a Compiled language... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread Glen Pike
Hi, I re-read your email again and noticed you want runtime font rather than embedded in your final application... The Troyworks article talks about embedding fonts into a separate SWF, then loading these into your main SWF at runtime... I guess you are using Flex to create pure

Re: SPAM-LOW: Re: [Flashcoders] Flash/Flex Font Embedding

2008-11-25 Thread Mike Grunwald
Thanks Glen for pointing me in the right direction. I use Flex builder simply as an editor for actionscript, but still compile everything in through the Flash IDE. I like it because of all the code hinting, refactoring, navigator view, etc.. Everything that a good editor should have and

Re: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Anthony Pace
Are there restrictions on how far you can traverse downwards to add children from your class?... it seams I can't go beyond a specific point I experience very weird display related errors. Thanks, Anthony Anthony Pace wrote: OMG... I am having the problem again... this time I checked the

Re: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Anthony Pace
OMG... its working again. Is something up with my version of the player? Is the debugger whacked? It is doing exactly what I asked it to; yet, it only took my 12 times recompiling to get it to work... is it the flex SDK? I didn't change one bit of code; yet, it works all of a sudden.

Re: [Flashcoders] as3 image loading and reusing amongst classes. And listening to events fired by children.

2008-11-25 Thread Anthony Pace
And just in case someone asks... Yes everything is loading in well as I can trace to see all the objects and their properties as they are loaded. well, now I have to figure out how to call a parent function without having to traverse or go global. JOY Thanks, Anthony Anthony Pace wrote:

[Flashcoders] What is the best way to scale a bitmap specifically to reduce file size...

2008-11-25 Thread Anthony Pace
I can do it by reducing the size of the container object; yet, the bitmap remains the same file sized and can be scaled well. Is there a way to guarantee the memory usage drops? or at least a better way then mine? ___ Flashcoders mailing list

Re: [Flashcoders] What is the best way to scale a bitmap specifically to reduce file size...

2008-11-25 Thread Glen Pike
Hi, The only way to reduce the memory size of a bitmap is to resize it and reduce the number of pixels. If you are loading images from the server, you might want to think about generating smaller images server side - you may only have to do this once when the image is uploaded, so

Re: [Flashcoders] What is the best way to scale a bitmap specifically to reduce file size...

2008-11-25 Thread Anthony Pace
Examples? Glen Pike wrote: Hi, The only way to reduce the memory size of a bitmap is to resize it and reduce the number of pixels. If you are loading images from the server, you might want to think about generating smaller images server side - you may only have to do this once

Re: [Flashcoders] What is the best way to scale a bitmap specifically to reduce file size...

2008-11-25 Thread Glen Pike
|Hi, Something like this: import flash.display.Bitmap; import flash.display.BitmapData; //original image in here container.width /= 10; ||container.height /= 10;| //maybe invalidate if it does not redraw?? | var a:BitmapData = new BitmapData(container.width, container.height); var

Re: [Flashcoders] What is the best way to scale a bitmap specifically to reduce file size...

2008-11-25 Thread Anthony Pace
Now when I scale the image it won't display... OMG. this is nuts. I thought I had it all figured out, and then wham... it won't work. Glen Pike wrote: |Hi, Something like this: import flash.display.Bitmap; import flash.display.BitmapData; //original image in here container.width /= 10;

[Flashcoders] stylesheet default without span or body

2008-11-25 Thread Latcho
Is there a way to apply a default style to a textfield via css without having to refer to a body or span tag ? I now use this additive trick to apply a style to txt content without further html or body tags: tf.styleSheet = Stylesheets.css_center_11pt; tf.htmlText = 'body'+txt+'/body'; How

Re: [Flashcoders] What is the best way to scale a bitmap specifically to reduce file size...

2008-11-25 Thread Latcho
file size is something else then memory size. If you want a smaller swf size, you have to make the source image smaller within the fla or before embedding it via code. So be more specific. But I think you are after this: import flash.geom.*; import flash.display.BitmapData; import