Hello
Im trying to make an swf send a phone-number to a specific asp-fil on the press of a button.
But since I'm an as3 rookie I have no idea where this code is going wrong (PLEASE HELP):
import flash.events.IOErrorEvent;
import flash.display.*;
import flash.events.MouseEvent;
import flash.net.*;
import flash.events.Event;
public clas...
I'm using tinyMCE to edit/markup text in a Zend Framework backend.
I'd like to use the generated HTML in a Flash AS3 Application.
The problem is that Flash doesn't support attributes in <span>'s, <em> tags, <strong> tags etc.
I guess there are two possibilities here:
change the tinyMCE config so it uses font-tags instead of span's, <b...
I have a button symbol in the library that has a linkage. when I run my movie, everything works fine. If I go into the properties of that button turn off linkage, then immediatly turn it back on with the same settings, then run the movie. I get;
1046: Type was not found or was not a compile-time constant: Phase02_btn.
1180: Call to a p...
I would like to serve high quality video (H.264) between a server and a single Flash Player client with low latency (RTMFP). The single client will be controlling a robotic device and seeing the results through the video stream, so low latency is important.
Option A: The Flash Player supports low latency streaming of video between two P...
I'm trying to visualize the results of a quiz in ActionScript 3.0.
What I would like some input on is how to best link the "filters" (top right corner in attached image) to the data source in a flexible OOP way.
The result array now contains both number of correct answers and meta data about the person taking the quiz. The meta data cou...
the AS2 code is:
MovieClip.prototype.setModel = function(m)
{
this.model = m;
this.drawModel(m);
}
MovieClip.prototype.drawModel = drawModel;
I tried:
package
{
import flash.display.MovieClip;
public class Prototype extends MovieClip
{
public function Prototype()
{
super();
}
...
I have a button labeled 'blueButton' and I'd like to use an anonymous function to handle the click, like so:
blueButton.addEventListener(MouseEvent.CLICK, function(event:MouseEvent):void {
trace( "-----click detected-----" );
// now do other stuff
});
Problem is, the click handler is called multiple times per click. The number of ti...
Hey guys,
I am hoping someone can explain about subclasses accessing variables from the super class.
I found that the subclass can only access variables which are set in the constructor of the super class. Is there any way around this?
package Character {
import flash.display.MovieClip;
public class Character extends MovieClip {
...
I am trying to convert a macro in C to something that would work similarly in Actionscript.
The C macro takes a string, and using ## checks the type against other macros to check that the item's property is of the right type.
To clarify, the C:
...
#define STACK_NUM 52
...
#define CHECK_TYPE(i, t) \
( ((i).type == t##_NUM) ) ...
After I drag and drop a label(or other UIComponent) in a container, i want to double click the label to show me an alert. well it doesn't work.
i've tried in the dragCompleteHandler to put event.dragIntiator.addEventListener or event.currentTargetaddEventListner but it doesn't work. Also i enabled the DoubleClickEnabler and still nothin...
I want to know how to design a Flash CS4(AS3) based kiosk application where the screen changes according to the user events(to change the screens like this). Preferably use xml to describe the application.
...
I am writing a web application that will serve as a configuration for a random data generator that I have written in Java. The values that I set in this application will write to xml. The xml data is updated by a file called simulationParams.as and that file is added to each child in the "viewStack" so that when I change any of those v...
Okay by deleting correctly I mean am I actually getting rid of the instance or is it just not being drawn anymore? I should mention that I'm trying to delete the instance from within its own class, that is it deletes itself. It 'works' in that the square it draws no longer appears on the screen but again I'm not sure if it's really gone ...
Hi, I have a large SWF flash file being loaded by a parent SWF and I would like to start playing the film being loaded, let's say, when it is 50% completed. According to my expected user's bandwidth and the size of my film I will calculate the best moment to do that (the film could be 20%, 30% or 50% loaded). I want to leave users waitin...
Hey, I'm kinda new to AS3, but I've been trying to learn and read the LiveDocumentation as much as possible, and yet I can't get past this problem:
There's a Loader that I'm filling with different images depending on the button clicked. Now to keep it tidy I'm using the exact same loader. The problem is that no matter what I do to the i...
hello,
As ArrayCollection in Flex is limited, I'm looking for a data-structure that something like
LinkedHashSet in Java, LinkedHashSet maintains a doubly-linked list running through all of its entries,it defines the iteration ordering, which is the order in which elements were inserted into the set (insertion-order).But there is little...
Hi,
I have a flash application which consist of Grid Components, Button, Label, and Combo-box Components. All these components are used more than 70 times(simultaneously) with in the application. So Its takes too much of memory. So How can I test the memory usage of each component at the time of running. Is there any plug-in available f...
Hi,
I have a button to which I have applied stylesheet(below) which works great.
.toolButton
{
up-skin :Embed(source='resources/angle.png');
over-skin :Embed(source='resources/angleH.png');
down-skin :Embed(source='resources/angle.png');
}
Now, I have a new requirement where I need to keep the button in pressed(dow...
I've recently been working on some bigger projects in Flash and would really like to be able to use Test Driven Development but haven't found a great way to do so. I'd imagine its a bit harder to do in flash as most of its projects require heavy user interactivity (drag and drop with mouse, keyboard input to move etc...).
Does anybody k...
Is there a limit to number of items that can be added to Flash ContextMenu, I am trying to add 16 items but only 15 are displayed.
Please let me know if there is an alternative?
Thanks.
...