[svn] 2569: Adding [HostComponent] metadata functionality for use with Gumbonent skins to provide a

Revision: 2569
Author: [email protected]
Date: 2008-07-22 13:55:02 -0700 (Tue, 22 Jul 2008)
Log Message:
Adding [HostComponent] metadata functionality for use with Gumbonent skins to provide a
strongly typed reference (hostComponent) back to the owning component, automagically.
Reviewer: Paul (Compiler), Ryan (SDK)
QA: Yes
Modified Paths:
flex/sdk/trunk/development/eclipse/flex/flex4/.actionScriptProperties
flex/sdk/trunk/frameworks/projects/flex4/build.xml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ApplicationSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/CheckBoxSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarThumbSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarTrackSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderThumbSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderTrackSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ItemsComponentSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/RadioButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ScrollBarDownButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ScrollBarLeftButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ScrollBarRightButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ScrollBarUpButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerDecrButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerIncrButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ToggleButtonSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarThumbSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarTrackSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderThumbSkin.mxml
flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderTrackSkin.mxml
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
Added Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentExtension.java

Try assigning a rollover to each conatiner mc as it is created...
scrollerBase["imageHolder" + i].onRollOver = function(){
      trace("SUCCESS");

Similar Messages

  • How Do I create a Modular Function for use with Event Listeners

    OK I'm very new to AS3 and I'm curious as to how to get
    modular functions to work in AS3.
    for instance if I have this code:
    function snowfall(snowflake:MovieClip, movement:Number):void
    snowflake.y = movement;
    snowfall(snowflake1_mc, 10);
    snowfall(snowflake2_mc, 20);
    snowfall(snowflake3_mc, 30);
    Now on the stage I place 3 instances of a snowflake movie
    clip. Each time I call the "snowfall" function I refer to a new
    instance of the snowflake movie clip and a different amount of
    movement along the y axis.
    This is great but what if I want to use a button to control
    these snowflake movie clips and I want to maintain that modular
    nature? I don't really get how to do this. I created a button with
    an instance name of "myButton" and I've tried this code but it is
    throwing an error I don't really understand:
    myButton.addEventListener(MouseEvent.CLICK,
    snowfall(snowflake3_mc, 30));
    Can I not pass information to a function using an
    EventListener?

    Hi --
    What you want to do on your button is this..
    myButton.addEventListener(MouseEvent.CLICK,snowfall)
    Then in the function you can check which button called the
    function using
    properties of the event..
    function snowfall(event:MouseEvent) {
    trace(event)
    I am not sure off the top of my head of the data available in
    the "event"
    but the trace will show you all the variables you can access.
    As far as the amount of movement -- how is this information
    set? You can
    keep this in a global variable and then read it from inside
    the event
    handler rather than needing to pass it to the event.
    Rich
    "HalcyonCollective" <[email protected]>
    wrote in message
    news:fl695r$l95$[email protected]..
    > OK I'm very new to AS3 and I'm curious as to how to get
    modular functions
    > to
    > work in AS3.
    >
    > for instance if I have this code:
    >
    >
    function snowfall(snowflake:MovieClip, movement:Number):void
    > {
    > snowflake.y = movement;
    > }
    >
    > snowfall(snowflake1_mc, 10);
    > snowfall(snowflake2_mc, 20);
    > snowfall(snowflake3_mc, 30);
    >
    > Now on the stage I place 3 instances of a snowflake
    movie clip. Each time
    > I
    > call the "snowfall" function I refer to a new instance
    of the snowflake
    > movie
    > clip and a different amount of movement along the y
    axis.
    >
    > This is great but what if I want to use a button to
    control these
    > snowflake
    > movie clips and I want to maintain that modular nature?
    I don't really get
    > how
    > to do this. I created a button with an instance name of
    "myButton" and
    > I've
    > tried this code but it is throwing an error I don't
    really understand:
    >
    >
    myButton.addEventListener(MouseEvent.CLICK,
    snowfall(snowflake3_mc,
    > 30));
    >
    > Can I not pass information to a function using an
    EventListener?
    >

  • How does one install non-English character sets for use with the "find" function in Acrabat Pro 11?

    I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • Doesn't play songs, "itunes is not configured for use with mac-formatted"??

    Hi, new ipod shuffle. Seems to charge fine, all indicator lights function as expected. Everything looks fine in itunes. But it doesn't play songs. I have the most recent versions of itunes and the ipod software. Re-set, updated, and restored, nothing works. Even restored using the restore utility. Re-started computer. Checked for volume control. Won't play songs. Tried different file types. Songs play fine from itunes library and from the device's library within itunes. Tried different headphones. Hooked it up to computer speakers. Turning volume all the way up on device and speakers, heard some very faint rhythmic static, so my guess is the jack socket (or whatever you call it) is just messed up, but it seems weird that it can transfer power and data to the device but doesn't work for sound...
    The only other issues that have come up is that the drive disappears in explorer once it syncs with itunes. Other people who've noticed this seem to have completely different problems so I don't think it's related.
    Also, I have MacDrive on my computer. And when it starts up with the ipod plugged in, MacDrive offers the message "Itunes is not configured for use with Mac-formatted ipods." It offers to automatically reconfigure itunes so it can read mac-formatted ipods. Since I've restored the device, I don't see why formatting should be an issue so I say "no."
    Should I try letting macdrive do its format thing? Should I try formatting the ipod disk on the My Computer menu? Or should I just email apple and tell them the jack's busted?
    Thanks for any thoughts!

    Well, I have had my iPod for about 3 years, it is a 4th generation non-video 40 GB. One day it just stopped working, and now it does not play any songs. when I turn it on it makes this odd whirring sounds that computers make when they try really hard to do something. I cannot charge it, and it is not recognized by iTunes. Also when I turn it on, I get the apple.com/ipod/support (or whatever it is) screen. Needless to say, my warranty is expired, and so I cannot do anything for it except get a new battery, or buy a new one. Is there any way to fix this problem, or anyone out there who is experiencing the same thing?
    I'm having the exact same problem with my wife's iPod. However it will play about 3 seconds of a song and go onto the next song.
    If there is anyone out there that can help please do!
      Windows XP  

  • Is there a plan to update Configurator for use with InDesign CC?

    Hi all,
    When will Configurator be available for use with InDesign CC... Is there a plan to update it in the near future to be compatible with ID CC?
    Thank you so much:)
    Christine

    shane.daley wrote:
    I have recently purchased an iPad Air 2 and to increase useability purchased a Logitech +type bluetooth keyboard. I'm very happy with both but disappointed in the lack of autocorrect function between the bluetooth keyboards (not a logitech deficiancy) and iOS.
    Is there a plan to fix this please?!
    Is that because you also ask the same question to Logitech and that was their response, since you're using a 3rd party software

  • Does an upgrade to ilife 11 contain idvd for use with mountain lion (10.8.5)?

    Does an upgrade to ilife 11 contain iDVD for use with mountain lion (10.8.5)?  I received an advertisement about upgrading to iLife 11 and it discusses sharing via iDVD, which was disabled when I upgraded to Mountain Lion OS 10.8.5.  Would purchasing the iLife 11 download restore the functionality of iDVD, or is this just another way to get the sheep to upgrade iMovie with no way to export to iDVD or equivalent.  Why is there no Apple warning that Mountain Lion disables and does not support iDVD?  I used to think Microsoft was a trickster, but I'm of the opinion that Apple meets or exceeds their slippery machinations.  Am I just stuck with purchasing a 3rd party software to replace iDVD?

    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailier like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • Import "general use" certificate for use with Exchange

    Usually (that's the way I've always done it), we create a certificate request on the Exchange server, submit the request to the certificate authority (preferably a 3rd party public CA) and then import and enable the certificate for the appropriate Exchange
    functions: IIS, SMTP, IMAP. POP, for example.
    What if the company already has a wildcard certificate obtained for others uses or general use (that's how it was described to me).
    It was suggested that we might just use that certificate...
    I think it would be best to "go by the book" and proceed as mentioned above (creation of cert request on the Exchange server, submission to CA, and so forth). After all, you can obtain a certificate appropriate for use with Exchange for just over
    $50.
    But is the other option even possible?
    I know you can export an Exchange certificate obtained by what I believe to be the preferred way and import it on another Exchange server or on a ISA/TMG machine.
    But could you export a certificate from an Apache web server or a firewall device or... just something else, and use it for Exchange?
    This article seems to suggest you could:
    http://www.sslshopper.com/move-or-copy-an-ssl-certificate-from-an-apache-server-to-a-windows-server.html
    But from what I know about Active Directory Certificate Services, there are all kinds of templates for various uses (disk encryption, email, code signing, etc.), presumably not interchangeable.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

    So you want to export the existing wildcard certificate from a non-Windows system and import it to the Exchange server, correct?
    The article shows that openssl will create a PFX (PKCS#12) file - so this should work.
    I would not worry about templates. If the existing certificate is a SSL certificate (Extended Key Usage = Server Authentication) it should be OK.
    From "PKI Best Practices" perspective / "what a certificate actually is intended to be" it would be better to have a dedicated certificate including all the Subject Alternative Names needed by Exchange - but I know there are limitations to a certain number
    of names by public CAs. But theoretically if you ever wanted to revoke this wildcard certificate you would get into troubles as the same certificate is on very different systems.
    Elke

  • Min max lot size time based for use with SNP and PPDS

    Hi all, Is there anyway to set up time based min and max lot sizes? ie we want to have a Max lot size which is small for use with the first 3 months of our plan which starts life in SNP and then converts to PPDS and into blocks for block planning, but months 4 to 36 we want to leave as large max lot sizes as there is no need to have the small max lot sizes for the different horizon.
    As far as I can see there is only a material/plant lot size  and Max lot size and no way to have a different setting in a different time period.
    Thanks
    j

    Hi John,
    As you know, in the product master, the lot size maintenance is time-independent, so that obviously can not be used for your scenario. As per my understanding, to meet this using standard functionality, you can maintain multiple product specific t-lanes (for STRs) and PDSs (planned orders) with required lot size ranges and validity dates (for short or long term horizon). But, again since the validity of t-lanes and PDSs will not be automatically rolling forward so the updating the validities will be a challenge.
    The other option could be to enhance the heuristic functionality at lot size selection step while creating order.
    Regards,
    Umesh

  • HT204149 What is the maximum resolution available for use with the Apple Mini DisplayPort to Dual-Link DVI adapter?

    What is the maximum resolution available for use with the Apple Mini DisplayPort to Dual-Link DVI adapter?

    Hey guys,
    I found out an answer by myself...
    The missing link : the MacBook Pro needs to be powered... as in you need to plug the charger in...
    In conclusion, you simply plug everything, turn on the MacBook Pro, close the lid, and there you go !

  • How do I do this to use OVerdrive media on deviceThe Apple device must be formatted for use with Microsoft Windows.  The iTunes setting 'Manually manage music-' must be enabled for the device before you can complete the transfer.

    I cannot make these directions work
    I downloaded media on Overdrive MEdia on my PC
    I have the overdrive media ap on my I pod touch 4g
    this media is suppossed to be compatible w/I pd touch
    Notes on Transferring OverDrive MP3 Audiobooks…
    Most MP3 capable devices should play OverDrive MP3 Audiobooks.
    If you intend to transfer OverDrive MP3 Audiobooks to an Apple® device, note the following…
    iTunes® v9.0.2 (or newer) is required.
    The Apple device must be formatted for use with Microsoft® Windows®.
    The iTunes setting 'Manually manage music…' must be enabled for the device before you can complete the transfer. Adjust this setting in iTunes as follows…
    Connect the iPod® to your computer.
    If it does not launch automatically, open iTunes v9.0.2 (or newer).
    In iTunes, locate the device in the left vertical navigation panel (under heading 'DEVICES'), and click the device.
    The 'Summary' screen is displayed. 
    Place a checkmark next to 'Manually manage music…'.
    Click the 'Apply' button.
    The iTunes 'Summary' screen refreshes, and the changes are saved.
    If desired, close iTunes.
    Note that if an Apple device is connected to your computer, you can choose to simultaneously transfer a title to the iTunes Library and the Apple device. If you wish to only transfer a title to the iTunes Library, you must first disconnect the Apple device

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    Also you said " I want to add them to my iCloud, and also back to my computer.   " Note that unless  subscribe to iTunes match, only iTunes purchases are stored in iCloud.
    Also,
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • I have a company Ipad that belonged to a deceased employee. no access to his icloud or appleID. how can I restore it for use with a new apple ID

    I have a company Ipad that belonged to a deceased employee. no access to his icloud or appleID. how can I restore it for use with a new apple ID?
    The apple ID was his personal account and can no longer gain access. Im sure I can get purchase recipts from the accounting department if needed. I tried to put the Ipad in restore mode and used itunes to "recover" the ipad but it still wont let me in because he registered the device with the "lost iphone" feature or whatever that is.

    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.

  • HT3529 Is there a way to create, store and use preset messages for use with "Messages"?

    Is there a way to create, store and use preset messages for use with "Messages". I often have a recurrinig message to send, after a repeating event, and need to enter the same short message each time. It would be nice to have this short message stored and selectable so that I do not need to enter each time.

    found an answer that seems to work:
    https://discussions.apple.com/message/17997300#17997300

  • Can i buy an iPhone at a pawn shop and get it unlocked for use with Straight Talk wireless?

    Just wondering if I can buy a used iphone at a pawn shop or on ebay and get it unlocked for use with the prepaid Straight Talk wireless service? If so, how much would it cost to get it unlocked?

    PHones can only be unlocked from the carrier; if you're looking for an unlocked device I'd recommand buying it directly from Apple as that is the only way to promise it is, if you buy it second hand you may find it is locked to a carrier who doesn't support unlocking, or worst yet activation lock

  • Best drum loops for use with Logic? Ease of use, usability, etc.

    Hi,
    I have BFD2 but find it slow to load and sometimes clumsy auditioning loops within Logic. I love the Apple Loops library but I wondered if people are importing MIDI drum files for use with Logic. Do all drum files use the same MIDI mapping? If I drop a BFD2 loop into a Logic drum virtual instrument will it work? I bought a few packs from Groove Monkee but have yet to use them with Logic. I only use them within BFD2.
    I'm basically looking for a seamless way to stay within Logic to improve my workflow. It's taken me days sometimes to get a drum track right by going back and forth with BFD2. Is there a concept I'm missing that would make it easier?
    Thanks

    try Stylus RMX by Spectrasonics. http://www.youtube.com/watch?v=FlgP1q1HCj4

Maybe you are looking for

  • My ipod 4th gen can't be recognized by itunes after itouch software update

    my ipod 4th gen can't be recognized by itunes after itouch software update. I have reset both PC and itouch to no avail

  • Wrongly posted to asset instead of GL

    Hi All I have a asset which was wrongly  posted as an asset in the last year and now users want to transfer that to a Balance sheet GL account .Depreciation has been run on the same for the last year and the current year  .Any ideas? Can I scrap the

  • Photo's on iweb

    I don't want people to be able to download my artwork on my website. Does iweb have a way to take that option off, I looked in the help topic and no luck. www.mattparkergreen.com

  • IMPORT FROM COLOR NOT WORKING

    in color when i select send to final cut pro all the color corrections are lost when opened on final cut. It appears that I successfully rendered all of my clips in Color, but when I open the NEW sequence in FCP (the one from color) they do not look

  • Starting up oracle fusion Middleware.

    g'day guys, i was hoping if anyone is having the same issue as me. I have upgraded discoverer 10g to 11g. I am hoping what i have installed or the way i installed this is correct. I have installed weblogic server 10.3.3.0 and discoverer 11.1.1.3 i am