I am new to actionscript 3.0 and I'm experiencing difficulty trying to pass a variable that is created and set in frame 1 to a dynamic text box that is added to the stage in frame 4.
on frame 1 the variable is set from information entered by the user:
var input_dia = "";
input_dia = pdia_input.text;
and should be displayed in a dynamic...
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
...
var count:uint = 0;
var textInputs:Array /* of TextInputs */ = [];
for(var i:String in columnsData){
textInputs[count] = new TextInput();
addChild(textInputs[count]);
count++;
}
here how can i access the first, second of Array of textinputs in the form of string or any thing to further proceed
...
I haven't seen any port of the cairo graphics library to AS3.
Would it be possible to implement cairo solutions through Alchemy?
Other possibilities?
...
public var fieldInputs:Array=[];
var count:uint = 0;
var textInputs:Array /* of TextInputs */ = [];
for(var i:String in columnsData){
textInputs[count] = new TextInput();
addChild(textInputs[count]);
count++;
}
public function ContinclickHandler():void {
if(contin.label == "Continue") {
Alert.show("Inside");
...
How can I get some var / data from a custom classes?
The XML class
package classes
{
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.display.MovieClip;
public class videoData extends MovieClip
{
private var myXML:XML;
private var myXMList:XMLList...
Does anyone have any knowledge (preferably with links to make it official) about how/if Flash/Flex culls objects not in view, to stop them getting drawn when not needed?
A specific cases:
I have an 800x600 panel (a Canvas or Sprite, or other container) containing loads of Sprites representing individual game objects like asteroids or s...
Hey,
I have a SWF A, then loads another external SWF B inside it.
I want SWF B to mute SWF A.
Any idea how this can be done?
I can pass parameters from SWF A to B if needed.
...
I have a java server (that now runs locally) to which my flash app will connect. Although it connects just fine when i run from CS4, when i exported the app and use XAMPP to access the flash app from the browser i get an error:
{NetworkManager}: (Security Error) [SecurityErrorEvent type="securityError" bubbles=false cancelable=false ev...
Hi Guys,
I've built a carousel in Papervision3D using Flash CS5, everything works fine but when it's embedded in a web-page (local or online) the BitmapFileMaterial assets don't seem to load.
I've tried everything and like I said, it works locally, just not when it's embedded. Is there something I'm missing?
It's a carousel made up of...
I have a single line text field that gets his .text property populated from a external .XML file. This text is pretty long and I want to display it on one line as much as I can and add a "..." afterwards.
e.g.
whole text = Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore mag...
I can compile the main application but am having an issue with compiling a nested module.
I have the following application structure:
src
MyApp.mxml
view
MyView.mxml
module
MyModule.mxml
view
AnotherView.mxml
When using the following command
<mxmlc file="${SRC_DIR}/${MODULE_DIR}/MyModule.mxml"
debug="false"
output="${...
I have created an API in AS3 that uses Flex bindings. The API is being used by two other developers. I am delivering the API in an SWC that includes all code, including the required Flex libraries. The two other developers are building the API into AS3-only projects.
One developer is compiling using the Flex SDK through FDT. He includes...
Hi,
I'm trying to extend the spark textinput to create a custom component. When a tooltip message is passed to this component, it should show the tooltip message as an errortip on the rightside of the field.
public class CustomTextInput extends TextInput
{
public var toolTipMsg:ToolTip;
public function CustomTextInput()
...
I am trying to write a class that handles swiping (touch down, move, touch up) actions.
This is the code I am using to get the time and distance for the object to travel after a swipe. The results are very inconsistent- sometimes too slow or too fast, sometimes the obejcts move too far or not far enough.
Can anyone give me some directi...
Hi,
I know I can attach audio and video to a NetStream. Apparently, I can also attach text messages although I haven't seen an example (if you know of one, please let me know). I also know that I can record a stream via Flash Media Server. I'm wondering what other types of data – if anything – else I can attach to a NetStream and record...
If I have two sibling canvases displayed next to each other, can I have a child Label (or any child component for that matter) in the left canvas overflow outside of that canvas and on top of the next?
Something like this:
______________ ______________
| ----------------------------- |
| | Label overflow test | |
| -----------...
I have a movieclip created in the IDE exported to Actionscript via the Library panel (Linkage?).
I instatiate multiple instances of it via a loop on the timeline.
I want to move them around randomly via Actionscript. How do I do that?
I tried using listeners, but I have no way to store values to make each movement unique.
(edited to ...
Hello all,
I'm trying to play an FLV using the Netstream class - standard stuff, really using nothing more complex than things you can find in the help files. I've created a control panel with a bar you can use to click and drag and scrub through the video.
Exporting to Flash Player 9, it's working fine and I can scrub through the vid...
Hi,
I recently discovered Flex's BindingManager and I'm using its method setEnabled() as the basis for disabling updates on a Flex View between animations in my application. (i.e. disable data binding while animations run (animations are usually SWF created by our resident designers), so data does not change between animations).
My qu...