Fscommand actionscript 3 problem

Hi all!

Im trying to run a file with AS3, but it will not work and Im getting really nervous... Help, please!

What wrong with this script? the manual says 100 things on packages and all that, is that related to this simple script?

Tags: Adobe Animate

Similar Questions

  • Clock ActionScript function problem

    I created a clock in Flash, but when I place it as an object of the selected button in a montage that it doesn't, someone can help me?

    Thanks in anticipation!

    You can display the swf file here.

    My actionscript is as follows:

    time_btn.onRelease = function() {}
    gotoAndPlay ("rolex_ani");

    var h = timenow.getHours ();
    var minutes = timenow.getMinutes ();
    var seconds = timenow.getSeconds ();
    milliseconds var = timenow.getMilliseconds ();
    var date:Number=timenow.getDate();
    var day:String = [timenow.getDay ()] days;
    var month:String = months [timenow.getMonth ()];
    var days: Array = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
    var months: Array = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August',
    "September", "October", "November", "December"];

    Timenow = new Date();
    day_txt. Text = day;
    date_txt. Text = date;
    month_txt. Text = month;

    hours_mc._rotation = (hours * 30) + (minutes/2);
    minutes_mc._rotation = (6 * minutes) +(0.1 * seconds);
    seconds_mc._rotation = (0.006 * milliseconds) +(6 * seconds);

    }

    Try the code below.  and you must remove the onEnterFrame loop when it is not needed.

    time_btn.onRelease = function() {}
    gotoAndStop ("rolex_ani");
    {this.onEnterFrame = function ()}

    Timenow = new Date()

    var h = timenow.getHours ();
    var minutes = timenow.getMinutes ();
    var seconds = timenow.getSeconds ();
    milliseconds var = timenow.getMilliseconds ();
    var date:Number=timenow.getDate();
    var day:String = [timenow.getDay ()] days;
    var month:String = months [timenow.getMonth ()];
    var days: Array = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
    var months: Array = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August',
    "September", "October", "November", "December"];

    day_txt. Text = day;
    date_txt. Text = date;
    month_txt. Text = month;
       
    hours_mc._rotation = (hours * 30) + (minutes/2);
    minutes_mc._rotation = (6 * minutes) +(0.1 * seconds);
    seconds_mc._rotation = (0.006 * milliseconds) +(6 * seconds);

    }

    }

  • Help movie clip

    I'm kinda new to actionscript this problem (which may indeed be easy to adjust) no illuding me.

    I have a map of the United States each State has its own music video. For example, Alaska is named: ak_mc and so on...

    Here's what I have:

    var stateArray = new Array ('ak_mc', 'al_mc', 'ar_mc', 'az_mc', 'ca_mc', 'co_mc', 'ct_mc', 'dc_mc', 'de_mc', 'fl_mc', 'ga _mc', 'hi_mc', 'ia_mc', 'id_mc', 'il_mc', 'in_mc', 'ks_mc', 'ky_mc', 'la_mc', 'ma_mc', 'md_mc', 'c me_m', 'mi_mc', 'mn_mc', 'mo_mc', 'ms_mc', 'mt_mc', 'nc_mc', 'nd_mc') 'ne_mc', 'nh_mc', 'nj_mc', 'nm_mc', 'nv_mc', 'ny_mc', 'oh_mc', 'ok_mc', 'or_mc', 'pa_mc', 'ri_mc', 'sc_mc', 'sd_mc', 'tn_mc', 'tx_mc', 'ut_mc', 'va_mc', 'vt_mc', 'wa_mc', 'wi_mc', 'wv_mc', 'wy_mc');

    for (var i = 0; i < stateArray.length; i ++) {}
    trace (I + ":" + stateArray [i]);
    var stateElem:MovieClip = stateArray [i];
    stateArray [i] .alpha is. 30;
    }

    When I try to run the flash movie I get the following error:

    ReferenceError: Error #1056: cannot create alpha of the String property.

    Any ideas on what I am doing wrong?

    Thanks in advance.

    Delete the quotes your table if you store a reference movieclip instead of strings.

  • Rotate the JPG or PNG

    Hello
    I'm doing a site and an i have to put some images imported from a file (actionscript), the problem is that the images must be shot, but when I rotate the images lose quality, for example the lines resemble stairs lol. (Sorry my English, bad lol). The image is great when the detroit, but when turned...: s

    What I am doing wrong? I import the image to a loadMovie holder, the holder is the exact size of the image and I tried to import the jpg and png, and the problem is the same... I tried to put the jpeg maximum quality and quality of film for the best... No change...

    Can someone help me?

    Hey guys, I followed it a little and got to thinking about using some methods of the BitmapData class. It turns out, you can increase the quality of the image rotated a little, by conversion to a BitmapData object and then apply the rotation, it's a little heavy, but does not seem to increase the quality of the image. I implemented a sample comparison here code, using an image jpg to resolution of 72 dpi, of my server, for example, try it with some of your own images as well and see what you think, I think that this shows improvement. Here is the code, just opened a path up to 600 x 400 and it will do the rest:

    PS the image on the left is not the conversion of bmp.

  • Problem with Javascript and ActionScript setting / getting variable timing

    Hello world

    The course

    I created a training course, which will run standalone on our intranet for internal staff. Despite the (known) limitations, I use Javascript to validate the form and open a window of e-mail, for the staff member to click Send confirm that they have completed the course. Without a web server or LMS to use, what seems easiest to obtain confirmation of completion of the course. The form itself works very well and we have tested it with some members of staff.

    I created a slide in Captivate that contains the form of confirmation with a "submit" button. I added a next button, which appears disabled until the user submits the form successfully.

    The problem

    When the user clicks on send, I call a conditional Action as follows:

    • If 1 = 1 (i.e. always do this)
      • Javascript call for:
        • Validate the form
        • If it is valid
          • Open e-mail window
          • Set m_VarHandle.Confirmation_Email = 1
    • If Confirmation_Email = 1
      • Select the next button

    Unfortunately, by filling out the form correctly and clicking on send, the next button is not enabled (the fine again active button). On further testing, it seems that the Javascript has finished running before ActionScript moves on the next decision. So when he checks the value of Confirmation_Email it has not yet been fixed and the next button is not enabled.

    Any ideas how I can fix this problem?

    Thank you

    Sarah.

    Hello world

    I bypassed this problem as follows.

    • Added a Clickbox that appears for 0.5 seconds with a break
    • Created a disabled button is visible in the output, which is displayed for 0.8 second
    • Updated the timeline, so that the next button (active) appears after 0.8 seconds for the rest of the slide
    • Added a second Clickbox located to 1.0 second with a break at the end of the slide (2.0 seconds)
    • Updated Javascript code to set cpCmndResume to 1 when the form is validated successfully

    This results in the desired behavior:

    • The slide plays up to 0.5 seconds and stops due to the first Clickbox
    • The user can fill out the form at their leisure and submit.
      • If the validation fails, the user must correct the form and click on submit
      • If the validation is successful, the reading recovery
    • When playback is resumed, he passes the 0.8-second mark. The following disabled button disappears and the next active button appears. Playback continues until the second 2.0 mark then paused because of the second Clickbox
    • The user can click on Next at their leisure

    Thanks for all the reading - hope it will be useful!

    See you soon

    Sarah.

  • Problem with ActionScript

    I had a problem with my code actionscript for a game I'm working on. I need to occur if the player is visible, unfortunately it fires if the player is visible or not, and turns the visible player when it is not supposed to be. Could someone please explain what I did wrong or help me fix my script?

    If (_root.playerleft._visible = true & & Key.isDown (83)) {}

    var bulletleft = _root.attachMovie ("BulletLeft", "BulletLeft" + _root.getNextHighestDepth (), _root.getNextHighestDepth ());

    bulletleft._y = FLF;

    bulletleft._x = _x-25;

    }

    use the double equal (==) to test for equality:

    {If (_root.playerleft._visible == true & {Key.isDown (83)})}

    var bulletleft = _root.attachMovie ("BulletLeft", "BulletLeft" + _root.getNextHighestDepth (), _root.getNextHighestDepth ());

    bulletleft._y = FLF;

    bulletleft._x = _x-25;

    }

    Alternatively, with a Boolean value, use:

    If (_root.playerleft._visible & Key.isDown (83)) {}

    var bulletleft = _root.attachMovie ("BulletLeft", "BulletLeft" + _root.getNextHighestDepth (), _root.getNextHighestDepth ());

    bulletleft._y = FLF;

    bulletleft._x = _x-25;

    }

  • Problems with my actionscript form results

    It is a very simple form with an input field for e-mail and four boxes. When obtaining the results, I get the results of check boxes, but the e-mail indicates vacuum.

    I went on the code and the php of hundred times and don't see any errors. Here is the code for actionscript and php code:


    to import flash.net.URLVariables;
    import flash.net.URLRequest;

    / * Event mouseclick
    By clicking on the instance for the specified symbol performs a function in which you can add your own custom code.

    Directions for use:
    1. Add your custom code on a new line after the line that says "/ / Start your code custom" below.
    The code runs when the user clicks the symbol instance.
    */


    submit.addEventListener (MouseEvent.CLICK, fl_MouseClickHandler);

    function fl_MouseClickHandler(event:MouseEvent):void
    {

    If (eMail.text == "") {}
    eMail.text = "Please enter your email address ';

    }
    else {}
    Start your custom code
    create a container
    var allVars:URLVariables = new URLVariables();
    allVars.eMail = eMail.text;
    allVars.bead = bead.selected;
    allVars.jewelry = jewelry.selected;
    allVars.onlineNewsletter = onlineNewsletter.selected;
    allVars.sandiegoNewsletter = sandiegoNewsletter.selected;
    Send the info to the URL
    var mailAddress:URLRequest = new URLRequest ("http://www.southsunbeads.net/form.php");
    mailAddress.data = allVars;
    mailAddress.method = URLRequestMethod.POST;
    sendToURL (mailAddress);
    Thankyou. Text = "Thank you!"
    }
    }


    <? PHP

    Create local variables of the posted Flash ActionScript variable

    $senderEmail = $_POST ['eMail'];
    $senderNewsletter1 = $_POST ["Pearl"];
    $senderNewsletter2 = $_POST ['jewelry'];
    $senderNewsletter3 = $_POST ['onlineNewsletter'];
    $senderNewsletter4 = $_POST ['sandiegoNewsletter'];

    Strip slashes on local variables typed component software plug-in for security and run any control of error php based here

    $senderEmail = stripslashes ($eMail);
    $senderMessage = stripslashes ($senderMessage);


    IMPORTANT - change these lines to be appropriate to your needs - IMPORTANT!
    $to = " [email protected] ";            
    $from = " " [email protected] "; "
    $subject = "response of the game2."
    Modify the body of the message as you wish
    $message = "result is of the form:


    E-mail: $senderEmail
    Deal of the day of balls: $senderNewsletter1
    Deal of the day jewelry: $senderNewsletter2
    Newsletter online: $senderNewsletter3
    San Diego Newsletter: $senderNewsletter4


    $senderMessage ';
    Build $headers Variable
    $headers = "from: $from\r\n;
    $headers. = "content-type: text\r\n"
    $to = "$to";
    Send the email
    mail ($ $subject, $message, $headers);

    Assemble the message that goes back to the Flash
    The flash that actionscript is looking for a return of 'return_msg' variable it is no sendername in my form, can be simply change of generic message
    $my_msg = thank you '$senderName, all data has been sent.';
    Print the data back to flash that is patiently for her in the onCompleteHandler
    Print "return_msg = $my_msg";
    Script output
    Exit();
    ? >

    Thank you

    I salute you!

    In fact, the problem IS in your PHP script.

    $senderEmail = $_POST['eMail'];
    
    /* ... */
    
    $senderEmail = stripslashes($eMail);
    

    The last one should be:

    $senderEmail = stripslashes($senderEmail);
    

    PS:

    Next time, put your code inside tags ...

    It will be easy for people to read your question and will improve the chances that someone will respond.

  • Problem with custom in an ActionScript component events

    All,

    I hope that my question is quite minor and front right to sort but for the life of me I can't understand it.

    I wrote an ActionScrip component that performs a logic (transformation of coordinates grographic).  Treatment can take a while and relies on calls to a number of server-based processes which are all works well.  The process of transformation of coordinates is started with a call to a public method in the main application component.

    helyx package
    {

    import flash.events.Event;
    import flash.events.EventDispatcher;

    Import mx.controls.Alert;
    Import mx.rpc.events.FaultEvent;

    [Event (name = "gridConverted_success" type = "flash.event.Event")]

    public static const SUCCESS: String = "gridConvert_success";

    SerializableAttribute public class GridConverter extends EventDispatcher
    {

    private void projectCompleteHandler(event:GeometryServiceEvent):void
    {

    / * logic to fill the _mgrsGrid variable * /.


    var eventObject:GridConverted = new GridConverted (GridConverted.SUCCESS);
    eventObject.mgrsGrid = _mgrsGrid;
    dispatchEvent (eventObject);

    }

    }

    In addition to the ActionScript component which respects the transformation logic I also coded a separate custom event that returns the output of the transformation to the main application:

    helyx package
    {
    import flash.events.Event;

    SerializableAttribute public class GridConverted extends Event
    {
    public static const SUCCESS: String = "gridConvert_success";

    public void GridConverted (type: String, bubbles: Boolean = false, cancelable: Boolean = false)
    {
    Super (type, bubbles, cancelable);
    }

    public var mgrsGrid:String;

    }
    }

    In the main application that starts the process, I have the following code to add a listener for the event:

    private function init (): void
    {

    / * other logics... * /.

    addEventListener (GridConverter.SUCCESS, gridConvertedHandler);

    }

    private void gridConvertedHandler(event:Event):void
    {
    txtGrid.text = gridConverter.mgrsGrid ();
    }

    My problem is that, while there is no error thrown 'gridConvertedHandler' is never called in response to the call 'dispatchEvent() '.

    Grateful for any thoughts...

    Tony

    You have added an event listener to the main application class which is not the one that actually dispatches the event. The auditor should be added to the instance of your GridConverter class.

    private function init (): void
    {

    / * other logics... * /.

    myGc. addEventListener (GridConverter.SUCCESS, gridConvertedHandler);

    }

  • problem of adding - actionscript/flash is able to calculate correctly?


    Hello
    I add two float numbers that return an incorrect result. Here's what I do...

    var simpleMath:Number is Number (parseFloat("110.50")) - Number (parseFloat("107.10")).;
    Alert ("mathematics simple =" + String (simpleMath));

    The result I get is... Simple calculations = 3.40000000000001

    How is that possible?
    I tried...
    var simpleMath:Number = Number (110.50) - Number (107.10);

    var simpleMath:Number = 110, 50 - 07.10;

    var numba:Number = 110.50;
    var numbb:Number = 107.10.
    var simpleMath:Number = numba - numbb;

    They all give the same result...

    When I try this:
    Final_Payment.text = Number (Total_Payment_Due.text) - ((Number (Payment_Count.text)-1) * Number (Payment_Amount.text));
    Where Total_Payment_Due.text = 110.50 and 36 = Payment_Count.text and Payment_Amount.text = 3.06
    I get this result: 3.39999999999999...

    Is someone can you please tell me what I'm wrong. Or is there a problem with actionscript/flash...

    I use actionscript within a savecontent Flash and Cold Fusion 7.0.1 form variable.

    It drives me crazy...

    Also, is there a function rounded for floats? I know the Math.round () but it only works on integers.

    Any help would be appreciated to extreemly!
    Thanks in advance,
    Ed

    "ed_skinner" wrote in message news:[email protected]...
    >
    > Hi,.
    > I add two float numbers that return an incorrect result. Here's
    > what I do...
    >
    > var simpleMath:Number = Number (parseFloat ("110.50")).
    > Number (parseFloat ("107.10"));
    > alert ("mathematics simple =" + String (simpleMath));
    >
    > The result I get is... Simple calculations = 3.40000000000001
    >
    > How is this possible?

    It's the same old problem we always had with floating stored in the memory of the computer... Flash not only. To deal with
    dollars and cents, you can make it easy on yourself by multiplying both sides by 100 and rounded to eliminate decimals, can
    final calculation divide by 100.
    You can also multiply/divide by 1000 if you need greater precision in the slot.
    tralfaz

  • JavaScript to actionscript problem in Internet Explorer

    I spent so much time looking for a straight answer, but I can't find a solution to this simple question.

    The functions of work for Firefox, but not in Internet Explorer:

    ActionScript 3:
    to import flash.external.ExternalInterface;

    var callJasFunction:String = "callJavascript";
    var returnValue:String is ExternalInterface.call("saveglobalscore",score) (callJasFunction) m:System.NET.SocketAddress.ToString ();.

    JavaScript:
    < script type = "text/javascript" language = "javascript" >
    function callJavascript() {}
    return "Test";
    }
    < /script >

    I tried allowdomainaccess and id in the flash area.

    What could be the problem?

    The most common problem with ExternalInterface does not not on IE is an incorrect or missing id attribute in your object tag resulting either directly or as a result of replacement of javascript techniques (for example, swfobject/activecontent.js etc.).

    The id attribute is the base how to access the SWF from the DOM in javascript. In fact in this regard, I think that IE is very strict with regard to what it takes. For example, Firefox is lenient and allows you to break the rules of the w3c and work remains. Example: someone the other day in the forum was a path with slashes in as long as the attribute id. Obliques are non-compliant characters for an attribute ID IE failed because of this, the FF equivalent still worked.

    The other thing that affects ExternalInterface.available is setting the AllowScriptAccess parameter incorporating the parameter. The default value is "sameDomain", which means that you can access javascript if the swf file is in the same domain as the page container. Most often this is the case if this isn't usually a problem unless his explicitly set to 'never '. But, if your swf file was a different domain then you must set to 'always' - from memory I think.

  • His ActionScript problem

    Hello

    This is my first post here, and I was wondering if anyone would be able to help me with a bit of a problem I have Flash. I hope this is the right place to put it.

    I have created three short animations using flash and want to link them together. After searching the Internet I found actionscript code that allows them to play one after the other. I created another scene that I called charger and in the first keyframe, I entered the following actionscript code:

    files_array = ["intro.swf", "space.swf", "space2.swf"];
    current = - 1;
    function nextMovie()
    {
    If (current < files_array.length - 1) {}
    current ++;
    loadMovieNum (files_array [current], 1);
    this.onEnterFrame = function()
    {
    If (_level1._currentframe > = _level1._totalframes & & _level1._totalframes > 1) {}
    this.onEnterFrame = undefined;
    this.nextMovie ();
    }
    };
    } else {}
    unloadMovieNum (1);
    }
    }
    nextMovie();

    This seems to work great on playback of all three files listed in the table at the top of the script. The problem is that none of the sounds in three animations that calls this script plays more. They gladly play if I play each of the individual animations without using the loader file, but using the new file I get all the animation but no noise at all.

    Anyone know what I'm doing wrong at all. I'm exceptionally new using actionscript, and I don't know what are the causes or how to resolve it, if there is a way.

    Cheers for any help.

    Rob.

    What types of sounds are they? I'm guessing that you have used the Sound class to play?

    If so, you must go into the original files and change the part that looks like this:

    var mySound:Sound = new Sound();

    TO

    var mySound:Sound = new Sound (this);

    Who should correct very well.

  • Problem converting java.util.HashMap in an ActionScript object

    I have this weird problem and I can't figure it out, let me explain:

    I have a java object A that has a variable myMap HashMap, this card will hold objects of class b. inside B is an instance of class C. In ActionScript, I have A corresponding class that has a myMap variable, but since no HashMap in ActionScript type is Object and I also have corresponding, B and C classes.

    [RemoteClass(alias="com.test.A")]
    public class A {}
    public var myMap:Object; It's the hash in Java table
    }

    [RemoteClass(alias="com.test.B")]
    public class B {}
    public var: identification number;
    public var name: String;
    public var myC: C
    }

    [RemoteClass(alias="com.test.C")]
    {} public class C
    public var myId:Number;
    public var myName:String;
    }

    I need to put objects C of each object B of the card inside a DataGrid control, so I get the class A with a RemoteObject object and then I iterate on myMap property using a foreach loop, like this:

    for each {(var i: * dans objectA.myMap)}
    someArrayCollection.add (i.myC);
    }

    The first issue was published here, java HashMap contains 3 elements, in the loop of the ActionScript I get 4 items, the fourth being a reference to an object. To avoid this, I use the operator "is" like this:

    for each {(var i: * dans objectA.myMap)}
    (if I is B) {}
    someArrayCollection.add (i.myC);
    }
    }

    Now, here's the real problem, when I do that objects C contained in the myMap property B objects are reset to their original values (myId is NaN and MyName is an empty string according to class C). I changed the if this condition and worked:

    for each {(var i: * dans objectA.myMap)}
    If (!) () I is A)) {}
    someArrayCollection.add (i.myC);
    }
    }
    When I did the control DataGrid displays the values of the perfectly good C (myId and MyName) objects. I did a little more testing and I 'found' the question, if I use an instance of the class B anywhere in my application, the values of the C object are reset, for example:

    for each {(var i: * dans objectA.myMap)}
    (if I is B) {}
    someArrayCollection.add (i.myC);
    }
    }
    var test: B = new B();

    This resets the object C (myId and MyName) of each object B contained in the plan of a being that has no absolute meaning.

    If the thing is when I use the B class, which is the class of the objects inside myMap, C objects are set to zero. Does anyone know how to fix this?

    I'm using Flex 2.01 hotfix 3, I wonder if it's some kind of bug that has been fixed in a later version.

    Any help would be appreciated.

    OK I fixed it, as I have said that my app was a more complicated scenario here is what happened:

    The C object is the superclass of the D and E, and the Java service puts the D or E, objects inside the property of object B myC, myC type C and C is the super class D and E, then it works.

    The problem is that in Flex object C inside B is actually a D or E object, I just had to use an instance of D and E somewhere in the code, that is why Flash Player included these classes.

    Anyway, I know it's all complicated, but the good news is that it works now

  • Graphics: problem to specify the property type in a set of columns in actionScript (urgent)

    Hello

    I'm trying to create a chart (Cartesian) with an areaset, a column set
    and some lineseries.
    Here is the relative piece of the mxml code (it works fine)

    < mx:CartesianChart id = "c1" showDataTips = "true" width = "807" >
    < mx:horizontalAxis >
    < displayLocalTime = "true" = "true" autoAdjust mx:DateTimeAxis
    alignLabelsToUnits = 'true' labelUnits = 'days '.
    labelFunction = "Longdate" dataUnits = 'days '.
    parseFunction = "myParseFunction" / >
    < / mx:horizontalAxis >

    < mx:series >
    < mx:Array >
    < mx:AreaSet type = '100 percent' >
    < mx:series >
    < mx:Array >
    < mx:AreaSeries width = "50".
    dataProvider = "{xxx}" displayName = "{yyy}" yField = "value".
    xField = "date_application" / >
    < / mx:Array >
    < / mx:series >
    < / mx:AreaSet >
    < mx:ColumnSet type = "bunk" >
    < mx:series >
    < mx:Array >
    < mx:ColumnSeries width = "50".
    dataProvider = "{xxx}" displayName = "{yyyy}" yField = "value".
    xField = "date_application" / >
    < mx:ColumnSeries width = "50".
    dataProvider = "{xxx}" displayName = "{yyy}" yField = "value".
    xField = "date_application" / >

    < / mx:Array >
    < / mx:series >
    < / mx:ColumnSet >
    < mx:LineSeries width = "50" dataProvider = "{xxx}".
    displayName = "{yyy}" yField = "value" xField = "date_application" / >
    < / mx:Array >
    < / mx:series >
    < / mx:CartesianChart >


    When I try to create the same graph in ActionScript, my table is the source of the problems.

    the table should be rendered the columnseries as a group "stacked." but it makes "stacked" each columnserie.
    It seems that two graphs on each other
    (same thing with areaseries)

    I didn't find the solution and I am stuck. Can someone help me?
    It is very urgent and critical

    piece of code (inside the Cartesian graph)

    var areaSet:AreaSet = new AreaSet();
    var columnSet:AreaSet = new ColumnSet();
    [creation of the series in tables tmpArea and tmpColumn]
    ...

    areaSet.series = tmpArea;
    columnSet.series = tmpColumn;
    tmpAll.push (areaSet);
    tmpAll.push (columnSet);
    for (i = 0; i < tmpLine.length; i ++) {}
    tmpAll.push (tmpLine [i.toString ()]);
    }
    series = tmpAll;


    Thank you

    Oliver

    Hi Siva,

    In this post, you will find the source code I use to convert to e4x form objectProxy.

    var tmpResults:XML = XML (_httpService.lastResult);
    chart reading
    this.chartTitle=tmpResults.@description;
    This ._chartVBox .label = this .chartTitle;
    reading the series
    for each {var content: XML (in tmpResults.mce_set)}
    tmpSerie = new Curve (content.@type_serie);

    var ss:ArrayCollection = new ArrayCollection();

    for each {(var tmpXml:XML in content.record)
    var oto: ObjectProxy = new ObjectProxy;
    Oto.Field1 = tmpXml.Field1.ToString ();
    Oto.Field2 = tmpXml.Field2.ToString ();
    OTO.field3 = tmpXml.field3.ToString ();
    Oto.Field4 = tmpXml.Field4.ToString ();
    Oto.Field5 = tmpXml.Field5.ToString ();
    ss.addItem (oto);
    }

    tmpSerie.dataProvider = ss;

  • [BIG PROBLEM] ActionScript 2 WENT into the Flash CS6

    I have never had/used Actionscript 2, and most of the tutorials on youtube where they use actionscript 2... I need too much ;(

    I looked for a month and still not find it please help!

    By Sander

    Flash CS6 has ability to AS2.  This is the new Flash versions, versions of clouds that do not support the AS2.

  • Problem with actionscript 3 game movie

    I need two buttons in my film to play the parts of my calendar.  My actionscript looks like this:

    btnConnect.addEventListener (MouseEvent.CLICK, play_btnClickHandler);

    function play_btnClickHandler(ev:MouseEvent):void

    {

    this.gotoAndPlay (1);

    }

    btnBranded.addEventListener (MouseEvent.CLICK, play_btnClick);

    function play_btnClick(ev:MouseEvent):void

    {

    this.gotoAndPlay (149);

    }

    The first button works fine.  The second button will just frame 149 and stops.  What I am doing wrong?

    There is nothing wrong with the code that you show.  Look for something else, like a stop(); command in frame 149

Maybe you are looking for