I know about Flash's localToGlobal and globalToLocal methods to transform coordinates from the local system to the global system, but is there a way to achieve the intermediate? To transform coordinates from an arbitrary system to any other arbitrary system?
I have a clickable object inside a Sprite, and the Sprite is a child of the sta...
I'm looking for a full featured AOP Library for Actionscript 3.
The following projects I noticed so far, but they all seem to have their problems:
- http://farmcode.org/page/Sodality.aspx (looks most promising so far, however it requires you to create a whole new class for every AOP "call" I believe, and it forces you to follow quite a...
I have a button containing 2 child buttons. I want to be able to keep the mouse over state active, when I rollover a child button. At present it fires mouse out when i rollover a child button, I suspect this is correct, but not what I want to happen.
Any ideas how to get around this?
...
Doing some development in Flash Builder 4 using Action Script 3.0. I'm trying to have some code run each time the form is displayed. The form is not always recreated, but sometimes hidden and reused. Visual Basic used to have an Activate event that does similar to what I want.
I tried Render, but that fires every time the form change...
When a flash app is loaded in the browser, it default captures the CTRL-TAB keystroke which is needed for changes tabs in modern browsers.
Any ideas on how to configure Flash Builder 4 to not listen for these keystrokes or to bubble them up to the browser?
...
Hi
Thanks for the help Yesterday, but I have on more question. How can I change color of text on certain words?
My animation plays the text animation of THIS SALE IS RED HOT!!! I want RED HOT it to be red. It seems the array can be indexed in such a way to switch the color from Blue to Red.
MY BANNER ADD
var myArray:Array = ["THIS","S...
One thing asked for a lot with sIFR is hyphenation.
Now I almost solved it with integrating Hyphenator.as http://vis4.net/blog/2010/05/as3-hyphenation/.
The only problem is that Hyphenator.as is written in AcionScript 3, while sIFR is in ActionScript 2.
I found an AS2 to AS3 converter www.5etdemi.com/blog/archives/2006/11/as2-to-as3-c...
Hi there!
Here is my problem (unfortunatelly didn't find solution @google):
I'm loading external swf[AS2] into main swf[AS3] using Loader class.
The main swf is 800 x 600 and the external swf is 300 x 200.
After adding the external swf to the main swf the external swf expands it's size from 300 x 200 to the main swf's size: 800 x 600...
I'm trying to convert an image in my assets folder
"./assets/image1.png"
to type Object. It needs to be Object because that's what the function I'm using it in is expecting.
Any ideas what would be the simplest way to do this?
...
I built an AS3 image gallery using FlashDevelop.
Before I zip up the application, I can run the image gallery in my browser by simply opening the index.html for the project. Everything works perfectly.
I then zip up the project as proj-0.1.2.zip using winrar.
I then unzip this newly created zip and try to load the application using th...
Hi,
I have a tween like this :
new Tween(myObject, "x",null,nowPosition,finalPosition,time,true);
sometween.start();
Now when the tween has not finished and is somewhere in the middle and the final position changes. I want this tween to be modified so instead of moving to its already defined postion the object goes to the final posit...
The Flash IDE is capable of embedding many types of uncompressed sound files, including wav, and offers optional compression when publishing.
However, the [Embed] tag, only seems to allow embedding of mp3 files. Is it truly impossible to embed an uncompressed wav file, or am I missing some magic, undocumented mimeType?
I was hoping for...
Hey,
I would like to import the Flex class ResultEvent in Flash.
This is how I did it:
1. In "Publish Settings/Flash/ActionScrip 3.0 Settings/Library Path" I selected the rpc.swf (from the flex sdk)
2. Then I wrote in my flash-file: import mx.rpc.ResultEvent;
But i still get the following error:
1046: Type was not found or was no...
firstly i select an image clicking on a buttom. Then when i click into another button to show some text there also the image appear. This widget is built on AcrionScript 3.
...
Hey,
I'm using external XML to set flash vars. Alpha works, but not Visibility.
How do I get my swf to respond to visibility? Thanks.
XML
<?xml version="1.0" encoding="utf-8"?>
<SESSION>
<BGv TITLE="visible true">false</BGv>
<BGa TITLE="alpha 50 percent">.5</BGa>
</SESSION>
SWF
//LISTEN AND LOAD XML
var myXML:*;
var myLoad:URLLoa...
I am working on an custom container and I need a border for this container. I have a 15x15 image that I am creating a 9-slice border skin with. The issue that I am having is that the border skin does not appear the way that I had hoped it would.
Here is a ss of the skin in place.
Ideally I should have a transparent box with a 5 pixe...
Hi all!
I'm trying to manually dispatch events on a textfield so I can manipulate it indirectly via code (e.g. place cursor at a given set of x/y coordinates). However, my events seem to have no effect.
I've written a test to experiment with this phenomenon:
package sandbox {
import flash.display.Sprite;
import flash.events.MouseEvent...
Hi,
An other XML and Flash question. How do I change my URLRequests by XML? My problem may be something else, but this only happens when I use the XML variable. Thanks.
URLRequest by XML
var bgURL:URLRequest = new URLRequest(url);
/*OUTPUT
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
*/
URLRequest by name FI...
Just finished reading ch23 in the excellent 'Beautiful Code' http://oreilly.com/catalog/9780596510046
on Distributed Programming with MapReduce. I understand that MapReduce is a programming system designed for large-scale data processing problems, but I have a hard time getting my head around the basic examples given and how I might app...
I have noticed that the quality of the images produced by the JPEGEncoder does not match that of other encoders available (i.e. php's built in image compression functions from the gd library)
Any explanation ? or hints/workarounds for improving the quality of compressed images by JPEGEncoder ??
...