Re: [Flashcoders] urgent TweenMax easing question

2008-08-14 Thread allandt bik-elliott (thefieldcomic.com)
thanks for the advice guys On Wed, Aug 13, 2008 at 9:38 PM, Steven Sacks [EMAIL PROTECTED]wrote: Select your transparent PNG and press CTRL+B (Break Apart). Then, use the lasso tool and the eraser tool to erase the transparent pixels as best you can. This will increase your performance a

[Flashcoders] Using BitmapData to make a mask (AS3)

2008-08-14 Thread jonathan howe
Hallo, I'm loading transparent pngs in as Bitmaps and placing them within a display object. I'd like to create a mask that is the same shape as the non-transparent pixels, (so that I can overlay a gleam animation). Is there an easy way to use a Bitmap or BitmapData as a mask that respects the

Re: [Flashcoders] Using BitmapData to make a mask (AS3)

2008-08-14 Thread Ashim D'Silva
You should be able to copyChannel the BitmapDataChannel.ALPHA from the image you loaded onto the bitmap you use for the gleam. However animating this then means moving only a single channel. Which may or may not be possible without reprocessing the bitmapData. It's only a rough idea, but take a

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
Hi Jason thanks for your help! Ive added what you said but the event listeners do not seam to to be hearing the dispatched event. main_site is the document class for main_site.fla, and is loaded into 'gallery.swf' using this code... // CODE from within FUNCTION var swfLoader:Loader = new

[Flashcoders] Which compile settings does Export Release Build use?

2008-08-14 Thread Abe Pazos
Hi, anyone knows which compile settings does Flex Builder use when using Export Release Build? I get a file size 100 Kb smaller than with FlashDevelop. (down from 637 Kb to 533 Kb) I tried looking at the FB console, and googled but found nothing. Side question: any good/bad experiences putting

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread Kenneth Kawamoto
You should be able to do access the parent by using, parent. Kenneth Kawamoto http://www.materiaprima.co.uk/ SJM - Flash wrote: Hi guys, im having some trouble accessing a function from another class and I would like to know how its done. In my project i have 2 FLAs 'gallery.fla' and

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
doing it this way creates a load of problems! Thanks for your help! SJM - Original Message - From: H To: Flash Coders List Sent: Thursday, August 14, 2008 12:19 AM Subject: Re: [Flashcoders] AS3 accessing functions from other classes Call to a possibly undefined method

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
Again another solution i tried but this too does not work! Thanks SJM - Original Message - From: Kenneth Kawamoto To: Flash Coders List Sent: Thursday, August 14, 2008 1:36 PM Subject: Re: [Flashcoders] AS3 accessing functions from other classes You should be able to do

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread Kenneth Kawamoto
What do you get if you do trace(parent);? Kenneth Kawamoto http://www.materiaprima.co.uk/ SJM - Flash wrote: Again another solution i tried but this too does not work! Thanks SJM - Original Message - *From:* Kenneth Kawamoto mailto:[EMAIL PROTECTED] *To:* Flash Coders

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread Matt S.
you could also try: var myMC:MovieClip = new MovieClip(); myMC = ev.target.content; myMC.name = myMC; myMC.x= 0; myMC.y= 0; this.addChild(myMC); .m On Thu, Aug 14, 2008 at 8:11 AM, SJM - Flash [EMAIL PROTECTED] wrote: Hi Jason thanks for your help! Ive added what you said but the event

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
Kenneth i get... [object Loader] when tracing parent SJM - Original Message - From: Kenneth Kawamoto To: Flash Coders List Sent: Thursday, August 14, 2008 2:11 PM Subject: Re: [Flashcoders] AS3 accessing functions from other classes What do you get if you do

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread Kenneth Kawamoto
No, I mean when you trace it from the button. Kenneth Kawamoto http://www.materiaprima.co.uk/ SJM - Flash wrote: Kenneth i get... [object Loader] when tracing parent SJM - Original Message - *From:* Kenneth Kawamoto mailto:[EMAIL PROTECTED] *To:* Flash Coders List

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread H
Sorry man I didn't read the original post :S ... main_site is loaded into gallery, and main_site has some buttons that when you press them, they should trigger handlers in gallery. I think it goes like this - add this code to your loader complete function in gallery: //where target is Loader

Re: [Flashcoders] Using BitmapData to make a mask (AS3)

2008-08-14 Thread Zeh Fernando
Put the bitmap on a display container, set the .mask of the masked object as being that object that contains the bitmap, set cacheAsBitmap of both to true. So it'll be a normal masked object, but it'll respect the bitmap transparency (instead of using the image's box as the transparency mask).

[Flashcoders] Binary Data Question

2008-08-14 Thread Omar Fouad
Hello all, I was wondering if I can get the binary data from a bitmap data, and send it to database (blob) or/and getting the binary data from the database and in flash reform it to display the bitmap back. I've been reading about the ByteArray Class but I am still confused whether to use it or

Re: [Flashcoders] Binary Data Question

2008-08-14 Thread Juan Pablo Califano
You can use the getPixels() method of the BitmapData class to get the raw pixel data as a ByteArray. Using setPixels() you can fill a BitmapData object with data from a ByteArray. You can post / retrieve that data from a server using a URLRequest object, specifying that you want to use a binary

Re: SPAM-LOW: [Flashcoders] flash lite on widows mobile

2008-08-14 Thread Phil Bailey
Percy -- It's been a few days since your post, but I just noticed your message. Our company wanted to develop a Flash Lite application, but we came up against a huge roadblock. In Flash Lite, there is no way to disable the tap-and-hold context menu. This means that a user can tap and hold on

Re: [Flashcoders] Re: Running Projector from a DVD -What about Zinc 2.5

2008-08-14 Thread Phil Bailey
Before investing in Zinc, you must check out Janus (www.janus-flash.com). It's more powerful, much more stable, and costs less! You can download a fully functional evaluation copy from the website. Best Regards, PJB. - Original Message - From: Alfred Hess [EMAIL PROTECTED] To:

Re: [Flashcoders] Does anyone want to sell Zinc 2.5?

2008-08-14 Thread Phil Bailey
Before investing in Zinc, you must check out Janus (www.janus-flash.com). It's more powerful, much more stable, and costs less! You can download a fully functional evaluation copy from the website. Please give it a try and let the list know what you think of it. Best Regards, PJB -

Re: [Flashcoders] Using BitmapData to make a mask (AS3)

2008-08-14 Thread Glen Pike
Hi, There are a few examples on the www about sending Bitmap data to the server Mario's is a good starting point - http://www.quasimondo.com/archives/000572.php Anyway, there are other examples about which do compression/decompression on your data so you could save it into your DB

[Flashcoders] AS3 - Applying a skin to loaded FLV

2008-08-14 Thread SJM - Flash
Hi guys, ive written some code to load FLVs into flash and then play them. The problem is that the skin does not seam to be working! Here is teh code to load teh FLV private function loadFLV (filename:String):void { connect = new NetConnection(); // builds new net connextion flash

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
Think ive fixed my problems with this now! Many thjanks for your help! SJM - Original Message - From: H To: Flash Coders List Sent: Thursday, August 14, 2008 2:30 PM Subject: Re: [Flashcoders] AS3 accessing functions from other classes Sorry man I didn't read the

[Flashcoders] red dots along png overlaying a video ( Topic Summary: when I access the swf directly it displays fine. WHen I pull it into my AS3 class it has this stange behavior)

2008-08-14 Thread Michael Boski
http://www.boski.com/facebook/superVideo/superVideomain2.html?3 click on the preview button to view the video. (I get strange reddots.) if I access it here http://www.boski.com/facebook/superVideo/video/swfs/Anchorman.swf (no dots.) does anyone have any ideas what this could be? Thanks, Mike

Re: [Flashcoders] AS3 - Applying a skin to loaded FLV

2008-08-14 Thread Glen Pike
You can only apply a skin to the FLVPlayback component... Please start a new thread for a new subject - don't just hit reply to an email as it messes up the list threading... Thanks Glen SJM - Flash wrote: Hi guys, ive written some code to load FLVs into flash and then play them. The

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread Matt S.
And what was the fix? :) On Thu, Aug 14, 2008 at 1:39 PM, SJM - Flash [EMAIL PROTECTED] wrote: Think ive fixed my problems with this now! Many thjanks for your help! SJM - Original Message - From: H To: Flash Coders List Sent: Thursday, August 14, 2008 2:30 PM Subject: Re:

Re: [Flashcoders] Binary Data Question

2008-08-14 Thread Omar Fouad
You mean it is not the same bandwidith taken as when loading the picture from a directory in a server? On Thu, Aug 14, 2008 at 6:59 PM, Juan Pablo Califano [EMAIL PROTECTED] wrote: You can use the getPixels() method of the BitmapData class to get the raw pixel data as a ByteArray. Using

Re: [Flashcoders] Binary Data Question

2008-08-14 Thread Mark Winterhalder
On Thu, Aug 14, 2008 at 10:56 PM, Omar Fouad [EMAIL PROTECTED] wrote: You mean it is not the same bandwidith taken as when loading the picture from a directory in a server? It's a different encoding. You could encode it to, say, png before sending it back, or use zlib compression. Mark

Re: [Flashcoders] Binary Data Question

2008-08-14 Thread Juan Pablo Califano
Well, that depends on the picture, but yes, generaly you'd load a jpg, png, etc, which are compressed formats. For instance, right now I'm seeing a 466 x 468 jpg. Its size is 34 Kb. Bear in mind that the compression ratio varies depending on the actual image and the compression rate / algorithm

Re: [Flashcoders] Binary Data Question

2008-08-14 Thread H
Compress it to a PNG or a JPEG - these formats will output a tidy ByteArray for you. If you don't have AMF or trouble with writing HTTP Post headers, you can always pack it into a Base64 encoded string. Use Loader.loadBytes() to load it. This is in fact synchronous but occurs asynchronously. I