Flash components and the properties inspector

Don't know if any of you have had experience in creating
components that
can have properties set using the properties inspector or
not, but here
we go.
I have several components which all have a 'data' property
that is an
Object in which a developer can store arbitrary data.
I have set this up in the component so that it will display
in the
properties inspector, thusly:
[Inspectable(name="Data")]
private var _data:Object;
Now, it does indeed appear in the inspector, but when I click
on the
field it brings up a box which then doesn't allow me to enter
any data
(see screenshot:
http://www.moloko.f2s.com/filetransfer/componentParams.png)
However, if I right-click on the symbol in the library, go to
Component
Definition, then click on the Data property in the Value
column, it
brings up a box that's a little bit more what I was expecting
in that it
contains the '+' and '-' buttons to allow me to add/delete
data, and
also some up/down arrows to allow me to move the data around
in the list
(see screenshot:
http://www.moloko.f2s.com/filetransfer/componentDefinition.png)
Anyone know what's going on with this? Is this a bug in the
Flash IDE or
am I doing something wrong??
MOLOKO
Macromedia Certified Flash MX 2004 Developer
Macromedia Certified Flash MX Developer
::remove _underwear_ to reply::
'There ain't no devil - it's just God when he's drunk' Tom
Waits
GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+
w+++$ !O M+
VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e
h-- r+ y++

The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
Looking at that, there is a getStyle() method, and I just tested it out:
put sprite(1).getStyle("borderStyle")
-- "inset"
put sprite(1).getStyle("fontFamily")
-- "_sans"
put sprite(1).getStyle("color")
-- 734012.0000
I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
sprite(1).setStyle("color","red")
And here is a page that lists all the styles that are defined:
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

Similar Messages

  • Email links out of Practice Fusion are not active (as they are in IE), which they say is a problem with "something lost in the communication between the Flash engine and the browser". Does anyone have experience with this?

    This is a medical records system, cloud based. I use Firefox to get into the system, but any browser would work. Other than this problem, Firefox works fine (better than IE, in my opinion).
    Patient demographics include their email, which is hyperlinked and should go right to Outlook (my default email program). This works in IE, but nothing happens on the click when using Firefox as the browser.
    I queried Practice Fusion, which replied: In regards to your previous question about the email hyperlink in the patient information, it looks this is not something that can be fixed on our end right now. It is the web browsers' responsibility to handle these types of links, and there seems to be something lost in the communication between the Flash engine and the browser. I apologize for any inconvenience.
    Thanks for any help anyone can provide.

    See if this helps you:
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Why when i download anything thru firefox and try to run it says its not a win 31 application and the properties show it is empty

    why when i download anything thru firefox and try to run it says its not a valid win 32 application and the properties show it is empty

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go Tools Menu -> Clear Recent History -> '''Time range to clear: select EVERYTHING''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click "Clear Now"
    -> go to Tools Menu -> Options -> Advanced -> Network -> Offline Storage (Cache): click '''Clear Now''' button
    If the problem persist check this link:
    Unable to download or save files
    https://support.mozilla.com/en-US/kb/Unable%20to%20download%20or%20save%20files
    Check and tell if its working.

  • For some reason, the Flash Player on my MAC Pro stopped working, I've checked the install on my Adobe Flash Player and the are current, but the plug-ins don't seem to be working.  Can anyone help me get it working?

    For some reason, the Flash Player on my MAC Pro stopped working, I've checked the install on my Adobe Flash Player and the are current, but the plug-ins don't seem to be working.  Can anyone help me get it working?

    It happened w/ my MacPro 2.66 GHz Dual-Core Intel Xeon about 5 months ago; tried everything I could think of including multiple downloads of Flash, and hadn't seen any solutions here.  Adobe insisted many times that I download & update, but the newest vers. wouldn't work on the computer.
    On checking Adobe/Flash was reading the computer as being an earlier model. So the new version of Flash wouldn't work w/ it.  Snow Leopard 10.6.8 was being read correctly but not the computer model (can't remember what MP model  it was reading).
    Nothing worked. So -- a very old PC trick: If nothing else works get the hammer out and bludgeon it-- might work. So I reset everything by putting the Snow Leopard  install disk in, held down 'C' on restart and let it run. 
    Didn't take anything off the HDD first, just ran the install disk over everything.
    The experts on the forums are probably cringing right now & I'd like very much for them to jump in. Love to know how my computer model was being mis-read. All I can say is, for the brave and desparate, it worked for me. Something to keep in mind.
    It helped that I had a new computer on order & have 2 backups, one being mandatory. Might work only the one time but worth a check.
    Good luck on working this one out.

  • When I want to play a video, it asks me to download the latest Adobe Flash player, and the iPad won't do that.

    When I want to play a video, it asks me to download the latest Adobe Flash player, and the iPad won't do that.

    The iPad doesn't and never will support the Flash program. You will need to download and install a different browser like the aforementioned Skyfire. Photon and Puffin are also mentioned as browsers that support Flash. Or see if the place you're accessing that video from has an app.

  • Are the main differences between the 768 GB Flash storage and the 3 TB Fusion Drive?

    Are the main differences between the 768 GB Flash storage and the 3 TB Fusion Drive?

    About Fusion Drive
    Fusion Drive combines 128GB of super fast flash storage with a traditional hard drive. It automatically and dynamically moves frequently used files to flash for quicker access. With Fusion Drive in your iMac, booting is up to 1.7 times faster, and copying files and importing photos are up to 3.5 times faster.* Over time, as the system learns how you work, Fusion Drive makes your Mac experience even better. All while letting you store your digital life on a traditional, roomy hard drive.
    About Flash Storage
    For maximum performance, you can configure your iMac with 768GB of flash storage instead of a traditional hard drive. Flash storage delivers up to four times the performance of a traditional drive — speed you’ll notice when you start up your iMac, launch an app, or browse your photo library.
    In addition the prue flash option is $900 more the then 3TB fusion drive.

  • I try and add music to my iTunes and it never shows up.  The cloud icon just flashes forever and the new music is never actually put into the library.

    I try and add music to my iTunes and it never shows up.  The cloud icon just flashes forever and the new music is never actually put into the library.  When I use the search bar the new song shows up but I cannot click on it or anything

    Why has no one replied to this question (asked loads of times by different people) Whats the solution!!!!!! Help!!!!

  • Docking the Properties Inspector toolbar to the top as it was in CS3 and every version before it

    So far in CS4 I cannot find a way to dock the Property Insp. to the top
    region of the UI - not in Dreamweaver and not in Fireworks?  Am I missing
    something??  Sure Adobe didn't disable the ability for the user to dock the
    Inspector up at the top if he/she would like to do so!!!!!!
    Any answers?
    Thanks!
    Tim

    Thanks David.  Love you, I buy your books, you rock.
    I can't imagine a single reason to have disabled docking the toolbars ANYWHERE a user might want to.  On a large monitor, I want that constantly-used tool to fall about middle to high in the natural level of my sight/eyeballs.
    Here's the feature request I submitted for both Dreamweaver and Fireworks:
    *******Enhancement / FMR*********
    Brief title for your desired feature: Docking the Property Inspector to the top like it has been for eternity.
    How would you like the feature to work?  Same as it has been for eternity.
    Why is this feature important to you?  I can't possibly imagine why Adobe would disable the Property Inspector being docked anywhere frankly, but to just arbitrarily remove it from docked where it always has been is an abject failure of good GUI design.  My eyes don't rest naturally at the bottom of my monitor.  They rest more naturally at the middle to top.  So as often as one would be looking AT the Prop Insp. it needs to be in a location that my eyes tend to fall to the monitor.
    Tim

  • Flash Components and XML Binding

    I just ran through the XML binding Bike Trails tutorial about
    a hundred times. I can get that to work just fine. But when I try
    to work with my XML file, it keeps falling apart. I just don't get
    it! I've been working on it for 2 days and it's still not working
    right.
    For one, the bindings are not showing up right. I have 2
    combo boxes and then a final one I'd like to use to list the
    stores. Here's a link to basically what I'm trying to do:
    http://www.thinkseed.com/test/stores.html
    My bindings keep falling apart. I get null values all the
    time for the second drop box that's supposed to house the States
    (the one on the site is a fluke...I accidentally had the
    <store> node on a separate line instead of nested in the
    <state> node. No idea why that one sort of worked.)
    Here's an example of the XML code:

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • Flash Components and find font (getStyle)

    Is there any way to find out what Font Family is being used by Flash Components (i.e. the "button", etc)?
    Searching the web I see some examples of how to use the "setStyle", but I don't see any any any info about using "getStyle". Maybe that's not even a command that exists. And nothing about the font is show in the ".showProps()" either.
    Thanks

    The flashComponents are standard AS2 components, and you can look up their APIs in the Flash documentation.  Here is the button docs:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001977.html#3654189
    Looking at that, there is a getStyle() method, and I just tested it out:
    put sprite(1).getStyle("borderStyle")
    -- "inset"
    put sprite(1).getStyle("fontFamily")
    -- "_sans"
    put sprite(1).getStyle("color")
    -- 734012.0000
    I'm not real sure what that means (probably the hex color converted to a float), but you can change the color like this:
    sprite(1).setStyle("color","red")
    And here is a page that lists all the styles that are defined:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001973.html#3136306

  • Missing Flash Pro CC 2014 Properties Inspector?

    I am a student and just downloaded a trial version of Flash Pro CC 2014. When adding a graphics symbol to the stage, I am unable to name instances. I was wondering whether the trial version is incomplete or whether the interface has just changed. My book Digital Media Primer show an interface including the Stage, Timeline, Library etc., but the pictures offer a different Properties window which includes a textbox allowing naming of particular instances. Can someone tell me how to name instances?
    Thanks
    Matt Armshaw

    you've never been able to assign instance names to graphics' symbols in the properties panel.
    use a movieclip or button.

  • About the difference between the AWT components and the swing components

    As we know that an AWT component has a peer, but dose a lightweight component(e.g: a swing component) has also a peer? And could somebody tell me that who and how creates the CLICKED_EVENT when I click a JButton(a swing component), and where the CLICKED_EVENT to go util it was processed by a method like btn_ok_clicked(Event e)? And if I click a Button(an AWT component), what's the difference?
    Thanks a lot!

    The main difference is that AWT are native components, and Swing components are entirely in java written. That's besides the look and feel. There are a lot of other differences between AWT and Swing, and there are better described in the documentation.

  • Font size is too small in flash applications and the "zoom" feature does not make any difference. Thanks

    Zoom dosen't work in flash applications and it is crazy small and too hard to read...this does beat out the fact you can't right click using flash in google chrome...I prefer firefox, but will go back to IE if it is the only program without such major bugs
    I have also reset the minimum text size in flash and that did not help the problem at all.

    Zoom dosen't work in flash applications and it is crazy small and too hard to read...this does beat out the fact you can't right click using flash in google chrome...I prefer firefox, but will go back to IE if it is the only program without such major bugs
    I have also reset the minimum text size in flash and that did not help the problem at all.

  • I am running OS X 10.7.3 and now Outlook 2010 will not open. It flashes quickly and the disappears.

    I am running OSX version 10.7.3 and Outlook 2010on a Mac Book Pro. When I attempt to open Outlook, it bounces and then flashes quickly on the screen but then quickly disappears.

    Make sure Microsoft Office is up to date. You can do this buy going to Help menu and "Check for updates". If that doesn't resolve it I would recommend removing it and reinstalling it.

  • Flash, Flex, and the iPad

    While there is no shortage of iPad/Flash discussions on the Adobe and Apple forums, after searching for a couple hours now I have been unable to find the answers to my specific question.  So please forgive me if I missed it somewhere.
    As I understand it, Apple does not support Flash for the mobile and iPad devices.  This is reiterated in a number of Apple forum postings that I just read, as well as Steve Jobs' rant here:
    http://www.apple.com/hotnews/thoughts-on-flash/
    However, I came across this Adobe press release from less than a year ago:
    http://blogs.adobe.com/ukchannelnews/2011/06/20/announcement-mobile-applications-for-andro id-blackberry-iphone-and-ipad/
    Apparently this Flex thing allows me to develop cross-platform mobile applications.  So I do some research on Flex, trying to figure out the difference between Flex and Flash.  I come across Adobe's FAQ here:
    http://www.adobe.com/products/flex/faq.html#flex-flash
    It's not real clear to me, but it sounds like what they are saying is that Flex is simply a programmatic framework around which I can build Flash applications, especially helpful for those more familiar with traditional programming.  If this is the case, based on Adobe's press release above, it sounds like I should be able to use Flash on the iPad via Flex?  What am I missing?  Is there other differences between Flex and Flash?  Or perhaps is it the difference between an application and browser support (like Apple's Safari)?
    Thanks in advance for your patience, and your help.
    3P

    It's easy Pea...
    Flash is a plugin. It runs from withing the browser IE, Firefox, Safari, Opera, etc... It also can be run standalone, via special exe program on Windows platform.
    Although this is less common. Here are all the Flash versions: http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
    AIR is a cross platform runtime, kind of like Java (build once run everywhere). But with AIR it's a bit more tricky. You have to compile your program to each target platform (Desktop, Andriod, BlackBerry, iOS) separately. It's not like with Java where you can indeed run your jar file on lot of platforms. AIR is essentially Flash "on steroids" as it mostly has the same API as Flash and builds on top of it. But AIR not in the pluging form, i.e. you don't need a web browser to run it from.
    Here are the latest AIR runtime: http://get.adobe.com/air/
    and SDK: http://www.adobe.com/devnet/air/air-sdk-download.html
    You will need AIR SDK to build AIR applications and it has to be overlayed on top of Flex SDK which you can find here:
    Flex SDK: http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.6
    Now Flex SDK is essentially a component framework. You will need a button in your application, or a Video component, right? So that is what Flex provides for you free of charge.
    Obviously this sound simple but Flex is much more then that and here is your
    Flex documentation: http://www.adobe.com/devnet/flex/documentation.html
    So, Flex is a component framework which lets you build applications which target either Flash or AIR as executable runtime. For Flash it is called Web application and it runs from withing browser or standalone Flash player. For AIR it is called Desktop or Mobile project and it runs from withing AIR runtime which has to be installed on your device or bundled with your application.
    Now, speaking of Steve rants, yes, they wanted to kill Flash on their platform, there was even a guy there who was responsible for that result (I forgot his name but you can google), although Adobe never admited that and played it nice with Apple. Why they wanted to kill most expressive and complete vector and video engine on the web (Flash)? It's simple! This is beacase they wanted to play on their nice and cozy iOS/iPad/iPod playground alone! Because they want to control the delivery of the content from publisher to consumer. they want to stick their proprietory products and specifications in between and skim the money! That is why they don't need Flash in the browser. Flash allows people to publish and consume an impressive content without charging a dime! That includes H264 video among other things. And that is what Apple doesn't want to see.
    Good luck with Flex and everything else,
    SdS

Maybe you are looking for