XML / Actionscript Question

Hi-

I try to add a widget "weather" on my site. I'm pulling the forcast XML using this link:

XML weather

I get the code XML back ok, but the XML contains the names of data as "weather icon" and others with dashes. When I try to read the data I get an error about an invalid property, "icon". I guess that's because the hyphen is a kind of character "reserved"?

If anyone can suggest how I can access this information would be great!

Thank you

Rich

I guess that makes you the AS3 and try to read the nodes using the point E4X syntax,
i.e.

node. Weather-icon
node. Weather-icon [0]
node. Weather-icon [1]

etc...

Try to use
node. Child("Weather-Icon")
node. Child("Weather-Icon") [0]
node. Child("Weather-Icon") [1]

etc...

Tags: Adobe Animate

Similar Questions

  • FrameMaker-> XML-> FrameMaker questions

    Hello

    I have currently about 150 pages fm submits, that were originally unstructured, but I managed to make a structure of work for her. There are mainly paintings, which have references, images, graphics, tables and internal stuff, so all normal technical document. Reason I'm structuring it and what about XML is that we have another file XML where we will add data in this document, and currently, it is done by hand and we want to do it my machine. These things are done by the magic of programmers who can better c-related speaking in tongues English.

    I can make the XML of this fine, so that the XML that is created is valid and structure looks like, it is very well copied as XML. Graphics, images and internal tables are currently inside anchored like graphics frames, since they were something similar in the informal document and read/write rules that transform images EPS, because internal tables do not work like SVG, I prefer otherwise, because it is also the XML and anchored frames have some links referring to other parts of the document. SVG would be also easier to manage in programming (or so I think) as the EPS. If anyone can think of the best way to do this, I'm open to suggestions.

    Question now is when I opened this created XML in FrameMaker, it loads first half-hour (computer is Intel T2500 2 GHz, 2 GB of RAM, computer laptop XP Pro SP3 and FM is version 10), then displays the 9 error pages records concerning 'framemaker cannot insert table (cell) at the current position cell' and then document appears as 600 to 1000 pages 'masterpiece' where 150 pages seems normal but after this first page If displays of new and tables is presented as a column in the page. It was suggested that if the file is created by FrameMaker, FrameMaker it would open normally, but apparently this is not the case.

    Reading/writing-rules currently look like this: (if it is useful at all)

    {"Table" element

    is the table fm "Table" element

    }


    element {"TableHead"

    is the fm "TableHead" table header element

    }

    element {"TableBody"

    is part of fm "TableBody table body."

    }


    element {'Row'

    table fm line item is "Row".

    }

    element {'cell'

    is fm "Cell" table cell element

    }


    cross reference fm 'HRef' element's "HRef";


    element {'Row'

    is the element of row in table fm 'ROW '.

    }


    'Cell' is fm "CELL" table cell element


    element {"Graphic"

    is the graphic element of fm;

    writer anchored frame {}

    export to file ' $(entity) .eps "as"EPS ".

    specify the size in pt;

         }

    }


    element {"Equation"

    is fm equation element.

    export equation writer to file ' $(entity) .eps "as"EPS ".

    }

    There are some things that might look odd for some people. There are a few conditional text in FM submit and without rules as

    'Cell' is fm "CELL" table cell element

    XML is not valid against the DTD.

    I'd appreciate any help. I can also provide other files here, but due to NDA reasons, real document is no-go, but I think that if the structure is needed to see, the DTD is very good.

    Ian, Russ,

    As you probably know both, it is perfectly acceptable to have multiple rules read/write for a type of item. In this case, the rules include:

    element {'Row'

    table fm line item is "Row".

    }

    element {'Row'

    table fm line item is "ROW".

    }

    or

    element {'cell'

    is fm "Cell" table cell element

    }

    'Cell' is fm "CELL" table cell element

    The first pair of rules said FrameMaker when it creates XML, FrameMaker and PLACE items that both are output as an XML line items. The second pair of rules said the items FrameMaker and CELL are saved as XML as cell.

    When there are several relevant mappings, FrameMaker uses the first to appear in the rules of r/w. When is the reading of XML documents by using these rules, he could map a line XML line or LINE item and a cell to cell or CELL. Since mixed case of these two rules version appears before the version all uppercase, when reading XML, FrameMaker elements with the same name as the XML namespace it creates.

    Ejlamsa,

    Your FrameMaker EDD has both row and LINE (cell and CELL)? If this isn't the case, you can remove rules for the types of items you don't use.

    Insofar as the error messages and the wrong document when you open XML, Ian is quite correct that FrameMaker needs to know the number of columns there are in the table. If your DTD does not yet of this attribute, the simplest solution is to add a. It is possible using a plug-in or script to create columns as needed, but it's a lot more effort.

    -Lynne

  • XML schema questions

    Question 1:

    If I have a number to more than one relationship I want to display in more than one table.  Is there a simple way to link that?

    An example would be a car that use similar elements (seats, etc.).  I do not think that livecycle supports keys

    So the XML looks like

    < orderCatalog >

    < car >

    Auto1 < modelNumber > < / modelNumber >

    ... year, etc.

    < / automotive >

    < part >

    part1 < partNo > < / partNo >

    < / part >

    < joinAutoPart >

    Auto1 < modelNumber > < / modelNumber >

    part1 < partNo > < / partNo >

    < / joinAutoPart >

    < / orderCatalog >

    I want to report it to

    Subform pointing to joinAutoPart

    Header field pointing to the automobile (with name and model number)

    Table with information pointing to partNo (with partName and partNo and price)

    This way, I would have one table per car with all of the items listed

    Question 2:

    Drive to load a XML on the internet by pressing a button of loadXML does

    Question 3: no xml related

    Is there a way to save a link to a row in the table to a different line of table

    Using the example above, if I had several tables auto with several parties.  The user selects a part I add to a table of orders.

    I would like to highlight this field showing that they have ordered the part and gray on the button.

    However, if they remove the item from the order, I would like to add back without having to search all the fields in each table to find the part number.

    Q1 - Yes when XML is loaded into the form it goes in a node called xfa.datasets.data. You can also load your own in your own region, so it is not inconsistent with what the (highly recommended) form. There is a set of full of functions to deal with the dom or you can create an E4X object in javascript and use the E4X standard tools to manipulate.

    Q2 - depends on how build you. Case of failure, the SOAP call expire and you can not stop it and report accordingly. Then you can continue in the form without that data (if you allow).

    Paul

  • Basic Actionscript question: mouse listener ROLL OVER event

    Hello-

    This is a very basic question, but I can't seem to find an answer. I have a mouse over the event and have created the buttons with the mouse overs which works very well. I created the actionscript code to go to a specific web page when a user clicks the button. Now, I need to add a label to the mouse more then when someone of the mouse on any area of the button, it will show them a particular name for the button.

    I'm sure it can be done using actionscript in a mouse event run on command, but I can't understand what I need to display the text. Here is where I am:

    community_btn.addEventListener (MouseEvent.Roll_Over, showmsg);

    function showmsg(evtObj:MouseEvent):void

    {

    }

    Thank you!

    If you want the text to follow the mouse, you can have a movieclip that contains the textfield object is empty, and when you rollover the button, the function of turning tells that movieclip to take the x and y position of the mouse (mouseX and mouseY) and fills this movieclip with the appropriate text.  Roll off the button removes the text, making the invisible text movieclip.

    If you want the text to have a background, you could also control the visible from the movieclip property so that it appears on rolling and disappears when you deploy.

    Thus, in the reversal function, assuming that you had this ToolTip named MC... "toolTip", soimething this might work for you

    toolTip.x = mouseX;  could add a little space if you want, for example: mouseX + 5;

    toolTip.y = mouseY;

    toolTip.visible = true;

    toolTip.tField.text = 'text ';

    And implementation code to would have to deal with the last two lines.

  • HTTPService request and the Actionscript questions

    Hello

    I don't know if anyone on the list could tell me what I'm trying to do here is possible. The scenario is that I have here a HTTPService which functionally works fine, but I want to do the rest of the processing in-house, instead of PHP (that of the HTTPService do the job)

    I wanted to make a function call to the HTTPService and then manage the variables I get from PHP, which currently I just use something like {simulation.lastResult.service.number}. If I want retrieve this value directly and do some manipulations of calculation with it in Actionscript, how can I retrieve the value of the above without having to rewrite my HTTPService? (Or, what is more effective?)

    Note: I am currently using PHP to do the same thing, but I would like to do in-house without hoarding my remote server.

    Any help is appreciated.

    Here's the HTTPService I:

    Try this example. It uses an XML file on my site that the data source and does not use PHP for any treatment, but it gives the basics.


    http://www.Adobe.com/2006/mxml '.
    layout = "absolute" >

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

    define your variables to the instance level and make sure that they are can be related
    [Bindable] private var totalBuy:int = 0;
    [Bindable] private var totalSell:int = 0;
    [Bindable] private var remaining: int = 0;

    private void resultHandler(e:ResultEvent): void {}
    This returns XML data your data may be different.
    You will see what the returned XML. Your code will change here
    According to what is returned.
    var xmlLst: XMLList = new XML (e.result) .children ();
    Alert.Show (xmlLst.toXMLString (), "Return Values");
    totalBuy = xmlLst [0];
    totalSell = xmlLst [1];
    remaining = totalBuy - totalSell;
    }

    private void faultHandler(e:FaultEvent): void {}
    Alert.Show (e.message.toString (), "Error");
    }
    private void runService(): void {}
    dataService.send ();
    }

    ]]>

    <>
    ID = "dataService."
    ' URL =' http://www.siteorderly.com/xml/costData.xml '
    resultFormat = "xml".
    result = "resultHandler (Event); »
    Fault = "FaultHandler (Event); » />







  • Excel output format in the xml editor question field

    Hi all

    I have a problem with the release of excel as below.

    I developed a report to xml editor having exit excel, I designed the layout to the rtf model.

    one of the parameters in the report as 11000048,11000050

    so when I check the output excel the above setting is displayed as below.

    1,100,004,811,000,050

    But I need the parameter will be displayed in the format 11000048,11000050 , as written, please help me.

    Thank you

    Please try this

  • HTML 5 output &amp; Actionscript Question...

    Hello

    I was wondering if Actionscript is still a viable language?  It will work with HTML 5 output?  (A kind of conversion at the time of publication)?  Or maybe I'm better using JavaScript?  I'm a total newbie when it comes to Animate/Flash.  I used Flash back in the days of Macromedia, but ever since!  I did a job on board animate.  In any case, to stay on the point: what would be the ideal way to script in Animate?

    Thank you

    Jonny

    AS3, this is what you would use for (other than mobile) web applications, desktop AIR apps, apps Android and iOS. At the moment the majority of what people will use is AS3.

    If you do HTML5 Canvas and WebGL, you have no choice but to use Javascript.

    So, the ideal way to script depends on what you are doing.

  • Decryption XML string question - javax.crypto.IllegalBlockSizeException?

    I am new to this and try to encrypt and decrpyt one string XML with AES and Base64 en_decoder but I get the following error. I don't know what the problem is. Without using a decoder and encoder Base64, so it's good, but I need to.

    Error: javax.crypto.IllegalBlockSizeException: input length must be a multiple of 16 when with padded decrypting cipher

    Appreciate all the help!

    My simple program
    ===============
    Encryption by aesCipher;

    try {}

    Byte [secretKey] is Base64.decode ("fqqwZu9U1PCAZQUX + 3nUTA is");.
    SecretKeySpec keySpec = new SecretKeySpec (secretKey, "AES");

    Create the encryption algorithm
    aesCipher = Cipher.getInstance("AES/ECB/PKCS5Padding");

    Initialize the encryption for the encryption algorithm
    aesCipher.init (Cipher.ENCRYPT_MODE, keySpec);

    Byte [] plaintext = "< RQLastName > TESTLastname < / RQLastName > < RQFirstName > TestFirstName < / RQFirstName > '. getBytes();

    Encrypt the plaintext
    Byte [] ciphertext = aesCipher.doFinal (cleartext);

    Base64encodedCiphertext string = Base64.encode (ciphertext);

    System.out.println (base64encodedCiphertext);

    Initialize the same cipher for the decryption algorithm
    aesCipher.init (Cipher.DECRYPT_MODE, keySpec);

    Byte [] base64decodedCiphertext = Base64.decode (base64encodedCiphertext);

    Decrypt the ciphertext
    Byte [] cleartext1 = aesCipher.doFinal (base64decodedCiphertext); <-exception on that line

    System.out.println (new String (cleartext1));

    clear and cleartext1 are the same.
    }
    catch (Exception ex) {}
    ex.printStackTrace ();
    }

    ================
    I use Base64.java, written by Stephen investigation.

    public class {Base64
    public static byte [] encodeData;
    public static String charSet =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + /";

    {public static
    encodeData = new ubyte [64];
    for (int i = 0; i < 64; i ++) {}
    c byte = (bytes) charSet.charAt (i);
    encodeData [i] = c;
    }
    }

    private Base64() {}

    /**
    * base64 encode a string
    @param s the string ascii coding
    * @returns the base64 encoded result
    */

    Public Shared Function
    Encode(String s) throws Exception {}
    Return encodes (s.getBytes ("UTF8"));
    }

    /**
    * base64 encode a byte array
    @param CBC byte array to encode
    * @returns the base64 encoded result
    */

    Public Shared Function
    Encode (byte [] src) {}
    return encode (src, 0, src.length);
    }

    /**
    * base64 encode a byte array
    @param CBC byte array to encode
    @param start starting index
    @param len the number of bytes
    * @returns the base64 encoded result
    */

    Public Shared Function
    Encode (byte [], int start, int length src) {}
    Byte [] dst = new byte [(length+2)/3 * 4 + length: 72];
    int x = 0;
    int dstIndex = 0;
    Int State = 0;     What jacquard tank
    old int = 0;     previous byte
    int len = 0;     length decoded so far
    int max = length + start;
    for (int srcIndex = start; srcIndex < max; srcIndex ++) {}
    x = src [srcIndex];
    switch (++ State) {}
    case 1:
    DST [dstIndex ++] = encodeData [(x >> 2) & 0x3f];
    break;
    case 2:
    DST [dstIndex ++] = encodeData [((vieux << 4) & 0 x 30)]
    | [((x >> 4) & 0xf)] ;
    break;
    case 3:
    DST [dstIndex ++] = encodeData [((vieux << 2) & 0x3C)]
    | [((x >> 6) & 0x3)] ;
    DST [dstIndex ++] = encodeData [x & 0x3F;
    State = 0;
    break;
    }
    old = x;
    If (++ len > = 72) {}
    DST [dstIndex ++] = (byte) "\n";
    Len = 0;
    }
    }

    /*
    * now to clean the end bytes
    */

    switch (State) {}
    case 1: dst [dstIndex ++] = encodeData [(vieux << 4) & 0 x 30];
    DST [dstIndex ++] = (byte) '=';
    DST [dstIndex ++] = (byte) '=';
    break;
    case 2: dst [dstIndex ++] = encodeData [(vieux << 2) & 0x3c];
    DST [dstIndex ++] = (byte) '=';
    break;
    }
    return new String (dst);
    }

    /**
    * A Base64 decoder. This implementation is slow, and
    * does not handle wrapped lines.
    * The output is not set if there are errors in the entry.
    s @param a Base64 encoded string
    * @returns the byte array eith the decoded result
    */

    public static ubyte]
    Decode (String s) {}
    int end = 0;     final State
    If (s.endsWith ("=")) {}
    end ++;
    }
    If (s.endsWith ("is")) {}
    end ++;
    }
    int len = (s.length () + 3) / 4 * 3 - end;
    Byte [] result = new ubyte [len];
    int dst = 0;
    try {}
    for (CBC int = 0; src < s.length (); src ++) {}
    code int = charSet.indexOf (s.charAt (src));
    If (code ==-1) {}
    break;
    }
    switch (src %4) {}
    case 0:
    result [dst] = (byte) (code < < 2);
    break;
    case 1:
    result [dst ++] | = (byte) ((code >> 4) & 0x3);
    result [dst] = (byte) (code < < 4);
    break;
    case 2:
    result [dst ++] | = (byte) ((code >> 2) & 0xf);
    result [dst] = (byte) (code < < 6);
    break;
    case 3:
    result [dst ++] | = (byte) (code & 0x3f);
    break;
    }
    }
    } catch (ArrayIndexOutOfBoundsException e) {}
    return the result;
    }

    /**
    * Test the encoder and the decoder.
    * Call as < code > Base64 [channel] < code >.
    */

    public static void
    survey of hand (String [] args) {Exception
    System.out.println ("encode:" + args [0] + ""-> () "")
    + encode(args[0]) + ")");
    System.out.println ("decode:" + args [0] + ""-> () "")
    + New String (decode(args[0])) + ")");
    }
    }

    903857 wrote:
    I use Base64.java, written by Stephen investigation.

    Your code works when you use a decent Base64 encoder/decoder (for example http://commons.apache.org/codec/) then throw the investigation one.

    Note: block ECB is not secure because it allows counterfeit by splicing of the ciphertext. You must use one of the methods of feedback as a random IV with CBC.

    PS one obvious fault with the encoder/decoder Uhler Base64 is that the encoder adds a new line after 72 characters but the decoder does not correctly remove the new line. He is the likely cause of the IllegalBlockSizeException.

  • The CPF in the first XML: Audio Question

    Hello

    I exported a 5 out of 7 FCP XML in body 5.5 and it is open beautifully but I have an audio issue.

    In FCP audio came as double mono and I've linked together to create a stereo pair, which means that whenever I edited this FCP or SoundtrackPro any change in level, keyframing etc. apply both the left and right channels simultaneously.

    First deals on this audio as two mono tracks so I can only change either left or right - it's the same when editing in hearing, either left or right.

    If it wasn't an import XML that I would normally get over this by changing the audio until I fall on the timeline which is the first way that I understand, but he usually lets me do it with the clips of brough in via XML, I guess because they are already tied to a timeline.

    I also tried a deletion of channels and panoramic centre - it works but overall levels are lowered, and I hesitate to simply increase the levels as this also raises background noises artificially. In FCP, if I had only one channel I'd just copy a channel, and then create a stereo pair.

    What I want is to be able to edit the left channel and right at the same time with audio provided via XML of the FCP - can anyone help?

    Thank you very much

    I would have created a submix track in Premiere Pro and used the track output assignment in the Audio Mixer Panel to send each of the two mono tracks to stereo submix. Then, set the keyframes on the track to submix to increase/decrease the volume on the two mono tracks simultaneously.

    If true stereo, pan the mono channels to left to keep the stereo integrity.

    / Roger

  • Extract XML - Namespace question

    Hello
    I try to extract a value from an xml element, but it does not work when I put the name space.
    The following XML code:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < nfeProc xmlns = "http://www.portalfiscal.inf.br/nfe" xmlns:ds = "http://www.w3.org/2000/09/xmldsig#" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" versão "1.10" = >
    < NFe xmlns = "http://www.portalfiscal.inf.br/nfe" >
    < infNFe Id = versão "1.10" = "NFe35100492754738007094550010000418641120612904" >
    < ide >
    < cUF > 35 < / cUF >
    < cNF > 112061290 < / cNF >
    < natOp > COMPRA PARA COMERCIALIZACAO DEVOLUCAO < / natOp >
    < indPag > 0 < / indPag >
    < mod > 55 < / mod >
    < set > 1 < / series >
    < naturist > 41864 < / naturist >
    < a half > 2010 - 04 - 26 < / half >
    < dSaiEnt > 2010 - 04 - 26 < / dSaiEnt >
    < tpNF > 1 < / tpNF >
    < cMunFG > 3548708 < / cMunFG >
    < tpImp > 1 < / tpImp >
    < tpEmis > 1 < / tpEmis >
    < VAC > 4 < / cDV >
    < tpAmb > 2 < / tpAmb >
    < finNFe > 1 < / finNFe >
    < procEmi > 0 < / procEmi >
    < verProc > 1.0 < / verProc >
    < / ide >
    < / infNFe >
    < / CHILD >
    < / nfeProc >


    But this XML file is a BLOB in a table that I converted to CLOB and after to XMLTYPE.
    And here is the SQL code that I am trying to run:

    Select extract (column_value,'cUF / text () ') AS 'XML ELEMENT.
    of (xmltype (blob_to_clob (fl_l.file_data)) select media_data_clob)
    of fnd_attached_documents fad_l
    fnd_documents_tl fdt_l
    fnd_lobs fl_l
    where fad_l.document_id = fdt_l.document_id
    and fdt_l.media_id = fl_l.file_id
    and fdt_l.language = 'PTB '.
    and fad_l.entity_name = 'NFe_iSupplier') myxml.
    table (xmlsequence (Extract (media_data_clob, '//cUF'))) t;


    Can someone help me?

    Thank you!

    Hello

    You must add a namespace clause the extract() function.

    table example (xmlsequence (extract (media_data_clob,'/ / EUC ',' xmlns = http://www.portalfiscal.inf.br/nfe')))

    HTH,

    Chris

  • Hierarchy XML query question

    I have a table in the form of:


    A, B AND C 1 2 3
    B 4 5 6 D
    A C 7 8 9

    I want my XML in the form
    < name FOO = 'A' >
    < BAR name = "B" >
    < name ZEE 'C' = >
    < x >/< x > 1
    < Y > 2 / < y >
    < Z > 3 < /z >
    < / ZEE >
    < name ZEE = "D >.
    < x > 4 / < x >
    < Y > 5 / < y >
    < Z > 6 / < z >
    < / ZEE >
    < / BAR >
    < BAR name = "C" >
    < name ZEE = 'A' >
    < x > 7 / < x >
    < Y > 8 / < y >
    < Z > 9 / < z >
    < / ZEE >
    < / BAR >
    < / FOO >

    Is such a thing possible via SQL directly or I have to do a sort of XSL transformation? Can someone tell me something that speaks of how this is done?

    It should do so using bys group successive and enveloping the xml of lower level with parent elements.

    with
    -- Get the distinct data sets by domain, datacenter, resource.
    res as(
    select akdomain, datacenter, akresource,
           xmlagg(
             xmlforest(currentload as "currentload", targetload as "targetload", capacity as "capacity")
           ) x
    from   clusterload2
    group by akdomain, datacenter, akresource
    ),
    -- Consolidate the resources by domain, datacenter.
    dc as(
    select akdomain, datacenter,
           xmlagg(
             xmlelement("resource",xmlattributes(akresource "name"),x)
           ) x
    from res
    group by akdomain, datacenter
    ),
    -- Consolidate the datacenters by domain.
    domain as(
    select akdomain,
           xmlagg(
             xmlelement("datacenter",xmlattributes(datacenter "name"),x)
           ) x
    from   dc
    group by akdomain
    )
    -- Wrap the xml with a domain.
    select xmlelement("load-object",xmlattributes(akdomain "domain"),x) x
    from   domain
    /
    

    Product:

    
      
        
          123
          124
          125
        
      
      
        
          223
          224
          225
        
        
          1
          1
          1
        
      
    
    
  • Fancy actionscript question

    Can someone explain why the second works?

     isEven = 0 == (x % 2)
    isEven = 0 == (x & 1)

    The least significant bit of an odd number will always be on, then when you AND with 1, the result will always be 1. The least significant bit of an even number will be always offshore, so when you AND with 1, the result will always be 0.

    that is to say:

    1: 00000001 & 00000001 = 00000001

    2: 00000010 & 00000001 = 00000000

    3: 00000011 & 00000001 = 00000001

    4:00000100 & = 00000001 00000000

    5:00000101 & = 00000001 00000001

    6:00000110 & = 00000001 00000000

    7:00000111 & = 00000001 00000001

  • ActionScript question...

    I have 3 classes in my project, a user, a specialUser (which extends from the user) and adminUser (which extends from specialUser).

    When a person logs in the project, I am currently creating one of three objects, a user, a specialUser or an adminUser, that they connect as.  What I want is to have 1 public variable for all, but I don't know how to type it when I create (and I don't think I can create public variables in a function).  Have a user object to deal with throughout the code would be better than having to make a series of if statements every time I need to use it (if the user then... otherwise if specialUser then... otherwise if adminUser then...).

    Is it possible that I can do this?  I'd like to think there is some simple way to this code, and maybe I didn't enough coffee yet to understand.

    Thank you!

    Jenn

    You say that SpecialUser is from the user and AdminUser extends SpecialUser. (BTW, the convention is to capitalize the class names and if you have not your messages will be confused.) So a SpecialUser or a user Admin is only a specialized aspect of user, you can simply declare

    public var: user;

    and later put

    User = new User();

    or

    User = new SpecialUser();

    or

    User = new AdminUser();

    In other words, a variable typed as a class C can always make reference to an object that is actually an instance of a subclass of C.

    Gordon Smith

    Adobe Flex SDK team

  • XML. Mc load external images not visible mac

    Hello

    I'm going crazy, I just finished a site in flash for a client, I used some basic xml actionscript to dynamically load images, but it does not work on mac (safari/firefox) and sometimes not on a pc with flash 8 installed. I have flash 9 installed on my pc and it works fine.

    This is the url:
    http://www.Gijs.com/Klanten/EZ/

    If you click list (events), you should see images accumulate.

    Could someone throw out me in the face and tell me what that th f * I am doing wrong. He thinks it's the code, but I'm not a really qualified actionscripter.

    If help is really appreciated.
    Thanks in advance

    PROBLEM SOLVED
    I've screwed to the top of the image links check out the adobe tutorial on the paths related and what reading xml file Insert spaces infront of your image url

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157
    So after <! [CDATA [directly the url of the image while this works in fr IE Firefox on windows with a space it does not work on Mac.]]

    < image > <! [CDATA [images/mainImage_ '. $project [Id].]] ». jpg]] > < / image >

    Hello

    I'm going crazy, I just finished a site in flash for a client, I used some basic xml actionscript to dynamically load images, but it does not work on mac (safari/firefox) and sometimes not on a pc with flash 8 installed. I have flash 9 installed on my pc and it works fine.

    This is the url:
    http://www.Gijs.com/Klanten/EZ/

    If you click list (events), you should see images accumulate.

    Could someone throw out me in the face and tell me what that th f * I am doing wrong. He thinks it's the code, but I'm not a really qualified actionscripter.

    If help is really appreciated.
    Thanks in advance

    PROBLEM SOLVED
    I've screwed to the top of the image links check out the adobe tutorial on the paths related and what reading xml file Insert spaces infront of your image url

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157
    So after

  • How is a parent and child, rights and roll determind in the script

    How is a parent and child, rights and roll determind in the script as an exe of java or xml. It's first and second user and which assings these rolls? thanx

    Hello

    Thanks for posting your question in the Microsoft Community.

    Sinc you want to determine the parent and the child rights usings script as an exe of java or xml, the question you posted would be best suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums for further assistance:

    MSDN forums

Maybe you are looking for

  • Some keyboard keys do not work on my TE2100?

    I lost the use of several keys on my keyboard, a few years ago, namely the LTRC, c, n, m, and perhaps others.I have been using an external keyboard since then. I have tried to fix this by first buying a new keyboard, which did not solve the problem,

  • Can I install Win 7 Home 64 bit on Win 7 Pro 32 bit

    Current running Win 7 Pro 32 bit, need to upgrade to 64 - bit and can not really afford to pay the Tagus almost $300 price for Win 7 Pro 64.  What I peux/how to install Win 7 Home 64 bit on my machine?  Do not really need the Win 7 pro feature.

  • LifeCam HD-6000 is not supported by windows 8

    I have Windows 8 installed on my HP all laptop.  I got the LifeCam HD-6000, but when I try to install it I get a message saying: it is not supported by Windows 8.  I tried to go to the Microsoft website to get an update, but that does not work either

  • linked clones, sql server sysprep, how does the storage

    HelloI created a SQL Server 2008 R2 sysprep installation. deployed clones related to these models.Everything works great!I just want to know how the installatioon takes place. linked clones share binaries and files of parent?Is there any degradation

  • Sysprepping Windows 2008 in VC 2.5

    Nice dayI'm trying to find documentation on how to Win 2008 R2 sysprep. Has anyone encountered this or anyone has done this before? any help will be much appreciated.ConcerningDavid