"The call to the method"setTextFormat"can be defined" in Air application (need help)

Hello

I followed a tutorial for getting started with ActionScript 3 and Adobe Flash. I'm ready to create an Air application, but I ran into a problem. The tutorial is for Flash Player, so I wonder if it also works for Air applications (sorry, I don't get quite the differences yet).

So, here's a screenshot of the problem:

flash_erreur.png

The error reads: 'setTextFormat' method cannot be set via the fl.controls:TextArea static type reference

(Sorry if it's badly translated :/)

What I have below is a TextArea (taken from the User Interface components) and a button (same). I noticed their name of the instance that you can find in the block of the ACE.

So since it's the same code as in the tutorial (where he works), why make this mistake? I tried many things to get rid of it, but I'm out of options now, so I ask you for help.

Kind regards.

Chances are the tutorial you're folowing uses a TExtField, not a text box.  The TextArea component is not supported by the setTextFormat method.  You will need to use the setStyle method to set the characteristics of the text.  Alternatively, you can use a TExtField and then the setTextFormat method could be applied

Tags: Adobe Animate

Similar Questions

  • Accidentally, I saved a PDF file in the cloud and can't be deleted from there. Help, please. I've upgraded to Adobe Acrobat Reader DC and it does not allow me to save the scans on my computer.

    Accidentally, I saved a PDF file in the cloud and can't be deleted from there. Help, please. I've upgraded to Adobe Acrobat Reader DC and it does not allow me to save the scans on my computer.

    Or simply open CD player

    Go to the Home tab then Document Cloud

    Click on the PDF file to be removed

    Click on remove in the top

  • The product I bought doesn't work! I need help and I was stuck in your 'contact us loop' for the last few days and I'm frustrated. How can I contact you for help!

    The product I bought doesn't work! I need help and I was stuck in your 'contact us loop' for the last few days and I'm frustrated. How can I contact you for help!

    Probably the best place to start is the right forum for your product. This is the forum for Distiller Server, a product used by corporations long dead, and probably not what you have. If you can't find the right forum, please let us know the FULL name of what you paid for (Please check your invoice, as Adobe have a lot of similar products), and we may be able to direct you. Good luck!

  • How to activate the trace for request to define in oracle application?

    How to activate the trace for request to define in oracle application?

    Please see and steps/comments for 'Presentation of simultaneous program' in (Doc ID 1516355.1).

    Thank you

    Hussein

  • can receive messages but can't send on outlook express, need help

    Was just good with this computer that uses windows XP and have added my name is outlook express account. Things were going along fine until it tries to send a response to a current e-mail was greeted with an error message "secure (SSL). ' No, Error.10061 Socket error #0x800CCC0E ' and my message is stuck in my Outbox. Am at a loss to know how this can be resolved and of course need help...

    Check: File | Work offline and in: reviews | Layout: uncheck the preview pane and you should be able to delete the message.

    The account is probably not configured correctly. Double check your settings and if you don't get developed, after back and say EU your e-mail server and send an error message in its entirety. You can left click on it to highlight then right click to copy and then paste in this thread.

  • Does anyone know an Adobe phone number to call us? We meet a wide range of problems and need help.

    Does anyone know an Adobe phone number to call us? We meet a wide range of problems and need help.

    800-833-6687 (the only one from 05:00 - 19:00 PST, Monday to Friday day US).

    Phone support | Orders, returns, exchanges
    http://helpx.Adobe.com/x-productkb/global/phone-support-orders.html

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • Why can't I get on facebook? I can't get into all the other websites I use but not facebook? need help!

    When my home page comes up, I can use internet as usual, I check hotmail, youtube and what not, but when I type in facebook, the first site to get indeed on facebook happens but once I like on facebook get on facebook homepage, nothing comes and the window is white. Nothing comes and its been like that for two days. I use facebook as a way to connect with the important people since I use it for networking and its become a problem, these last two days! need help!

    Hello

    1. what browse web is installed on your computer?
    2. don't you make changes to the computer before the show?
    3. what happens when you try to access the facebook?
    4. do you get an error message?

    I suggest you try the steps from the following link:

    Can't access some Web sites in Internet Explorer
    http://support.Microsoft.com/kb/967897

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    If the problem is with facebook, then I suggest you to post.
    http://www.Facebook.com/help/

  • Photoshop version 7: how to activate the brush strokes in trails? [was: Legacy Software needs help please]

    I'm still using Adobe Photoshop 7 (yes I know, get with the times and download... etc, etc) and it suits my purposes very well I use it not for commercial have a personal use but simply.

    Anyway, my question is: How can I enable brushes to paths. Can I make a selection and even a channel mask, but a vector path why? Don't not Adobe 7 supports this or have I missed something. Asked the help of files with different subjects repeatedly and vain and someone me clue please. It's probably something simple right...

    Maybe this will help:

    1 brush stroke

    2. selection of the the stroke (NOT select all)

    3 convert on the way

    4 Edition > define a custom shape

    5. name of the form

    6. choose the custom shape tool

    7 note the 'shape' in the Options bar

    8 form is the last form in the menu on the right

    8 Opern new file and drag the custom shape. It is the vector

  • Unable to debug the CSS and JS MAF Application - need help

    Hello

    I tried to debug my app as a result of this process. BU has had no success.

    http://www.Ateam-Oracle.com/debugging-MAF-applications-on-Android/


    Only able to find attached as #EMULATOR sdk emulator - 5554 under chrome://inspect/#devices.

    But did not find the HTML code under it.

    It is always empty, although the emulator displays the page of the app.

    Could if it you please let me know if I am missing something here.

    I started the

    C:\JDeveloper\mywork\ChromeDebugTest\deploy\Android1 > Bad start-server
    * demon does not. from now on port 5037 *.
    * the daemon started successfully *.

    and check USB dubbing checked into the emulator.

    I put the proxy also in the emulator.

    ___________________________________________________________________

    I get the log in the logcat as below.

    09-25 13:05:57.496: D/AndroidRuntime (1194): > > > > > > com.android.internal.os.RuntimeInit AndroidRuntime START < < < < < <

    09-25 13:05:57.506: D/AndroidRuntime (1194): CheckJNI is running

    09-25 13:05:57.570: D/dalvikvm (1194): attempt to load lib libjavacore.so 0 × 0

    09-25 13:05:57.576: D/dalvikvm (1194): added shared lib 0 × 0 libjavacore.so

    09-25 13:05:57.616: D/dalvikvm (1194): attempt to load lib libnativehelper.so 0 × 0

    09-25 13:05:57.616: D/dalvikvm (1194): added shared lib 0 × 0 libnativehelper.so

    09-25 13:05:57.836: D/WebViewTimersControl (745): onBrowserActivityPause

    09-25 13:05:57.836: D/WebViewTimersControl (745): suspension webview timers, view = com.android.browser.BrowserWebView {40cdc720 VFEDHVCL. F... ID 0, 0-480 762}

    09-25 13:05:58.646: D/AndroidRuntime (1194): call the main entrance com.android.commands.pm.Pm

    09-25 13:05:58.916: D/AndroidRuntime (1194): VM stop

    Need help to solve this problem

    Thank you
    Ajoie

    I think that the minimum version of the Android SDK for this to work is 4.4 + API level 19 +.

    CM.

  • Maintenance can not activate Photoshop CS3 key need help disabling.

    Our Organization has a photoshop CC3 2 pcs license. On a PC all installed and activated and that the license is not installed on the second PC, said that it is necessary to deactivate the license on the old computer, if there is no license. You must disable the license key on all of our Maintenance parts the cat cannot help.

    If you have a volume license then you will need to continue this through the volume license media.

    http://helpx.Adobe.com/x-productkb/policy-pricing/volume-licensing-site.html

    Volume License Activation number: https://forums.adobe.com/thread/1526938

    If it is a single-user license, you must go through the normal customer using cat.

    Chat support - the link below click the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • is there a phone number I can contact microsoft on. I need help and forum live gives me no answers

    is there someone I can actually talk about microsoft? my hotmail has been hacked and I need help to get it back! I tried windows live forum coming from running me around, no doubt, that there must be someone who can help me

    Hello

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

  • VISA can process the framework? Why I got BFFF006B error? Need help!

    Hello

    I have a device that sends the message by RS232. But the message package is a bit different from normal operation. For example, if the message is FF 06 43 02 C1 - 02, the ninth bit in the first byte FF is set to 1 'and the rest of the bytes are the value ' 0'. To send the message to the device, I have to change the parity between 'bookmark' and 'space '. But how to receive this package of data with VISA? I use normal receive routine, he says that there is sampling error

    Is there someone me has similar problem? Thank you very much!

    Hello

    You can implement the ninth bit Protocol in LV, I use it all the time.

    In my system, the first byte is the ninth bit set and for all the other bytes the ninth is equal to zero. It looks like different to normal to the UART parity, so that you get a parity error.

    You can use parity 'Mark' and 'Space' to force the bit parity '1' or '0'. Send the first byte with a 'brand' parity and the remaining bytes with parity of 'the space '.

    Receiving the bytes with parity translates into a parity error. Just ignore this error.

    The downside is that you can not see the byte is the first byte. But in a test configuration, it works for me.

    Normally this kind of interface is managed by a microcontroller as the C 80 31.

    Kees

  • I get the message on the screen, invalid boot.ini.file, booting from C:\windows,can not start window, white screen, need help

    the error on the screen of the invalid boot.ini mpfprojectdir\dev10\src\csharp\projectbase.file come on and outside, white screen, can not re start, the DVD player does not.

    the error on the screen of the invalid boot.ini mpfprojectdir\dev10\src\csharp\projectbase.file come on and outside, white screen, can not re start, the DVD player does not.

    Click on the link below and follow the instructions to create a startup disk best for repair/restoration of Windows CD. A when you're finished, place the disc in the cd rom of the damaged computer and then restart your computer. The computer will automatically boot from the disk. When the menu screen is displayed above and the arrow keys on the keyboard to scroll to ERD Commander, then press ENTER. Allow ERD load. This can take some time. You will be asked to select the operating system to load. If you have only one option will normally be C:\windows. You will also see a screen to configure the network settings. Click Ignore to skip the procedure. RPD will load windows. Once loaded click Start > system tools > repair of system files. Allow the repair. If there is no error detected file click Start > system tools > system restore. Follow the prompts to perform a system restore, selecting the last possible date. Restart the computer without the disc.
    http://www.repairbotsonline.com/tools-and-software-section-F13/best-boot-disk-to-repair-restore-Windows-CD-T192.htm
    I do not vote for me I'm not here for points. If this post helps you, vote. Visit my forum @ http://repairbotsonline.com/

  • How do to call the BlackBerry menu form share an Adobe Air application?

    Hello

    I'm looking for a tutorial or demo code that describes how to call the BlackBerry menu sharing an Adobe Air based application.

    I found a tutorial of waterfalls for it - there's one for Adobe Air too?
    - http://bbcascadescode.tumblr.com/post/38998702671/invoke-share-for-bb10

    This is a screenshot of the Action menu:

    Advice welcome!

    Here you go:

    package com.lib.playbook.invocation
    {
        import com.lib.playbook.controls.List;
        import com.lib.playbook.pages.TitlePage;
        import com.lib.playbook.renderers.IconListRenderer;
    
        import flash.events.Event;
        import flash.events.IEventDispatcher;
    
        import qnx.events.InvokeEvent;
        import qnx.events.InvokeQueryTargetEvent;
        import qnx.fuse.ui.core.Action;
        import qnx.fuse.ui.events.ActionEvent;
        import qnx.fuse.ui.events.ListEvent;
        import qnx.invoke.ActionQuery;
        import qnx.invoke.InvokeManager;
        import qnx.invoke.InvokeRequest;
        import qnx.invoke.InvokeTarget;
    
        public class InvokeSearchPage extends TitlePage
        {
            private var request : InvokeRequest = null;
            private var targets : List = new List();
    
            /////////////////////////////////////////////////////////////////////////////////////////
            public function InvokeSearchPage()
            {
                super();
                this.title = 'Search With';
                this.titlebar.dismissAction = new Action( 'Cancel', null, {id:'cancel'} );
                this.titlebar.addEventListener(ActionEvent.ACTION_SELECTED, ActionSelected );
    
                this.targets.cellRenderer = com.lib.playbook.renderers.IconListRenderer;
                this.targets.addEventListener(ListEvent.ITEM_CLICKED, TargetSelected );
                this.targets.rowHeight = 140;
                this.addChild( this.targets );
            }
    
            ///////////////////////////////////////////////////////////////////////////////////////////
            public function filter( request :InvokeRequest ) : void
            {
                this.targets.removeAll();
    
                this.request = request;
    
                //trace( 'filter ' + request.mimeType );
                InvokeManager.invokeManager.addEventListener( InvokeQueryTargetEvent.SUCCESS, TargetsFound );
                InvokeManager.invokeManager.queryInvokeTargets( request.mimeType, request.uri, request.action, request.targetOptions );
            }
    
            ///////////////////////////////////////////////////////////////////////////////////////////
            private function TargetsFound( event : InvokeQueryTargetEvent ) : void
            {
                InvokeManager.invokeManager.removeEventListener(InvokeQueryTargetEvent.SUCCESS, TargetsFound );
                //trace( 'TargetsFound' );
                var action : ActionQuery;
                var target : InvokeTarget;
                for each( action in event.actions )
                {
                    for each( target in action.targets )
                    {
                      this.targets.addItem( { data : target.target, label : target.label, icon : 'file://' + target.icon } );
                    }
                }
            }
    
            ////////////////////////////////////////////////////////////////////
            private function TargetSelected( event :Event ) : void
            {
                if( this.targets.selectedIndex >= 0 )
                {
                  this.request.target = this.targets.selection;
                  InvokeManager.invokeManager.invoke( this.request );
                }
            }
    
            ////////////////////////////////////////////////////////////////////
            private function ActionSelected( event :ActionEvent ) : void
            {
                switch( event.action.data.id )
                {
                    case 'cancel' : this.dispatchEvent( new Event( Event.CANCEL ) ); break;
                }
            }
    
            //////////////////////////////////////////////////////////////////////
            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
            {
                super.updateDisplayList( unscaledWidth, unscaledHeight );
    
                this.targets.setPosition( 10, this.top + 10 );
                this.targets.setActualSize( unscaledWidth - 20, unscaledHeight - this.targets.y - 10 );
            }
        }
    }
    

    And the rendering engine:

    package com.lib.playbook.renderers
    {
    
        import qnx.fuse.ui.display.Image;
        import qnx.fuse.ui.listClasses.CellRenderer;
    
        public class IconListRenderer extends CellRenderer
        {
    
            private var icon    :Image = new Image();
    
            /////////////////////////////////////////////////////////////////////////
            public function IconListRenderer()
            {
                super();
            }
    
            ///////////////////////////////////////////////////////////////
            override protected function onAdded():void
            {
                super.onAdded();
                this.addChild( this.icon );
            }
    
            ///////////////////////////////////////////////////////////////
            override protected function onRemoved():void
            {
                super.onRemoved();
                this.removeChild( this.icon );
            }
    
            /////////////////////////////////////////////////////////////////////////////////////
            override protected function drawLabel(unscaledWidth:Number, unscaledHeight:Number):void
            {
                super.drawLabel( unscaledWidth, unscaledHeight );
    
                if( this.data )
                {
    
                    if( this.data.hasOwnProperty( 'icon' ) && this.data.icon != null )
                    {
                        this.icon.setImage( this.data.icon );
                        this.icon.setPosition( 10, 15 );//( unscaledHeight - this.icon.height ) / 2 );
                    }
                    else
                    {
                        this.icon.setImage( null );
                    }
    
                }
    
                this.label.x = 140;
                this.label.width = unscaledWidth - this.label.x - 20;
            }
        }
    }
    

    references com.lib.playbook our our inner classes, but you should get the approach to apply.

  • Vertical alignment of the table cell can be defined via CSS?

    In a table cell (IE, 'td') is it possible to define "valign" via CSS, instead of table cell appropriate?

    In other words, instead of...

    < table >

    < b >

    < td valign = "top" >

    .. is it possible to do:

    < table >

    < b >

    < class td = "top" >

    .. somehow, .and allow the stylesheet to define the vertical alignment?

    I ask because none of the attribute in Dreamweaver CS4 presets seem to provide for vertical alignment. Everything on God's Green Earth seems to be there, but the vertical alignment of the cell table seems to be the ONLY thing THAT forgotten CSS.

    miyeager, I'm sorry, I misread your question. Yes, you can. Use ' vertical-align: top of the text.

Maybe you are looking for

  • No chance to get more storage of 1 TB iCloud?

    I want to store all of my photos on iCloud and easily access on all my devices. My library is already 1, 5 TB. I called Apple support when I ran out of space. They told me to remove my pictures to continue using iCloud. Any suggestions? Thank you

  • TestStand / CVI in conflict: the project directory

    Hello I have TestStand 4.2, LabWindows/CVI 8.5, Windows XP.   I'm testing a DLL created in CVI, which uses the 'GetProjectDir()' to create a basis for work. When this DLL is exercised by a C program, it detects the directory of the project, C:\sandbo

  • OfficeJet 6500 Wireless: not readable display

    My display screen has vertical lines and display them the words are more readable. Slowly, they started to disappear last year. I did a soft and hard (unplug the printer, hold down the 3 and #, plug printer in). Print the alignment page. All ink cart

  • Print not go and causing programs to freeze with Samsung ML-1510 and Lexmark Z1420printers

    Hello With the help of a Sony Vaio with Windows 7 Home Premium 64 - Bit. When hitting the print option in Open Office (latest version) or Adobe Reader (9.3 I think) or even a doc to wordpad the printer is not the whirlwind in action. The program then

  • Question about BAR files

    Hi, I am very new to BB development, my goal is: to make an application and download it from the BlackBerry App World. But by reading the steps how to download, I saw this: In the Version number field, type the number of the version. Note: Make sure