Re: [Flashcoders] Full Screen issue on a Mac

2008-08-16 Thread Ashim D'Silva
Fine on Firefox, doesn't work on Safari for some reason. Intel Mac Book Pro. And you should really look into SWFObject for embedding your flash content in html. Will help you integrating and make things easier. 2008/8/17 Dave Wood <[EMAIL PROTECTED]> > Could someone with a Mac check if this is w

Re: [Flashcoders] Full Screen issue on a Mac

2008-08-16 Thread Dave Wood
Could someone with a Mac check if this is working in fullscreen? Sorry, no. And clicking your "go full screen" button does nothing. No crashes though. Intel Max OSX 10.5.4, Safari 3.1.2, Flash player version 9.0.124. Cheers David http://venturawave.com/fs/fullscreen.html This site

[Flashcoders] Full Screen issue on a Mac

2008-08-16 Thread chas warn
Could someone with a Mac check if this is working in fullscreen? http://venturawave.com/fs/fullscreen.html This site crashed on my client's Mac. The problem was likely that I didn't include or nest the the embed tags within the object tags in my html page when I modified for full screen. Here'

Re: [Flashcoders] AS2 Dispatch Custom Event of loaded clip

2008-08-16 Thread Juan Pablo Califano
Assuming that modifying the custom application is not possible, but that you can change mySWF.swf, you can use an event manager that acts as a "proxy" for dispatching events. So, instead of dispatching the event directly from your object, you use the "service" of a third party. You register to that

Re: [Flashcoders] Binary Data Question

2008-08-16 Thread Juan Pablo Califano
Maybe you don't have a version of amfphp that supports AS 3.0 objects... Check this out: http://www.sephiroth.it/tutorials/flashPHP/amfphp_bytearray/ On the other hand, if using amfphp is not a requirement, you could just use the class I posted, and handle things from the php side as if it were

Re: [Flashcoders] Duplicate Nested MovieClips in AS3

2008-08-16 Thread jonathan howe
So, are you saying that the _currentBackground has a parent but is not on the stage? It's obviously possible if _currentBackground is nested inside something else that is not on the stage, but in the simplest scenario, if it doesn't have a parent, it's not going to run this block if ( t

Re: [Flashcoders] Binary Data Question

2008-08-16 Thread Omar Fouad
When I use ba without toString() amfphp says "Object of class ByteArray could not be converted to string". I think there is something to be done in the php to convert the data back from string into binary data, but I cannot find it out. Ideas? On Sat, Aug 16, 2008 at 9:02 PM, Juan Pablo Califano

Re: [Flashcoders] Duplicate Nested MovieClips in AS3

2008-08-16 Thread Lair Nicolas
Hi, thanks for the response, i already tested it, and it's executed but strangly not displayed on screen :( On Sat, Aug 16, 2008 at 7:48 PM, jonathan howe <[EMAIL PROTECTED]>wrote: > "the only difference between _currentView and _currentBackground is that > currentView > is present on the stage"

Re: [Flashcoders] Binary Data Question

2008-08-16 Thread Juan Pablo Califano
I haven't used amfphp extensively, but it might be a problem in the type of data amfphp expects... I'm not sure this is a good idea: ba.toString() As with a JPG you'll sure get lots of 0's in the ByteArray; parsed as a char in a string, a 0 value is what's known as an embedded null, which traditi

Re: [Flashcoders] Duplicate Nested MovieClips in AS3

2008-08-16 Thread jonathan howe
"the only difference between _currentView and _currentBackground is that currentView is present on the stage" Aren't you testing for exactly that with the conditional " if ( target.parent) { } "? Throw a trace statement inside there and see if that block of code is actually executed. -jonathan

Re: [Flashcoders] Binary Data Question

2008-08-16 Thread Omar Fouad
well I've been trying this amfphp and it does not work. amfphp responds back an error saying "amfphp_runtime_error". I have this php file in the services dir which hace this function that I call throuh actionscript function getData($image) { $data = mysql_query("Insert into table01 (imag

[Flashcoders] Duplicate Nested MovieClips in AS3

2008-08-16 Thread Lair Nicolas
Hi all, i'm trying to duplicate a nested movieClip in AS3, but it does not work :-( In my main fla, i've a movieClip named "view_main" that contains another movieClip named "background_mc" I want to duplicate the background_mc movieClip by using the constructor property like that : _currentView