Air not support img tag on textField?

I try this:
text_txt.htmlText = "<IMG src='myimage.jpg' id='image' /><P>This is my picture</P>";
text_txt.text = text_txt.htmlText ;
on Flash player
out put is : <IMG src='myimage.jpg' id='image' /><P>This is my picture</P>;
but on Air
out put is : <P>This is my picture</P>;
What's happened?
Can you help me?
and Sorry about my english.

Hello,
Any possibility you could use the HTML control instead?  The textField control does not support the <img> tag in AIR due to security issues.  Here's the comment from the documentation:
For AIR content in the application security sandbox, AIR ignores img tags in HTML content in ActionScript TextField objects. This is to prevent possible phishing attacks.
Thanks,
Chris

Similar Messages

  • Img Tag in textfield adobe air problem help :(

    Hi there,
    i ve got a textfield on the stage and wanted to give it a img
    tag.
    If i am using flash 9 in publishing, it is no problem.
    if i change to adobe air. There is no img in the textfield.
    Is this a bug???

    I've had the same problem. Using an img tag in a dynamically
    generated text field does not work the same published for AIR as it
    does published for Flash Player. If I use a relative path for the
    image or the class name of a symbol in the library in Flash it
    works perfectly, but neither work if the same code is published for
    AIR. Is there a solution to this that anyone knows of?
    Here's an example:
    var optionFont:Font = new UniversBold();
    var optionFormat = new TextFormat();
    optionFormat.color = 0x27318b;
    optionFormat.bold = true;
    optionFormat.size = 38;
    optionFormat.font = optionFont.fontName;
    var field:TextField = new TextField();
    field.embedFonts = true;
    field.autoSize = TextFieldAutoSize.LEFT;
    field.defaultTextFormat = optionFormat;
    field.selectable = false;
    field.htmlText = "Hi There <img src='GTE38'> Hi There";
    field.wordWrap = true;
    field.width = 200;
    addChild( field );
    UniversBold and GTE38 are classes in the library. This works
    when published for Flash, but if republished for AIR, the image
    does not show up.

  • Img tag in TextField : a nightmare ?

    After reading of the documentation about Flash TextField
    class (used by Label and Text), I was expected a lot of this
    component, especially about the
    img tag.
    I spent a lot of hours trying to make it working as the doc
    says. Each time I have runtime errors.
    Using link to jpeg or png files I have Error #1034 (I comment
    a "resolve" bug in the JIRA adobe bug system).
    Then I try to embed images with a link identifier to a
    movieclip symbol (seams to be the only way to use embedded images).
    After spending a long time to understand what that was meaning
    (just ONE example should have save half day of work !!! may be the
    Adobe guy should be advised that not all the Flex developpers comes
    from Flash !), I was abled to use a swf file made with fresh
    downloaded Flash CS3.
    But that time if the first assignment to htmlText property is
    ok, when I change the value I have error #2025 (DisplayObject must
    be a child of the caller - translate from french).
    So I am quite disappointed about Flex choice today...
    I was abled to add a support for the missing <table>
    tag but I don't know how to easily rewrite a complete TextField
    which can insert images (embedded in swf).
    If anybody has success with images in TextField, let me know
    Thanks.

    I've had the same problem. Using an img tag in a dynamically
    generated text field does not work the same published for AIR as it
    does published for Flash Player. If I use a relative path for the
    image or the class name of a symbol in the library in Flash it
    works perfectly, but neither work if the same code is published for
    AIR. Is there a solution to this that anyone knows of?
    Here's an example:
    var optionFont:Font = new UniversBold();
    var optionFormat = new TextFormat();
    optionFormat.color = 0x27318b;
    optionFormat.bold = true;
    optionFormat.size = 38;
    optionFormat.font = optionFont.fontName;
    var field:TextField = new TextField();
    field.embedFonts = true;
    field.autoSize = TextFieldAutoSize.LEFT;
    field.defaultTextFormat = optionFormat;
    field.selectable = false;
    field.htmlText = "Hi There <img src='GTE38'> Hi There";
    field.wordWrap = true;
    field.width = 200;
    addChild( field );
    UniversBold and GTE38 are classes in the library. This works
    when published for Flash, but if republished for AIR, the image
    does not show up.

  • Photoshop CC2014 Macbook Air not supported?

    I just installed Photoshop CC 2014 onto my Macbook Air and now I get the message
    You can't open the application "Adobe Photoshop CC 2014.app" because it's not supported on this type of Mac
    I have a new Macbook Air, 8GB Ram 256GB Hard Drive, OS X Mavericks
    Am I out of luck?  Or is this a fixable glitch? Never used Photoshop before - was finally convinced to give it a go.
    Thanks
    Brett

    Glad you sorted out your issue. I think this is the new 'feature' of Mavericks getting in the way. If this happens again, right-click the app icon and choose "Open". When you invoke it that way, you will have an option to let the application run anyway (it's a checkbox on the warning dialog). Typically you will see this when you install an app from an "unknown source". I think anything downloaded from the internet is considered an unknown source (rather than the app store).
    Cheers!

  • Mac Air not supporting iPhotos

    Just updated ios8 on iPad and phone and both seem to have worked. Did the same on my mac air (version 10.9.5.) and now I cannot access my photos on the laptop. Message comes up saying iPhotos not supported by the mac. What have I done wrong and how do I correct it? Thanks for advice in advance.

    Did the same on my mac air (version 10.9.5.) and now I cannot access my photos on the laptop. Message comes up saying iPhotos not supported by the mac
    This screenshot shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgrade to iPhoto 9.5.1 and which require a purchase:
    Note 1:  every day more users are reporting problems with iPhoto 8.1.2 so I've included it in the non compatible category.
    Note 2:  If your previous version of iPhoto was iPhoto 7 (08) or earlier you'll need to download and run the iPhoto Library Upgrader 1.1 application on the library before opening it with iPhoto 9.5.1
    WARNING:  If you use iTunes to sync photos between your iPhone or iPad and your Mac do not activate the iCloud Drive. Doing so will kill the capability of using iTunes to sync with your mobile device. 
    Also it will disable Documents & Data syncing for your iCloud account on OS X Mavericks and earlier Macs, as well as iOS 7 and earlier devices.

  • [svn:fx-trunk] 10230: Fix for ASDoc not handling img tag correctly

    Revision: 10230
    Author:   [email protected]
    Date:     2009-09-14 08:54:44 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fix for ASDoc not handling tag correctly
    QE notes: None.
    Doc notes: None
    Bugs: SDK-22902
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22902
    Modified Paths:
        flex/sdk/trunk/asdoc/templates/asdoc-util.xslt

    Welcome back everyone.
    Hope you all had good holidays.
    Cheers
    glenn
    tinylion development & design

  • Adobe AIR not available for Asus Memo Pad ME302C?

    Any time I try and install AIR on my Asus tablet, I get the error code -24. Is there any way to force install it or do I have to wait for a future update for AIR?

    Memo Pad ME302C has an intel processor. Air not supported. See http://forums.adobe.com/thread/1356070?tstart=0

  • AIR 3.9.1030 Still Not Support iOS 7 Icons

    Hi,
    After all the discussion in the beta and here about this, it still looks like to me that the latest released build STILL does not support the new icon sizes 76x76, 120x120, & 152x152. If you look at the AIR_Descriptor.3.9.xsd schema file, it clearly is missing these definitions, and as a result, people using IDE's like Intellij won't be able to compile there project because it will error out. I thought this was fixed?

    Hi
    Could you use AIR 3.9 release AIR SDK  from   http://www.adobe.com/devnet/air/air-sdk-download.html  try  again?  following SDK/templates/air/descriptor-template.xml file 76x76, 120x120, & 152x152. had suppored.
    Please refer to revelant tag in /descriptor-template.xml file.
    <!-- <icon>
            <image16x16></image16x16>
            <image29x29></image29x29>
            <image32x32></image32x32>
            <image36x36></image36x36>
            <image40x40></image40x40>
            <image48x48></image48x48>
            <image50x50></image50x50>
            <image57x57></image57x57>
            <image58x58></image58x58>
            <image72x72></image72x72>
            <image76x76></image76x76>
            <image80x80></image80x80>
            <image96x96></image96x96>
            <image100x100></image100x100>
            <image114x114></image114x114>
            <image120x120></image120x120>
            <image128x128></image128x128>
            <image144x144></image144x144>
            <image152x152></image152x152>
            <image512x512></image512x512>
            <image732x412></image732x412>
            <image1024x1024></image1024x1024>
        </icon> -->
    Thanks
    -Bo

  • Error message "The currently attached accessory is not supported by this iPod" is shown when connected to my Zeppelin Air Dock.

    I have 2 iPods, one is a 60GB Classic formatted to Mac the other is a 80GB Classic formatted to Windows. When either is connected to my Zeppelin Air Dock, a message appears on the iPod saying "The currently attached accessory is not supported by this iPod"
    I have updated the firmware on the Zeppelin and have the latest updates on each of the iPods.
    The Zeppelin works fine and connects to the computer and laptop without issues.

    I'm having the same problem, it just started today. I've been running w/ the nike+ sensor and receive w/ my iPod nano for 6 months, logging 75 runs, so don't understand why I'm getting this error now.
    Can someone please reply w/ how to resolve this issue? I have Nike+ challenges coming up soon that I can't miss. Thanks!

  • I have a MacBook Air (10.8.2) connected to Canon MP530 printer.  I'm unable to scan documents as MP Navigator is not supported.   Any ideas on how to scan using this printer.

    I have a MacBook Air (10.8.2) connected to a Canon MP530 printer.    I am unable to scan documents as it appears my Mac does not support MP Navigator.   Any ideas?     I have made an inquiry to Canon but have not received any answers yet.

    Why do you say your MBA won't support it? MP Navigator for OS X 8 and the MP530 is available here. 

  • Photoshop CS6 is not supported on this type of Mac (2012 MacBook Air)

    Photoshop won’t launch on the latest MacBook Air 2012, OS 10.8.2, i7, 8GB. Installed the Adobe CS6 (Design/Web). All products work fine (although had to downgrade to Java6 to start Dreamweaver) but the PS icon is greyed out. When launching Photoshop CS6, I’m getting: You can’t open the application “Adobe Photoshop CS6” because it is not supported on this type of Mac”. 

    No idea what  happend. I was installing the CS6 suite on a brand new MBAir. All software was fine, eg, DW, InDesign and so on. Only Photoshop failed. One strange thing was that the MBAir has Java 7 but when launching DW it asked me to install "newer" Java version (?). I did the SMC/PRAM reset. Then uninstalling and installing PS solved the issue.

  • Multi Touch not supported in Adobe Air for IOS?

    Hi, I've just started developing my first app for my iPhone which is an iPhone 3GS. I'm using CS5 to make these apps.
    I did a simple test game where there are two arrows on the screen and a fire button. The screen also has a ground and the player standing on it which can be controlled with left/right and fire. Now, if I press right, he moves right, if I press left, he moves left, if I press fire, he jumps... BUT no matter what I do I can't make dual touch work, ie: I press right AND fire, it only recognize just ONE touch point. So I did alot of researching and didn't find much.  I thought maybe adding a TouchEvent.TOUCH_TAP which I found a guide on on this page: http://openexhibits.org/support/gestures/1/one-finger-tap , but couldn't make it work, so I found this: http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html and it seems Adobe Air for iPhone only allows four different gestures, no TouchEvents. I found a code somewhere that when run it checks to see if the device it's running on supports TOUCH_TAP stuff and in CS5 I got the message that it is not supported, in Adobe Device Central I get it's supported, on the actual phone (yes, got dev license from Apple and all that and can run my apps from CS5 on my iphone) I get it IS supported, but it doesn't work when I try it for real.
    So, my question is: how can I make Adobe Air using CS5 to detect 2 finger presses at the same time in iPhone apps?  Like pressing right+fire at the same time, so it doesn't just detect ONE of them being pressed.
    Thanks a million for any reply.

    Before listening for TouchEvents like TOUCH_BEGIN, TOUCH_MOVE, TOUCH_END etc... you need to set the input mode of your device to TOUCH_POINT. By default it is set to GESTURE.
    This works fine on the iPAD:
    import flash.ui.Multitouch;
    import flash.ui.MultitouchInputMode;
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    stage.addEventListener(TouchEvent.TOUCH_BEGIN, touchBegin);
    stage.addEventListener(TouchEvent.TOUCH_MOVE, touchMove);
    stage.addEventListener(TouchEvent.TOUCH_END, touchEnd);
    private function touchBegin(te:TouchEvent):void {
        // your code here
    private function touchMove(te:TouchEvent):void {
        // your code here
    private function touchEnd(te:TouchEvent):void {
        // your code here
    Hope that helps.

  • I have an older airport express and my computer states that the air port utility version does not support it.  Do I need to download an update?  My Imac is from SEP of last year, the version with the optical drive

    I have an older airport express.  My airport utilities states that it does not support this base station.  I am try ing to use the airport express in conjunction with a base station to air play my itunes library in another room.  I have mountain lion on my Imac (purchased new in SEP of last year.  My Imac was the last issued with an internal dvd drive.

    Unfortunately, Apple discontinued support of the older AirPort base stations with the introduction of Lion and Mountain Lion.
    You might be able to use a somewhat complicated workaround.....not supported by Apple.....if you want to try to use the older AirPort Express.
    See this thread for details:
    https://discussions.apple.com/message/21397085#21397085
    More background info here:
    http://www.macworld.com/article/1167965/mountain_lion_and_the_ancient_airport_ba se_station.html

  • When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?

    When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?

    The problem has been fixed with the most recent OS X software update.

  • I have air port express 802.11n and imac ver 10.7.5.  When I try to set up my wifi I get error message 'that the version mac os x is not supported' Help?

    I am trying to set up wifi using air port express 802.11n version 1.3 on my imac os x ver 10.7.5.  Get error message Air port can't be installed on this disk that the ver of mac not supported - Help????

    Please check the model number on the side of the AirPort Express in the faint print. It will start with an "A" followed by four numbers, as in A x x x x.
    Post back with your findings.

Maybe you are looking for

  • How can I get an mp4 video running on iPad Mini?

    How can I get an mp4 video running on iPad Mini, which is already in the iTunes File?

  • IPod nano doesn't power on

    I received a couple of days ago an iPod Nano as a replacement for the 1g Nano with battery problems. I was listening to some radio stations, and it suddenly turned off. I thought the battery went down since it already was at low levels, so I connecte

  • How to read chinese in N97 Mini?

    I just bought it in the UK How can it read chinese in texting and web browsing? Any software can be installed to solve?

  • Suggestions for new laptop - Maybe Satellite Pro L550-17U

    Wasn't sure where to ask this so it's here in the General category. I'm looking for a replacement laptop with a few specific requirements. I can get most of them but the last one is proving difficult. So the requirements are: 17" screen with at least

  • Zipped folders are created without inherited permissions

    When I create a zip folder, the zip folder does not inherit permissions are from its parent folder, nor from the files being archived.  (Fixing the permissions manually is not a problem -- only an inconvenience -- but this is repetitive.)  I confirme