I am a real beginner! I'm on Windows Vista and IE7.
Here's what I'd like to do:
1. I have two flash files: page1.swf and page2.swf. They are just page from a magazine.
2. Display page1
3. Have a button that says "Change page"
4. When I click the button; display page 2 instead of page 1 (only page 2, not both pages)
That's it.If anyone ca...
Given the following Flash method:
function sendToJava(name:String, ... args)
{
ExternalInterface.call("sendCommand", name, args);
}
How do I ensure that ExternalInterface.call() interprets args in its expanded form? Right now, if I pass a list into "args", that list gets interpreted as a single argument of type "Object[]" by Externa...
How do you get/set the absolute position of a MovieClip in Flash/AS3? And by absolute, I mean its position relative to the stage's origo.
I currently have this setter:
class MyMovieClip extends MovieClip
{
function set xAbs(var x:Number):void
{
this.x = -(this.parent.localToGlobal(new Point()).x) + x;
}
}
This seems to wor...
The Flex 3 docs are fairly basic. Can someone post a more complete example that uses the control's events? I'm still trying to get my head around ActionScript events.
...
I have a html div layered on top of an interactive flash movie, but when the mouse moves over the div, it can't interact with the flash (the view changes as the mouse moves or is clicked). Is there a way to have the flash recieve the mouse movements and clicks but leaving the html visible?
I can't modify the flash SWF file.
Edit: To ma...
Hi. I have made a flash gallery that loads images from an xml file and fades them in and out. However I have been asked to make it so they fade in from left to right (i.e. hiding a bit of image while slowly revealing the whole image). Code is below:
_root.onEnterFrame=function () {
var picLoaded = thisLoader.getBytesLoaded(), pi...
I'm using AS3 (Flash) to read SVG files and display them.
The problem is correctly displaying a linear/radial gradient.
Following is an example of a simple linear gradient from Red to Blue, in SVG.
<linearGradient id="GRADIENT_1" gradientUnits="userSpaceOnUse"
x1="107.3938" y1="515.5684" x2="105.2488" y2="428.8614"
gradientTransform="m...
I have a Flash app made up of AS3 components that I am trying to run in Flex.
In Flash, after the main component is added to the stage, the loader object (loaderInfo.loader) is null which is fine and I handle that.
In Flex, on the applicationComplete event I add the the main component to the stage and the loader object's getter throws...
I've worked on several flash projects so far. I know my way around AS3 but I also started becoming curious about how other flash programs are written, so I decompiled a few swf files to see how they were made. (I have also read through open source projects, but I don't say that because I feel guilty about decompiling swf files or anythin...
An example of what I'm talking about is on some political candidate websites, like BJ Lawson or Ron Paul's old site.
When you donate, it shows your name in Flash as a recent donor. It might also show a "goal" and how far along you are. Just curious if you can give me ideas on how to accomplish something similar, starting with how to a...
Is it possible to use Flex 3 component/code inside Flash (cs4) SWF file ?
I know its possible in the opposite direction.
...
Dears,
After selecting "Safe Remove" option in windows system tray, is there any way that I can re-detect my Flash by a code, without plug it out and again inserting it to the computer USB port?
Best Regards
...
I'm thinking of choosing Adobe AIR as the client-side implementation technology for an upcoming project. (The previous choice was C# and WPF, but I've been really impressed with Flash/Flex/AIR lately.)
But one of the most important features of my product will be its plugin architecture, allowing third party developers to extend the func...
Here's the Question: What is the best way to make sure that your requirement for Flash Version "x" on a site will properly detect presence of later-version Adobe Flash Player Version "10" (or "1y" for that matter)?
Now here's the mystery: Why are so many sites that require Flash Player versions 8 and 9 or better failing to detect Flash ...
So I'm trying to take a bilinear interpolation algorithm for resizing images and add in alpha values as well. I'm using Actionscript 3 to do this, but I don't really think the language is relevant.
The code I have below actually works really well, but edges around "erased" regions seem to get darker. Is there an easy way for it to not i...
How do you call a URL from ActionScript 2 without opening a new window ? I've tried "getUrl" and various methods of "LoadVars".
...
Could someone simply explain the 3 phases in the Flash Event framework, please?
By event phases, I mean:
CAPTURING_PHASE
AT_TARGET
BUBBLING_PHASE
To be clear, I'm talking about flash.events.Event and subclasses.
An in-depth example would be fantastic. What happens when you click on a nested MovieClip?
...
Hello.
I'm using Flex Builder 3 now and it suddenly refuses to start debugging session. I've reinstalled debugger versions of Flash Player: both 9 and 10 versions. Then I've reinstalled Flex Builder itself allowing it to install it's native Flash Player version. And finally, I've tried to use both IE and Firefox as host for player under...
I need assistance finding a delivery method that best fulfills the following requirements:
We wish to deliver a single file to my clients.
Clients should be able to launch this file from the operating system shell - much like running an '.exe' on Windows.
After being launched, the program/script should be able to display a window with ...
Can Silverlight apps be embedded into PowerPoint? We're currently weighing the pros and cons of Silverlight vs. Flash, and are primarily interested in charting controls. The higher-ups would like to have aesthetically appealing dynamic charts included in PowerPoint presentations, with the ability to migrate these over to an online solu...