I have run into a problem attempting to redispatch mouse events in ActionScript 3, which I am admittedly a bit incredulous about. I have narrowed it down to the MouseEvent.clone() method appearing, well, completely broken. The following event handler:
private function handleMouseMove( evt : MouseEvent ) : void
{
trace("mousemov...
I need to call a method inside web service and passing to it it's parameters from action script 3.0
can anyone help me plz? i searched all over the internet and found solutions with flex and i am not working with flex i am working with action script 3.0
...
As a new developer, is GAIA Framework something that I want to look into. Is this going to stifle my learning and keep me dependent upon such.
What are the limitations of this framework. Is there another framework out there that you can suggest for rapid site development with deep-linking and the other bells and whistles?
Thanks!
...
The initial height of a text area is much larger than the content, I cannot find a way of making it always the same height as the text content:
<mx:TextArea id="textarea" borderStyle="solid" width="100%" wordWrap="true" selectable="false" backgroundAlpha="0" focusAlpha="0" text="this is a little test" />
Gives a bordered box that is m...
I'm having the following problems using Javascript and img tags in the standard HTML component in AIR:
1- Javascript in the xml literal causes problems (even though it shows using them here: http://livedocs.adobe.com/flex/3/html/ProgrammingHTMLAndJavaScript_07.html#1032824
2- Using html.loadString(...<img src="/tmp/me.jpg" />...) does ...
I have this dynamic textfield on stage, and I want to access it from my xmlloader class, so it can display text from my xml file. I just can't figure out a way to do it.
...
I have a flash map application that I want to rebuild on the new flash platform (AS3).
It will pull in a load of records at the beginning of the application and then run without needing to communicate again.
Given this scenario, what would you recommend be the best (and most flexible) way to get this set of records into flash?
This is...
How would I go about animating via Actionscript in Flash something like the following?:
I have several squares scattered on my stage with random Alpha values. When the movie loads, I'd like each square to smoothly animate to whatever their current alpha value is to zero, then to 1, and repeat the cycle indefinitely.
As a bonus, I'd l...
Is there a reliable way of preventing my actionscript code (as2 or as3) from being copied (e.g. if there's some IP in it)?
I know there are tools that can decompile flash code so it's easily reverse-engineered and I've also seen a few tools that claim to be able to obfuscate actionscript code in such a way that it's not steal-able, but ...
I have the following HTML component, trying to display a local image, however it will not show up whether I use <img src="file:/tmp/img.png"> or <img src="/tmp/img.png" />. Any ideas why this doesn't work? Saving the file to a local file and opening it works fine!
var xhtml:XML = <html>
<body>
<img src="file:/tmp/logo.gif" />
</body>
...
Hi,
I have a datagrid in which a column s having cusomized itemRenderer(textflow on canvas). Now I want to perform find text operation on each cell's textflow. For that I able to do find text operation on a focused cell.
But now my requirment is to find the the text in all.
Thanks in advance.
...
Hi,
I'm currently translating a Java project to Flex 3. A large part of the project involves asynchronous communications.
The program will connect to a stream, start downloading data. Shortly after connecting, it will need to download context data in the same format (a keyframe) by HTTP. At various points during the stream or keyframe,...
I am trying to run a jQuery function on my HTML page from AS3.
This is my jQuery function:
function loadImage(imageNumber)
{
imageURL = '<img src="images/image' + imageNumber + '.jpg">';
$("#imageBox").html(imageURL);
}
Here are the settings of my flash file in the HTML page:
<param name="allowScriptAccess" value="always...
Hi, I'm trying to modify Flash CS3's supplied fl.motion.easing.bounce function to make the resulting animation bounce less. I appreciate that 'bounce less' is a bit vague, but I'd appreciate any help in understanding the function.
Thanks.
/**
* @param t Specifies the current time, between 0 and duration inclusive.
*
* @param b S...
Hello all
Is it possible to upload a MovieClip as an image to a image hoster such as imageshack or flickr?
If it is possible. Please give direction.
Thank you all
Update
Even if this is possible, would the hoster require the image to exist physically in a file location?
Update 2
I sort of know its possible now. But can someone ple...
I'd like to be able to play/pause dynamically loaded external SWF movies using ActionScript 3.0. Any help is appreciated. Thank you.
...
Text Flow:
<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">
This os the Xml content to be displayed in my text flow. Added <a>link</a> for testing. I need to show a custom tool tip on click of the link.
<img source="assets/images/0.jpg"/>
</TextFlow>
I am importing text xml in Text Flow using:
_textFlow = TextFilter.impo...
I have a "label" in a Flash Movie. I need to send a data from the server side and this data must be displayed on the Flash movie.
How can I implement this?
...
Hi, I want to make a simple tab menu in flash dynamically and I want only the very first tab to be enabled in the beginning of work with my app - the others will be enabled later. However, after exporting the movie, tabs arent clickable (cursor does not appear as hand), but when I click on one of them, its code is launched. Where may be ...
Does AS3 have a built in class / function to extract "filename" from a complete path. e.g. I wish to extract "filename.doc" from full path "C:\Documents and Settings\All Users\Desktop\filename.doc"
...