Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default URLRequest problem

    The following statement :-

    <mx:click>navigateToURL(new
    URLRequest('http://web.artprice.com/classifieds/fineart/details.aspx?id=378866&i
    mg=NDA5NTg0NTMyNTAyMjkyMi0=&source=store'), 'quote')</mx:click>

    gives me the error - The reference to entity "img" must end with the ';'
    delimiter .

    The link does work, I've checked, and other links done the same way work, so
    I'm hoping that someone could tell me why this one will not compile.


    Freestyle MD Guest

  2. Similar Questions and Discussions

    1. URLRequest + URLLoader
      How can you load a xml file using URLRequest and URLLoader? I tried to find it through the web, but there is very little documentation about this...
    2. How to use URLRequest to go to a mxml file rather then awebsite?
      How to use URLRequest to go to a mxml file rather then a website?
    3. URLVariables and URLRequest problem
      I get the following errors when I try using URLVariables and URLRequest. Can anyone tell me what I'm doing wrong ? The class or interface...
    4. #21611 [Opn]: Problem with version_compare() (Was: Problem with pear cli and release numbers)
      ID: 21611 Updated by: et@php.net -Summary: Problem with pear cli and release numbers Reported By: jan at horde...
    5. Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
      HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I...
  3. #2

    Default Re: URLRequest problem

    You need to escape the & with . After I did that I got an error about a
    string needing to be terminated, so I did this:

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:comp="components.*" width="100%" height="100%">
    <mx:Script>
    <![CDATA[
    public var myvar:String =
    'http://web.artprice.com/classifieds/fineart/details.aspx?id=378866 img=NDA5
    NTg0NTMyNTAyMjkyMi0= source=store';
    ]]>
    </mx:Script>
    <mx:click>navigateToURL(new URLRequest(myvar), 'quote')</mx:click>
    </mx:Application>

    Greg Lafrance Guest

  4. #3

    Default Re: URLRequest problem

    Thank you so much for your help, Greg.
    Freestyle MD Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139