Hi guys,
I want to save the movie clip as a jpg.
got few example which uses the Adobe JPEG Encoder class which converts the image to byteArray, and then pass the byteArray using PHP to display the image.
But i could not find a example where ASP is used, also i want to store that image into a MS Access database.
And then display back th...
I have MovieClips on my Flash Stage that when clicked on--they toggle ON/OFF. My goal is that when a user clicks either ON/OFF--then leaves the flash website--another user can visit the site--and see that state of that MovieClip was either left ON/OFF.
I would need a way that when a user toggles ON/OFF--that state is saved in a variabl...
Is it possible to write text using Adobe AIR so that I can save it as an actionscript class file?
I want to generate my own classes using air, I just have not found anything that explains how I can save say a text file as a .as file.
...
A typical code fragment obtained from the YouTube embed feature looks like this:
<object width="660" height="405">
<param name="movie" value="http://www.youtube.com/v/NWHfY_lvKIQ?fs=1&amp;hl=en_GB&amp;border=1"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="alwa...
As far as I understand, the crossdomain.xml file technique for crossdomain XHR is based on Flash. This settings on the server allows Javascript code from the client (using flash) to bypass the Same Origin Policy.
I was wondering if that technique doesn't work any more in iPad devices (since they don't support Flash). Does this also impl...
Hi guys, so I have a pretty big flash file on my homepage, which raises a few issues about what to do if the user doesn't have flash player installed on his/her PC.
I would like to make sure that if the user has a old version of flash player, or doesn't have it at all, a backup image will display in place of the flash, how can I accompl...
Why this:
for each (var dieListener:Object in dieListeners)
{
var f:Function = (dieListener as Function);
f();
}
..doesn't work, if this:
for (var i:int=0; i<dieListeners.length; i++)
{
var f:Function = (dieListeners.getItemAt(...
I am aware that there is already some threads within the Q&A about this although nothing specific to my needs. I am trying to pass a SOAP header username and password yet can't find a way to achieve this. I have imported and am using the Flex SDK within Flash which supports WS but cant seem to implement the headers correctly. I am now co...
It's been a long time since I did anything in flash, and today, I just received an assignment to create a photo album creator (aka PAC) with a PHP/Mysql backend. It would be great if anyone can recommend off the shelf modules I can incorporate into my project. Any additional advice would be helpful. Here are the requirements for the ...
Im currently working on a website and have a flash gallery up and running but would like to be able to link clients to a specific photo in a specific gallery. How would I go about coding this, because i know that it is possible but i cant figure out how. I am using Flash CS3 and AS3.
...
Hi guys,
I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache.
How can I force client's web explorer to reload/refresh the swf file?
Thanks
...
There are two Sprite's hit tests, one check the object (and have no precision on the curves) and the other check a specified (x, y) point. But, having curves drawn using Graphics.curveTo(), how do I check if 2 drawn curves are colliding?
I'm not sure if this is an actionscript or a math problem... I want to check all (x,y) of a curve to...
Everyone keeps saying flash is dead, silverlight is dead, and the future is HTML 5. Most technical people I've talked to seem feel that this is a generally accepted fact. Just a matter of when the spec will be finalized, and when each major browser will finally incorporate all the individual features. But it seems to me there's a big ele...
I'm new to Flash/AS3 and I have been trying to display objects from class files and methods.
Now I was looking at the source of this project here
http://www.nocircleno.com/graffiti/examples/2.x/simple_text_demo.html
To learn how to do this from AS3, main question I have how is the Main() class being called there? There is no actionscr...
Hi I wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.
Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of ...
Hi
it seems Flex trapKeys(e:KeyboardEvent) has problems when user is pressing some special marks ; / ? = + ( ) & * with non-us (european) keyboards. Pressing these require shift key.
I am using String.fromCharCode
Any ideas why e.g. pressing semicolor combination faulty outputs "<"
var key:String=String.fromCharCode(e.charCod...
what encoding unescape() function uses ?
I have problem that URL param has utf8 foreign chars, that flash fails to read.
...
How can I establish connection of a Flash site with a database(i.e. MYSQLetc)?
...
Hi there! I've been trying to wrap my head around this for some time now, but haven't been able to come up with an elegant solution.
The problem: I have a string with different characters ("ABDDEEDDC") and I need to know which character occurs the most. Any help would be greatly appreciated.
Cheers, Niko
...
I have 8 flash movies, each with 3 scenes within each one.
What is the most effective way (by which I mean, takes the least amount of time to implement and produces a file without each and every object used in the library) to combine these 24 scenes into a single flash file so that they play consecutively and can be exported as a singl...