Day 3, Exercise 4

I am working on the exercise pdf "Using XML With E4X" and
right at the beginning it says: "26. From the events folder open
OpenSelectEvent.as."
In my Events folder I have an
OptionSelectEvent.as file. Is this a typo in the PDF
instructions, or am I missing a file?
Maris

It is a typing error. I found a couple others in there, too.
I was able to complete the lesson successfully.

Similar Messages

  • Download day 2 exercise result file

    Download
    day 2 exercise result file
    Finished all the video and exercise in one day. It takes
    about 4-5 hours in total. It's a really nice tutorial and looking
    forward for the next one.

    thank you.

  • Errors in Day 3 exercise

    I'm doing this exercise:
    http://www.adobe.com/devnet/flex/pdfs/using_remote_object_to_send_data_to_the_server.pdf
    In the first part, you are told to delete the previous
    project but not the
    contents.
    Then you are told to create a new project with this path:
    C:\adobeFlexTraining\AdobeODT
    Further on, you are told to open ReservationData.mxml which
    was in the old
    project. However, since the path to the old project was
    C:\adobeFlexTraining\_workspace\AdobeODT and the new project
    eliminates the
    _workspace folder in the path, ReservationData.mxml (which
    was in the first
    project) is unavailable.
    Error? Or have I misunderstood something?
    Nancy

    It is a typing error. I found a couple others in there, too.
    I was able to complete the lesson successfully.

  • Day 2, Exercise 4 Error

    I am getting an error on exercise 2.4 when trying to run the application with the network monitor enabled. Copied directly it reads: 
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:37813/f45iaw100/remoteData/employees.xml?hostport=adobetes.com&https=N&id =2B71627D-08C3-E7C9-5B8B-298A8C2E5787"]. URL: http://adobetes.com/f45iaw100/remoteData/employees.xml"] 
      at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:345] 
      at mx.rpc::Responder/fault()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\Responder.as:68] 
      at mx.rpc::AsyncRequest/fault()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.a s:113] 
      at DirectHTTPMessageResponder/errorHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\messa ging\channels\DirectHTTPChannel.as:410] 
      at flash.events::EventDispatcher/dispatchEventFunction() 
      at flash.events::EventDispatcher/dispatchEvent() 
      at flash.net::URLLoader/onComplete() 
    As far as specific details on the steps I have taken, they are identical to the instructions on the exercise page. I am using the trial version of the Flash Builder 4.6 premium package. I deleted all the files from my 'Day2' workspace and re-imported them to try again from scratch and got the exact same error each time.

    Sure, here is the code. I have also added it as an attachment. Thank you for your help.
    Regards,
    Ted Nelson
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                            xmlns:mx="library://ns.adobe.com/flex/mx"
                            minWidth="955" minHeight="850"
                            creationComplete="initApp()">
           <!-- Exercise 2.04: Populating an ArrayCollection with retrieved data using the result event -->
           <!-- Styles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
           <fx:Style source="Styles.css"/>
           <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
           <fx:Script>
                  <![CDATA[
                         import mx.controls.Alert;
                         import mx.events.CalendarLayoutChangeEvent;
                         import mx.rpc.events.ResultEvent;
                         // variable declarations

  • Day 1 Exercise 3

    Hi,
    When I try to load assets/roomList.xml, I get a Security
    Sandbox Violation.
    What do I do?
    thank you!
    Chris

    never mind, i added my project folder to the Security
    Settings Manager and all is well...duh...

  • Day 2, Exercise 6 - Bindable ?

    Hi,
    The variable is bindable:
    [Bindable] public var selectedOptions:ArrayCollection;
    So, if I set the list data provider to this variable, like:
    <mx:list id="thelist" dataProvider="{selectedOptions}" />
    That means any change on the variable value will impact to list.
    The list will update automatically if bind variable value change.
    ( That's what I understood "Bindable" base on data grid example )
    Why this seems not working ?
    And we need add init()  ( trigger on creationComplete )
                private function init():void {
                    selectedOptions.addEventListener(CollectionEvent.COLLECTION_CHANGE, addToList);
                private function addToList(event:CollectionEvent):void {
                    thelist.dataProvider = selectedOptions;
    So, we are modify the dataProvider of list every time when the variable value changed.
    Why simply set the dataProvider and make the variable [Bindable] didn't work ? ( <mx:list id="thelist" dataProvider="{selectedOptions}" /> )
    Thank you for your help.

    I think sometimes if the objects in the collection are complex, like an instance of a class that have properties, if those properties in the class change the binding doesn't work unless you explicitly set up binding in the class.

  • In day 4, video # Creating "pages" with Flex states doesn't work

    i can't open video training http://www.adobe.com/devnet/flex/videotraining in day 4. it's name( Creating "pages" with Flex states ) doesn't work, it report error. supporter can look it and solve problem

    Hi,
         I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA

  • Wrong file in the "Populating an ArrayCollection with retrieved data" exercise

    In the "Populating  an ArrayCollection with retrieved data" there is a file ex2_04_starter.zip, which contains ex2_04_solution.mxml file and should contain ex2_04_start.mxml, right ?
    Great videos! Thank you!

    Hi Burpix,
    Looks like the link for the starter file within the exercise is linked to the wrong file.  If you pull the project archive for Day 2 you will get all of the starter & solution files and video transcripts for all of Day 2 exercises.  The starter file for ex2.04 is correct if download it from the project archive zip.  Adobe will be fixing the link within the exercise later but for now you can pull the correct starter file from the project archive zip.

  • Broken Link - Offline - Day 4 - Creating "Pages" with Flex states

    Hi,
    This is an excellent series!!
    When accessing the Day 4 - Creating "pages" with Fex States in offline mode, Adobe Media Player, complines "Playback failed - This media file is corrupt or malformed". Can you please fix it and let me know so that I can restart the download?
    Thanks.

    Hi,
         I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA

  • Why are Java files listed as needing repair in Disk Utility?

    Why are Java files always listed as needing repair in Disk Utility?

    FrenchToast wrote:
    Baltwo, bull's eye, as always!
    X423424X's question is pertinent too: you usually need to repair permissions after some major upgrade or update, not on a regular basis. Is there a particular reason why you'd often try to repair permissions? Here's more on the subject.
    Repairing permissions after an update or upgrade is harmless, but I would question the need to do it even there. The Apple update itself should set the correct Permissions. I still do this, really as a hangover from Tiger days -- not certain it was really ever needed there either -- and because it's a habit that's hard to kick, but it's never found anything to repair...but for one buggy exception, which was the 10.5.8 Combo update. Running it once and then repairing Permissions created a real error. It was discovered the Combo needed to be run twice back to back and then Permissions repair. In fact, one would have been better off not running Permissions for that update to begin with. There it wasn't harnless.
    https://discussions.apple.com/message/9968141#9968141
    BTW, even Flash updates, which always used to set incorrect Permissions, are coming in clean these days.
    Exercises in Futility: Permissions Repair

  • Applet Does Not Receive Parameters Nor Display Defaults

    My applet will not display a Ellipse either via the default values in my java code nor via the parameters given in the HTML document. Does anyone see what I'm doing wrong here? Here are both my documents:
    import java.awt.geom.*;
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    public class CircleByParam extends javax.swing.JApplet
              private Ellipse2D.Float circle;
              private float x, y, w, h;
              private Color circlecolor;
              public void init ()
                        String xcoor = getParameter("X");
                        String ycoor = getParameter("Y");
                        String width = getParameter("W");
                        String height = getParameter("Y");
                        String fillcolor = getParameter("FillColor");
                        if (xcoor != null)
                                  x = IntVerification(xcoor);
                        else
                                  x = 25;
                        if (ycoor != null)
                                  y = IntVerification(ycoor);
                        else
                                  y = 25;
                        if (width != null)
                                  w = IntVerification(width);
                        else
                                  w = 25;
                        if (width != null)
                                  h = IntVerification(height);
                        else
                                  h = 25;
                        if (fillcolor != null)
                                  circlecolor = ColorVerification(fillcolor);
                        else
                                  circlecolor = Color.BLUE;
              private int IntVerification (String value)
                        int number = 5;
                        try
                                  number = Integer.parseInt(value);
                        catch (NumberFormatException e)
                                  this.showStatus("Bad parameter " + value);
                        return number;
              private Color ColorVerification (String value)
                        //Assigns color to BLACK by default
                        Color color = Color.BLACK;
                        try
                                  color = Color.decode(value);
                        catch (NumberFormatException e)
                                  this.showStatus("Bad parameter " + value);
                        return color;
              public void paint (Graphics2D screen)
                        Graphics2D screen2D = (Graphics2D)screen;
                        screen2D.setColor(circlecolor);
                        BasicStroke pen = new BasicStroke();
                        screen2D.setStroke(pen);
                        circle = new Ellipse2D.Float(x,y,w,h);
                        screen2D.fill(circle);
    HTML Document:
    <HTML>
         <HEAD>
              <TITLE>Java 21 Days - Day 12 Exercise 1</TITLE>
         </HEAD>
         <BODY BGCOLOR="WHITE">
         <APPLET CODE="CircleByParam.class" height = "400" width="400">
         <param name="X" value="200">
         <param name="Y" value="200">
         <param name="W" value="25">
         <param name="H" value="25">
         <param name="FillColor" value="#996633">
         This applet requires a Java-enabled browser.
         </APPLET>
         </BODY>
    </HTML>

    Nevermind I figured it out, needed to make sure the paint parameter was (Graphics screen) rather than (Graphics2D screen)

  • A wrong effect in the inks with invisible sprites

    Hello,
    I am watching a wrong effect associated with the inks in a sprites.
    I have several sprites located in the score which are overlapped
    Specifically are images irregular. To avoid that when the user put the mouse on one of the areas the mouse interact with another area I use "Background transparent" ink and working properly.
    But sometimes I put in that place a sprite (to have it available if I touch a button) and as I do not want to be seen on stage I put it invisible.
    It´s strange, but after leaving that sprite invisible, without modifying the "Background transparent" ink, it don´t work if I put the mouse on the sprite.
    The resulting effect is as if the ink used were the “Copy" ink.
    Do you think something to avoid this problem?

    Hi Burpix,
    Looks like the link for the starter file within the exercise is linked to the wrong file.  If you pull the project archive for Day 2 you will get all of the starter & solution files and video transcripts for all of Day 2 exercises.  The starter file for ex2.04 is correct if download it from the project archive zip.  Adobe will be fixing the link within the exercise later but for now you can pull the correct starter file from the project archive zip.

  • Applet Displays in Appletviewer but not on Web Page?

    My applet appears and functions fine when I view it under applet viewer. However, when I try to open and view the applet on a html page that includes it, nothing displays. Can someone help me out?
    Class of Applet:
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class PeteApplet extends JApplet
              PetePanel pete;
              public void init()
                        pete = new PetePanel();
                        this.setSize(452,146);
                        JPanel pane = new JPanel();
                        pane.setLayout(new GridLayout(1,1,15,15));
                        pane.add(pete);
                        this.setContentPane(pane);
                        this.setVisible(true);     
    HTML Code:
    <HTML>
         <HEAD>
              <TITLE>Java 21 Days - Day 13 Exercise 1</TITLE>
         </HEAD>
         <BODY BGCOLOR="WHITE">
         <APPLET CODE="PeteApplet.class" height="146" width="452">
         This applet requires a Java-enabled browser.
         </APPLET>
         </BODY>
    </HTML>

    which browser are u using ?? try netscape and see if u get the same error

  • Connecting to facebook account on mobile app?

    Hi, is there some sort of tutorial about establishing a connection between a mobile AIR app and a facbook account for login or data retrieve purposes? Is there something like this for twitter also?

    Check this post on Adobe Devnet. It gives good overview of integrating Facebook and Twitter in AIR applications: http://www.adobe.com/devnet/flex/articles/100-days-of-exercise.html

  • Apple watch resting calories seem far too high

    I've had the apple watch since the 24th, and I've worn it continuously until bedtime. All of my metrics are accurate (height/weight).
    My Resting Calories (found in the iPhone activity app by swiping left under the move row) are listed as 3600 Cal. This seems incredibly high to me. My BMR is 2100 Cal, as calculated here: http://www.myfitnesspal.com/tools/bmr-calculator
    I've used other BMR sites and they all give me a similar number.
    Is anyone else having this issue? I can't comprehend how it could be so high. If I ate 3600 Cal in one day (without exercising) I would be gaining weight rapidly!

    No.

Maybe you are looking for

  • External HD "Not Readable" after Boot Camp Installation

    After installing Windows XP on my Mac, I switched back over to OS X and tried to access my external hard drive which greeted me with the message: "The disk you inserted is not readable by this computer." I assume that the Boot Camp process must've af

  • DVR620KU Recording Problem VHS-DVD

    Having a problem copying from a VHS tape to DVD. Followed the instructions in the Owners manual and and checked the input settings but when the recording process is completed there is nothing on the DVD. Any suggestions ?? Solved! Go to Solution.

  • Standard Purchase Order (PO) MEDRUK form

    Hi,     I am copying the standard MEDRUCK form to ZMEDRUCK. I believe standard MEDRUK form will be used for new purchase orders as well changed purchased orders and for the changed purchase orders it will print only changed lines and header.  In the

  • How to use PowerBI with TFS Odata

    I need to access TFS data from visual studio online I found this resource with all odata feeds I need https://tfsodata.visualstudio.com/ However, when I try to use it with organizational account in Excel it says authentication type is not supported.

  • Would like to ask if this is an indicator of a fake iPhone 4S

    Hi, I have a 64gb iPhone 4s. And I noticed at the back, after the line "Designed by Apple in California", it followed by two lines of Chinese characters (I think) with A1387 in it. Below those is a logo (can't really describe what it looks like), and