Hi all,
I'm using the BitmapData Object to take a "snapshot" of the pages in my flash
app and it works fine on movieclips without a flv video player inside.
But on of the pages has an movieclip inside it which is playing (streaming) a
flv file and when I try to take a snapshot of this page movieclip the bitmap
objects returns empty (It is created but is blank). When I remove the
movieplayer mc the bitmapdata is created correctly!
What am I doing wrong or is this flash bug?
Cheers Martin
Heres my code
//----------------------------------------------------------
public function toBitmapData(mContent:MovieClip):BitmapData{
var width:Number = Math.min( Math.ceil(mContent._width), 2880);
var height:Number = Math.min(Math.ceil(mContent._height), 2880);
var oBmp:BitmapData = new BitmapData(width,height, true, 0x55ffffff);
oBmp.draw( mContent );
//debugging
var m:MovieClip = _level0.createEmptyMovieClip("mcTest", 999999999);
m.attachBitmap(oBmp, 1);
return oBmp;
}
//----------------------------------------------------------
-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Josh Santangelo
Sendt: 25. september 2006 11:09
Til: Flashcoders mailing list
Emne: Re: [Flashcoders] Mute Flash Application, mac.
There is a bug which you could potentially exploit for this.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?
catid=184&threadid=1000550&enterthread=y
Note the last post. If MIDI is not set to 44.1, Flash can't output
any audio.
-josh
On Sep 22, 2006, at 10:27a, aaron smith wrote:
> Does anyone know of an application that can mute flash or browsers
> for a
> mac?
>
> or maybe a way to do it through the terminal?
>
> thanks.
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com