You can call a public method in a custom look and feel?

I made an appearance for a button. In the skin, there is a method to change the text. Can I call this method in my application?

I get an error message when I try to call it as a normal object:

uploadNewBtn. setNewPhotosLabel (« test ») ;

Error 1061: Call to a setNewPhotosLabel method maybe not defined through a reference with static type spark.components:Button.

You said, the method is inside the skin, not the HostComponent (button in your case). Obviously you can not call it.

There is a protperty of the skin inside the SkinnableComponent, but it is typed as UIComponent, so you can always not cal on the skin without casting. I don't know your use case, so in theory you press either on the text label / from the host to the skin, or you listen to or link of the skin on the hostcomponent.

C

Tags: Flex

Similar Questions

  • How can I get a light flashes when you receive calls if you can call silence please

    How can I get a light flashes when you receive calls if you can call silence please

    Hello Linda08,

    Go to setting/general/accessibility, walk down for hearing and toggle "Flash LED for alerts"

  • You can load the update of windows on the computer and then one more

    You can load the update of windows on the computer and then one more

    You can load Windows * updates on multiple computers. Should not be confused with * updates *. TaurArian [MVP] 2005-2010 - Update Services

  • You can change your payment method?

    I paid for my first month with paypal but she likes to change to pay with a card, is this possible?

    Hello

    Greetings for the day!

    You can change the method of payment by logging into your account adobe with your user ID & password and browse from the options below:

    Access Adobe account management: http://www.adobe.com/go/cc_manage_act?trackingid=KLXEI

    On the products page and Plans to select 'manage the Plan"for your active plan

    On the Plans of details of the page, click 'Edit payment details' to update your payment information

    If you still have the face of the difficulties, please send me a private message so that I can help you further.

    I'm team of billing of the Adobes.

    Kind regards

    Syed Rizvi

  • Recently got my iMac with installed iPhoto... If you can call it that iPhoto.  What's wrong.  In any case, can someone tell me in detail how I can move a photo from iPhoto to other locations on my iMac?  As DP Review, Kodak and the other TR photo contest

    Hor to move photos from iPhoto to other sites for competitions.

    You can choose in iPhotos, locate in finder, and then you can see the struct dir and choose that as the import path for any application of photo you want

  • I "upgraded" in outlook, if you can call it an upgrade.

    Now I can't see the pictures.  Thanks for nothing. How can I get my email to do what she was to do without effort?

    Hi bhound,

    You can follow the steps in the link:

    http://support.Microsoft.com/kb/287532?WA=wsignin1.0

    http://support.Microsoft.com/kb/829918

  • You can move pieces of card in memory of rocket and vice versa?

    I just bought a 4 rocket GB for my girlfriend (for Christmas).  I have not yet opened and prefer not to do so.  She can open up to Christmas!

    I was wondering if songs can be transferred directly from the microSD card to internal memory of the rocket.  All our songs are in MP3 format, or can be easily converted to MP3.

    The only MP3 player I've ever had is my phone, which works well, but has a very heavy interface for the election of songs and playlists.  I can copy the microSD card in the phone directly.  In fact, it's the only way I know to get songs on my phone without having to pay to download.

    Anyway, I can do it on the "rocket", or what I need to connect to a computer?

    Thank you

    4myFuze wrote:

    I just bought a 4 rocket GB for my girlfriend (for Christmas).  I have not yet opened and prefer not to do so.  She can open up to Christmas!

    I was wondering if songs can be transferred directly from the microSD card to internal memory of the rocket.  All our songs are in MP3 format, or can be easily converted to MP3.

    The only MP3 player I've ever had is my phone, which works well, but has a very heavy interface for the election of songs and playlists.  I can copy the microSD card in the phone directly.  In fact, it's the only way I know to get songs on my phone without having to pay to download.

    Anyway, I can do it on the "rocket", or what I need to connect to a computer?

    Thank you

    you will need to connect to the computer. Then, you can simply copy and paste. Other than this Nope.

  • You can edit a document template in your library (pdf) and retrieve previous form fields, so you don't have to start from scratch?

    I've just uploaded a pdf template in my library and spent a lot of time to fill the form fields. However, after completing the achievement, I made a misspelling on the original pdf model uplaoded. Is there a quick way to upload the document again and copy the older form of the document field so that I don't have to start from scratch?  If someone is able to inform you that would be much appreciated.

    Only if you checked create layer for the form field option when you create the document in the library. (Available only in the accounts of end superiors so that you won't)

    If you have Adobe Acrobat you can add fields from the agreement to the PDF outside eSign services.

    Or if you are using word documents, it is possible to add fields of the agreement using text tags.

    With those you can change regardless of the document and download the new copy and that the fields are already there, no need to copy or redo them.

    Document help Cloud | Form creation | eSign services

  • You can move to a new data store VMWare machine and if so, how?

    Possinly a bit of a numpty question but here goes.

    I created a VMWare machine, but VMWare files are stored on local storage. Now I'm assuiming that's why VMotion does not. My question is - is it easy to switch this machine in a store of data that is shared between hosts and how is it done.

    If you are running ESX 3.0, then the simplest would be a cold migration.  Alternatively, you can use VMware Converter.

  • You can call back time

    I remember a specific time backup on my phone to check a lost video that is not in the album "recently deleted". someone wanted this video went, but I wanted to keep!

    Each backup should write more old.

    You must have the last performed backup.

  • 1telephone 6-How do I turn off the flashing as additional notification when you can call to silence

    My husband has somehow given his iPhone 6 so that when his phone is on silent and rings of the flashlight will start to blink.  How us don't disable that?

    Settings > general > accessibility > Flash LED for alerts

  • You can force HTTPService go to server instead of looking in the cache?

    I think I discovered the reason that my test Flex/php/mySQL database application does not work.  I used the wizard to generate code to service .php for the mySQL database and use the HTTPService FindAll records, delete a record and a FindAll again.  My deleted record appears one more time not deleted (though phpMyAdmin confirms that it has in fact deleted), but when I clear my cache in IE 8 and then redo the FindAll, it works and the deleted record disappeared.  then... How can I force my .send HTTPService request to always go to the server and not look in the cache

    I'm new mySQL and php, so don't assume I know nothing when you post a reply.

    Thank you very much in advance to one of you gurus that can help you.

    This is the trick I use (not sure if that's preferable). Whenever you call service using a new url. Add random numbers as query string parameters. Because the url is different, Flash player will not be in the cache

  • You can run WMP as a service to receive UPnP and DLNA orders?

    I have several HTPC running Win 7 and WMC for watching live TV and acting as a DVR. Works very well.

    I also have a server WHS2011 offering media around my house.
    In short - I want to stream/play a MP4 video to my server WHS2011 for a HTPC with Win7, using a UPnP controller. I can already play the files directly from the machine, but trying to store the keyboard and mouse. I just want to use my phone/tablet so that he can play full screen.
    I tried to use my android as controllers of UPnP devices, and they work well. The only problem I'm running into is that I can't send a file to the HTPC uses UPnP controllers except WMP works already, not only of WMC.
    Is it possible to set up WMP to run in the background or as a service so that I can run a play from the server? Essentially, I'm imitating the "Play To" command from an android device. It works on my other devices, DLNA (Blu - Ray, Samsung TV)

    In addition, I would like to get WMP to launch full screen mode when I do. I found previous references on editing the registry, but was unable to find the registry entries mentioned.

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

    http://social.Microsoft.com/forums/en-us/category/WindowsHomeServer/

    Hope this information is useful.

  • I play scrolling Fubar people around the top so you can classify them my people disappear all the time, and I've updated everything, what can I do?

    I'm going Fubar (wrong bar) to FUMafia (war game) when I do my pictures of people who parade disappear

    It seems that you have already marked your issue as "resolved".

    Thank you for taking the time to revisit the forum to close your post and provide additional information about your problem.

  • Firefox will open 4 or 5 thin legs, but then do not load any other sites after the first 4 or 5 or you can update one of these first tabs - including: config and the addon page

    Firefox 5 worked well. I installed Firefox 7, and when I ran, tabs just say «connecting to...» "and hang up. Rebooting did not help. Sites Web open correctly in IE and Chrome. Disabled all firewalls and antivirus, nothing helped. Uninstalled and reinstalled Firefox 5, everything has worked again. It was using Vista 64-bit.

    Upgrading to Windows 7, uninstalled Firefox 5, installed Firefox 7, had the same problem. Uninstalled Firefox 7 completely (including profile information, I saved this information in another file), restarted the computer and installed Firefox 7 using a clean profile. Do not install add-ons, checked to make sure that all plug-ins were updated and updated plugins up-to-date.

    Now when I run Firefox, I can load 3 or 4 or 5 tabs very well - after these first tabs bit are open, I can not open or refresh all other tabs - with about: config and the add-on Manager - I have to restart Firefox. The hangup does not appear to be associated with what websites I try to open, but it seems that the number is the problem. I ran through all the procedures of the FAQ, including changing the maximum number of connections to 48, and the problem does not seem to go away.

    As a side note, I had this same problem when I tried to go from version 5 to version 6 more. Version 5 is the latest version which worked on my system.

    The default value of the pref Network.http.Max - connections has been increased from 30 up to 256 in versions of Firefox 6 +.

    Try to decrease the value of the pref Network.http.Max - connections from 255 to a setting like 30 such as used in versions of Firefox 3.

    See also:

Maybe you are looking for

  • Why it suddenly start?

    So, I plug an iDevice on my iMac.  launch iTunes and synchronization starts.  I noticed that since iOS 9, pulling the plug of the iDevice without first ejecting it causes havoc with iTunes.  So now I eject the iDevice once synchronization is complete

  • Wireless display or not?

    Ive hearred that my p088nd has intel WIDI on board, but I can't find a driver. and how this work exactly?

  • Photosmart Premium C309g xp 64 bit driver, help

    Hi all.. If anybody out there knows of a driver that works on my Windows XP 64-bit OS, please would you be kind enough to pass me the link/details so I can get this printer working / recognized as a printer, (I found that I can scan when entering a W

  • How can blackBerry smartphones, I silence my lamp?

    I'm new to BlackBerry, and already, I'm stumped. I'm putting my phone vibrate or silent in order to avoid interruping sessions. I follow the instructions in the manual to the letter and it still rings, while at the bottom of the screen, it says "ring

  • Why my drive to work doesn't always work?

    So, I use an external hard drive as a drive to work in Photoshop because my computer doesn't have a ton of memory. Sometimes I Plug and it works, but recently it has not worked. When my work drive does not work, as I opened Photoshop this annoying me