Let's say I have a resource file which exports mc1 with 4 frames in it. I would like to create a new MovieClip and insert frames like this:
mc2:flash.display.MovieClip = new flash.display.MovieClip()
mc1.gotoAndStop(2);
mc2.gotoAndStop(1);
mc2.currentFrame = mc1.currenctFrame
mc1.gotoAndStop(1);
mc2.gotoAndStop(2);
mc2.currentFrame = m...
I’m looking for some samples/tutorials/general pointers in doing either of the following.
1) Create an AIR app that can load a live flex app and use that for testing. So we have a app which is live and if I could load that into a AIR app which can edit a config file and then test that config file using the live swf but inside the A...
I have the bad luck of having to downport some ActionScript 3 code to ActionScript 2 and I have a problem with detecting when the mouse leaves the stage.
In ActionScript 3 there is an event called Event.MOUSE_LEAVE, which can be used to detect when the mouse leaves the stage, but there is no equivalent in ActionScript 2 as far as I can ...
I'm looking for a way to find out the URL of a SWF using ActionScript 2.
In ActionScript 3 this is done by using root.loaderInfo.loaderURL, but I haven't found any equivalent in ActionScript 2.
Please note that I'm not looking for the URL to the page where the SWF is embedded, but the URL of the actual SWF, and that using ActionScript ...
Hi guys,
I'm writing a very simple flash app (AS 2) to sign users up to an email newsletter; the way it works is that it uses LoadVars to hit a (same-domain) PHP script via POST with the user's email address. The PHP script then passes the info through to another domain (the newsletter mailer URL) via curl to sign up the user.
So far, ...
Google doesn't seem to like Flash content in any other way except writing text straight into the Flash IDE to get exported statically into the SWF movie.
Which means that any text drawn by ActionScript into TextField's don't get indexed?
Beginning at their Webmaster Guidelines, they recommend:
"Avoid hidden text" - preventing hidden ...
Can somebody help me getting Wimpy player to work in Firefox? I followed the guide from Wimpy documentation page and am still getting nowhere.
For tests, I used the same HTML code to embed different swf file and it works perfectly. Could it be the SWF file corrupted itself? Then why it works fine on IE?
Here is a test HTML code with tw...
Does the following mean that dynamic TextFields will NOT be indexed?
We currently do not attach content
from external resources that are
loaded by your Flash files. If your
Flash file loads an HTML file, an
XML file, another SWF file, etc., Google will separately index that
resource, but it will not yet be
considered to b...
I'd like to play videos, as well as display images and possibly other flash content using adobe air, and reading from the local file system. I've been searching APIs and I have not yet been able to connect the dots.
I know of flash.filesystem.File and flash.filesystem.FileStream and have experimented with loading and reading files. I be...
Are there any ways providing an alternate GIF/PNG image, in case the user has no Adobe Flash installed and/or deactivated.
I’ve found recommendations, like the following from W3C, which determine via JavaScript the existence of Adobe Flash on the client: W3C Providing alternative images
Honestly, I would prefer a non JS technique. I’m t...
What is the best way to determine if a component in Flex/Flash is showing on the user's screen? I'm looking for an analog to Java's Component.isShowing() method.
The show and hide events fire for visibility, and this seems to work for the first descendant of a ViewStack component, but not further down the display tree.
...
How do I open 'cross-domain security', so the JavaScript on the page can freely communicate with the SWF, even when this is hosted on another domain?
I know for certain that this function communication is blocked by default, but by playing around with a file called "crossdomain.xml" and the actionscript 3 function: system.Security.allow...
Hi, I have to do a job overnight to enable a very simple interface for users listening to a radio channel over the internet. I am wondering what is the best soluition for streaming. I thought of QuickTime, but it requires users to have it installed and I am not quite sure Quicktime is as spread as flash. So I tend to implement something ...
I need a way to get a (content) MovieClip within a (container) MovieClip to be scrollable using a scrollbar.
Flash AS2 Components
ScrollArea - Can only scroll externally loaded SWFs.
UIScrollBar - Can only scroll TextFields.
How to scroll an internal MovieClip?
...
I would like to do simple (looping) animation (moving, changing alpha etc) in haXe (flash9). I don't have anything that resembles frames in my library, just single frame assets.
Since I am a beginner. I am not necessarily looking for a sophisticated framework. I would be happy with something quick & dirty. Maybe ifs checking the frame (...
I am trying to convert different files to a flash compatible .mp4 file with ffmpeg, but i cant seem to succeed. Of cource the objective is to get the greatest quality with the smallest file size.
So far I have this, which works, but it doesnt play in a flash player for some reason. The result isn't that great, how can I improve this co...
Any benchmarks of Integer, Array, Function, Class, etc, performance in these 2 languages (compilers)?
Comparisons would also be helpful.
...
I heard that AS boxes and un-boxes values every time arguments are passed into/out of functions.
A. Therefore, would this be faster?
var val = doWork(50,"hello", 2048);
function doWork (param1,param2,param3){
t.text = param2;
return param1+param3;
}
B. Or this?
var val:Number = doWork(50,"hello", 2048);
function doWork (para...
Hi, I'm trying to create:
AxShockwaveFlashObjects.dll and
ShockwaveFlashObjects.dll
entering the following command:
aximp C:\WINDOWS\system32\Macromed\Flash\FlDbg10.ocx /nologo
but I get an E_ACCESSDENIED error.
What am I doing wrong? Thanks!
...
I'm using the XSPF Player (slim) on a new website. The client tells me they cannot hear any music on their Mac in Safari. The player is visible but it just says "Loading playlist..." and never continues past that point. I cannot imagine why since it works fine in all the PC-based browsers I have tried. I don't have a Mac so am having a h...