The question about HTML ENtities in flash

Hello guys. Some problems with « entities. My movie
extracts data from XML. HTML data im my XML converted to html
entities format so I use this piece of code do decode them:
intro_txt.htmlText=_root.suek_framework.peoplexml.firstChild.childNodes[1].firstChild;
intro_txt.htmlText=intro_txt.text;
It works fine for < > symbols. But it don't work for
another entities like quotes. So in the output i have valid html
code but with & l a q u o ; symbols instead of simple quote ".
Maybe im doing somethin wrong? Maybe some one have idea how to
decode this & l a q u o ; too?
Thanks to all and sorry for my broken english!

For what you show so far, you can probably create it all in Flash without concern for slicing and whatnot..  For starters....
First create the buttons... select Insert -> New Symbol -> Button.  Buttons have 3 visual frames... one for Up, one for Over, and one for Down.  The 4th frame is useful for defining a larger Hit area for small items.  So create a new button symbol and draw the different views you want for the button.  When you are done you should be able to make the button work visually without the need for any code.  You will want to add code to control the feature displays.

Similar Messages

  • Question about HTML files using TextEdit

    First off, I wanted to ask if this is the proper place to post a question about HTML/XHTML. I couldn't really find anywhere else that seemed to fit better, but please point me in the right direction if this is not the place. Thanks.
    Moving on -- here's my question:
    I'm having trouble with working with HTML files in TextEdit. I'm on a Mac, using TextEdit as my HTML editor (I can not afford one of these other HTML editors, and I like using a simple text editor like TextEdit for HTML). Here's my problem: I open a new rich text document in TextEdit and write my HTML and then choose File>Save As and choose "HTML" under the File Format drop-down box. Having saved this file as an HTML file, I then open Safari and choose File>Open File and select my HTML file; however, when I do this, my web page's text does not appear in the browser window. Instead, the HTML code itself appears in the browser window, as if the browser was not interpreting it as HTML and converting it. The same problem happens when saving the file as a .htm file using Microsoft Word for Mac.
    So, as another solution (at the suggestion of a helpful poster in a previous thread), I tried creating a plain text file in TextEdit (instead of a rich text file like before). Now, in TextEdit there is no option for saving plain text files as HTML files, so I simply save it as a Unicode-8 format and then find the file in Finder and change the extension to .htm myself (I've tried .html as well). This, fortunately enough, actually works! When I open the file in Safari I get to see my web page as expected. However, the first time I quit out of the application TextEdit and then try to reopen my .htm file in TextEdit, I no longer can see my HTML code. Instead, TextEdit shows me the actual web page text that I would expect to see when I open the file in a browser, and my HMTL code is lost.
    Can someone please help me here? There has to be a way to edit HTML in TextEdit without the code disappearing every time you quit out of the application and reopen the HTML file. Any help is greatly, greatly appreciated. Thank you.

    That's the problem -- once I convert it to plain text there is no longer an HTML option under the Save As drop down menu. The drop down menu's title is Plain Text Encoding instead of File Format and the only options I get are Unicode-8, Unicode-16, Western, Chinese, and so forth. I can save it as an HTML file, but only if the file is rich text, which doesn't work for HTML.
    So, I can save it as plain text (.txt) and then go and change the extension myself, and like I said, it works if I do that. I can edit HTML in TextEdit and open the file properly in Safari to view my web page. The problem is (I went over all this in my first post) that, after that, if I exit TextEdit and reopen it, my document is no longer HTML code -- it is now simply the text of the web site as if I had opened it in a broswer.
    What do you suggest I do?

  • I want to ask the question about phasor measurement.

    I want to ask the question about phasor measurement.the first one is that how can I accomplish the sychronized sampling with GPS?The other question is that how can I adjust the sampling rate for DAQ when the system frequency alter continuously.(if I used the DFT,due to the altering of frequency,I can't get the completed waveform)"

    Synchronising DAQ with GPS depends on the DAQ sampling rate. If the rate is higher than 2 Hz you can sample the 1PPS pulse of your GPS receiver together with your data.
    You change the sampling rate with the AI Clock Config.vi. You cannot do this on the fly so you must stop DAQ with AI Control.vi reconfigure the sampling rate and then start it again.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Check exception list of your Firefox password Manager and check if your site is there or not?
    * http://kb.mozillazine.org/User_name_and_password_not_remembered#Password_Manager_settings

  • HT5312 In itune I need to fill up the questions about card but i dont have credit card,what can i do?

    In itunes i need to fill up the questions about card but i dont have a credit card, what can i do about that?

    Hi Huyen1110,
    You can use the steps in this article to create an iTunes Store account that does not use a credit or debit card for payment -
    Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Why do I get the question about index.html when I try to publish a new site?

    When I try to publish a new or corrected ftp website (anyone)  I get a message saying that the file "index.html" already is present on the web and am asked if I want to replace it. What does that mean? I do not want to replace that site, only to publish new ones or repair old ones

    Read this to learn about the index.html file :
         The concept of iWeb Sites
    Replace the index.html file when asked.

  • The question about parameter in ECC 6.0 system.

    hi
    T-code RZ10 ,  I checked  the parameters about  DEFAULT.
    but  there are one error and three Warns.
    ---one error
         there is [E:j2ee/dbname changes not permitted]   below  the parameter of  j2ee/dbname.
         PS: the background is red.
    ---three warns
         j2ee/scs/host
         W: Unknown parameter j2ee/scs/host , a check cannot be performed
         j2ee/scs/system
         W: Unknown parameter j2ee/scs/system , a check cannot be performed      
         j2ee/ms/port
         W: Unknown parameter j2ee/ms/port , a check cannot be performed      
         PS: the three parameters  are not  in T-code  RZ11.
    could you help me solution these question.
    thanks and regards

    hi,MIchael
       ---one error
            there is E:j2ee/dbname changes not permitted below the parameter of j2ee/dbname.
            solution:
                      the value of j2ee/dbname  was BS2.   just now, i deleted  the value of j2ee/dbname.                 
                     the error message does not come out,now.
       ---three warns
           j2ee/scs/host
           j2ee/scs/system
          j2ee/ms/port
        solution:
                  there is not the scs in the system. but there is the ms in system.
                  why they are specified , i dont konw.
                  if  those parameter doesn't exist, would i  be going to delete those parameter.
        thanks and regards.
        chu

  • The question about the sharepoint server 2010 install

    Hi Friends,
    i have a question about the sharepoint server 2010 install. 
    my computer is used the windows server 2008 service pack 1. in order to install the sharepoint 2010 server, i need to choose to windows server 2008 service pack 2. my question is when i install the windows server 2008 service pack 2,whether the inside
    of my computer  information will be lost or change? 
    thank you in advance. 
    Qearl

    Hi ,
    No data will be lost either from your Windows program files or other drives as long as it is an upgrade.
    After upgrade you will still be able to see your old program files under windows.ol folder in the C: Drive of the new OS.
    The data will be lost only when you perform a clean install like complete formatting the HArd disk and installing from scratch.
    As mentioned it always good to maintain a backup preferable important files in a skydrive as there is a good chance of external drives crashing.

  • The question about the callbackdata parameter in the function PostDeferredCallToThread()

    I find if using a local variable to pass to the PostDeferredCallToThread(), then in the callback function, it cannot be recevied correctly. But as NI document said, this variable is a user-defined, will avoid declaring the data object as a global variable. how to interpret the question?
    David

    If you provide a pointer to the function the variable pointed by the pointer must be still in memory if you want to access it from that thread function.
    One way of keeping the variable "alive" when you leave the scope of a function is to define it as static.
    Dynamically allocated memory (malloc/calloc) is also accessible if not freed.
    Suggested reading:
    http://gribblelab.org/CBootcamp/7_Memory_Stack_vs_Heap.html
    S. Eren BALCI
    www.aselsan.com.tr

  • The question about portlet customization and synchronization

    I have a question about portlet customization and synchronization.
    When I call
    NameValuePersonalizationObject data = (NameValuePersonalizationObject) PortletRendererUtil.getEditData(portletRenderRequest);
    portletRenderRequest.setPortletTitle(str);
    portletRenderRequest.putString(aKey, aValue);
    PortletRendererUtil.submitEditData(portletRenderRequest, data);
    Should I make any synchronization myself (use "synchronized" blocks or something else) or this procedure is made thread-safe on the level of the Portal API?

    HI Dimitry,
    I dont think you have to synchronize the block. i guess the code is synchronized internally.
    regards,
    Harsha

  • Answers of the questions about verification ID? I can't remembered!

    I can't remember the answers of questions about verification Id and now I can't down more music.

     
    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • The question about EDI in scenario 'Cross-Company Code Sales Processing'?

    I'm doing the exercise with IDES system for the scenario 'Cross-Company Code Sales Processing'.
    But when posting the EDI, it gave me the error as followings:
    there are related data in table EDPP1, including customer and vendor data, but it still informed me the questions.
    pls help!
    Object 0090033869
    Output type: tst IV for MM by ken
    Processing log for program RSNASTED routine EDI_PROCESSING
    EDI: Partner profile not available
    EDI: Partner profile not available
        Message no. E0332
    Diagnosis
        A partner profile could not be found with the following key:
        /0000000000/LI/
        This involves the key fields of the table EDPP1:
        -PARNUM  partner number
        -PARTYP  partner type
    Procedure
        Please check the EDI partner profiles.
        Execute function

    Hi
    Partner profile is not seems to be maintained in tcode WE20.
    Please maintain in WE20.
    Kind Regards
    sandeep

  • The question about vlan,acl of SWR224P

    i find a strange thing.when i configure vlan,i find i can not write the english word in the "VLAN Name "
    if i do,when i reboot this machine,the configration about vlan will bo lost??????????so,is there anybody can tell
    me why.....
    another problem,when i configure the ip acl,for example, Source IP Address1.1.0.0  Wildcard Mask0.0.7.255
    destination any ,protocal any 
    but it tell me the date is wrong.so is the format i configure wrong.
    thank you........body

    hi,
    I also tried to configure VLAN for my switch, you may check on this link on how to create VLAN. This link is for SRW224G4P but it might work on your SRW224P
    http://kb.linksys.com/16824;
    Another thing to consider is the fimware of your switch, check the version of the firmware and if it's a lower version you may  update it.
    Regarding your second inquiry about ACL, you may try to reconfiguring your ACL again once you updated the firmware.

  • The question about AppStore

    When I buy something asked me the question I dont know why I want to change the question or I've forgotten the question this is in AppStore

    Rescue email address and how to reset Apple ID security questions

  • Question about operating systems and flash storage

    im looking to buy an 11 mac air and would like to know what the difference between 2.ghz,i7,128 flash storage,4000 graphics and the 1.3 ghz,i5,256 flash storage, 5000 graphics. ??

    Go to Apple's website and study the specs.

Maybe you are looking for