Coding the "List" Flash Component

Hello,
I’m designing a simple list creation\editing
application I was wondering where I can get information on coding
the “List” Flash Component in Director MX 2004.
I’ve got as far as finding out how change what is on the list
using “.data” and “.labels”, but I want to
be able to tell what the user selects from the list.
Thanks for your time

You can use an on change function in a behavior attached to
the flash
sprite.
property thisSprite
on beginSprite me
thisSprite = me.spriteNum
sprite(thisSprite).labels = ["one","two","three"]
on change me
put sprite(thisSprite).selectedItem.label
end
-- "one"
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.macromedia.com/software/trial/

Similar Messages

  • How to get the list of component?

        How to get the list of component through java API in Adobe CQ5?

    There are probably more than a few ways, but here is a little component .jsp code that uses the jcr query api to pull out all the components and list them on a page.  If I know CQ, there might be a way to ask for a list of components another way though, maybe through another API, or possibly a .json url, I might remember reading something about that, somewhere, lol, but this at least gets you the list in a somewhat simple way.
    Code Example:
    <%@include file="/apps/psul/components/global.jsp"%>
    <%@ page import="javax.jcr.*,
                       javax.jcr.query.*"
    %>
    <%
       // Login to create an anonymous session on the default workspace
       Session session = resourceResolver.adaptTo(Session.class);
           //Declare a query for all the components in the system
           String SQL = "select * from cq:Component";
    //side note: if you want just the components in your site area, then make the query more like below...
    //  SQL = "select * from cq:Component where jcr:path like '/apps/yoursitename/%'";
           QueryManager qm = session.getWorkspace().getQueryManager();
           Query query = qm.createQuery(SQL, Query.SQL);
           QueryResult result = query.execute();
           NodeIterator nodes = result.getNodes();
           while (nodes.hasNext()) {
               Node node = (Node)nodes.next();
               %>
                    <p><%=node.getName() %> (<b><%=node.getPath() %></b>)</p>
    <%     } %>

  • The new vrsion of the ultimate Flash component for elearning

    Flash-O-Navigation Professional , an advanced version of
    Adobe approved component for Flash based e-learning is released at
    http://www.esspl.com/flashcomponents/flashonavigationprohome.asp
    In this version there are many advanced features associated
    such as UTF8 font support to create e-learning interface in
    languages like arabic, japanese; FLV movie support , with
    capability to bookmark any point of the FLV content; Inbuilt
    WhiteBoard feature to let users save hand drawn shapes and sketches
    for future reference.

    Importing text from an XML file to appear as text in Flash
    works in English, however if the text I want to import is in
    Arabic, when I test the movie there is no text at all.
    Is there some particular syntax to preface the Arabic text?
    I'll want to import text from XML in other languages too.
    (French)
    I'd cut and pasted some Arabic text into the XML file that
    displays pictures and text in the "slideshow.fla" (
    http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
    Substituting Arabic text for English text, editing the XML
    file with Dreamweaver.
    Any ideas as to how I might achieve my objective of importing
    Arabic text into Fash?
    I'd started developing my prototpe in Macromedia Director 7,
    and then Director MX, but I have not found a suitable Arabic font
    that I can embed that will allow me to display Arabic fonts in
    Adobe Director. I have the Arabic text in a Word document.
    I've dicovered that my Flash MX Pro and Dreamweaver both
    support Arabic fonts, but I want to import text from an XML file.
    I'd prefer using cast libraries and cast members, but I don't
    know of an equivalent in Flash to what I'm comfortable with in
    Director.

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • List view component not being ordered

    I am using the list view component to represent my table data. for creating a new row, i use a popup which has a separate taskflow in which i create a new row. Now i need to refresh the list view component after this new row is created. I am doing that using contextual events. I just re execute the query of the vo based on which the list view component is made. But in order to get the in memory rows, i set the view objects query mode to scan view rows as well as entity based rows. This however makes the vo query's order by clause to not work. I am not sure why but the list view data is no longer ordered.
    Also if anyone has any idea how to refresh the entire list view component, that is load data again, it would be of great help.
    Thanks in advance,
    Jithesh

    Hey,
    I'm new at this so i'm going to try to help (although it problably won't work or do what you want).
    You said you want to refresh the entire list view component, well, normally i have my views/data controls connected to a binding variable in my bean class and if i want to update something (lets say a selection) i use this code:
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(dimFactSales);
    dimFactSales = variable binded to one of my views.
    Hope that helps,
    Frederico.

  • Automatic Selected Item of List Builder Component Does not work (anymore)

    Hi all,
    Í'm working with Xcelsius Engage 2008 (version 5.3.2.0) and the automatic selection of an item at runtime of the list builder component does not work anymore. In a previous version it worked very well.
    Here's the case: at runtime I want that the list builder component automatically puts the first item in the list to the destination section and selects it, so that a graph can show the underlying pushed data. In the previous version it worked o.k., but now at runtime the destination section remains empty at startup. If I interactively select an item from the source section to the destination section and update the list builder, the data is shown correctly, but it must done automatically, which worked o.k. in an earlier version of Xcelsius 2008...
    This are my settings of the list builder component (which was running correctly earlier..):
    -at the general tab I defined a range of labels
    -at the general tab I defined 2 data column insertion series
    -at the behaviour-common tab I defined selected items: position mode; items: the first item of the label list; insert items at runtime
    -all of the data comes from an external xml data source
    You can find an example of the visualisation at: http://onderzoek2.evinet.nl/projecten/10169/dynarap.htm. You will see that at start-up there is no item visible and selected in the destination section of the list builder....
    I've tried every combinations of settings, build up the component from scratch, but its not working (anymore).
    Greetings Erik-Jan Vriens

    Hi njnits,
    Print view button is a standard component of Xcelsius: look at it in the IDE
    Exporting to Powerpoint is also a standard functionality, so yes. For this particular dashboard/report all data resides in an external xml-file which have to be accessible for Powerpoint
    All visualisations, not only the table,  in this/report fetch their data from an external xml-file, but a QaaWS-connection will also do the trick. You will have to write this dedicated service. In our case the xml-data is also generated automatically.
    The external data is best defined as a sort of matrix, consisting of approx. 100 columns by 1000 rows. I agree it takes a lot of Xcelsius but it does the job....
    Hopes this info helps....

  • Problems using "Edit Column Widths" feature in List View component

    Hello. I'm using a list view component (Xcelsius 4.5 Professional) to display a simple table of text from Excel. I want to adjust the width of the component colums so that all of them fit on the screen at the same time- regardless of how wide they are in the excel columns. The problem is the columns in excel are of variable length; I have no way to predict how wide they will be. The list view component always defaults to the widest column(s) so it ends up pushing some of the columns to the right and  I then have to use the scroll bar to see them. I thought the "edit column widths" would allow me to force the column widths in the component (potentially truncating some of the columns), but it does not work that way.
    How is the "edit column width" feature supposed to work? What does one enter in the value for each label? Are the units in pixels? When I start entering values I get all kinds of strange behavior...

    This was a great place for me to start
    Thank you
    I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
    To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
    In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
    Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
    Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
    Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
    Thank you for the help  from the above helper to get me here

  • CS3 fails to output an SWC Flash Component File

    My workflow uses CS3 to create SWCs which I include in my FlashDevelop Project. But CS3 no longer outputs the SWC Flash Component File. It outputs the SWF, but not the SWC. So I set up this test FLA to see what's up...
    I used a weird name for the MovieClip (MKLop2) to avoid any possible naming collisions and added AS3 to the MovieClip's timeline (a simple this.stop(); )  to ensure Flash was "seeing" enough content to warrant an export to SWC. I also tried right clicking the MC in the library and choosing Export SWC file... from the drop down menu. Flash processes the request but does not produce an SWC. There is an instance of MKLop2 which has been dragged and dropped on the Stage. So, I have done all I can think of to encourage Flash to output an SWC that I know to do. Have I just overlooked something simple? Thanks. Mond.

    It all looks good to me and no you shouldn't have to do anything to get it to export items in the SWC other than add a linkage ID to each item you plan on accessing via code.
    Perhaps try running Flash as Administrator to rule out any filesystem permission issues.
    Lastly are you setting the SWF location every time? Make sure you hit the browse button and select the location every time you open the document. You should only need to do that once.

  • Flash Component Kit on CFMX

    My company is upgrading from CF Enterprise to CFMX7. I'm
    trying to make the Flash Component Kit calendar work on CFMX7. The
    page with the calendar component loads fine, but the status bar
    shows an 'Error on page' when I try to click the calendar button.
    The calculator component works fine, by the way. Anyone have any
    experience with this? Here's the URL to the component kit download:
    http://www.adobe.com/cfusion/exchange/index.cfm?searchString=Flash+Component+Kit&view=sn10 5&exchangeID=0#loc=en_us&view=sn106&viewName=Exchange%20Search%20Details&authorid=35342301 &page=0&scrollPos=0&subcatid=0&snid=sn106&itemnumber=1&extid=1002278&catid=0&searchString= Flash+Component+Kit&exchangeID=0

    I wouldn't use the
    Macromedia Flash Component Kit for ColdFusion (Windows),
    V1.0. It is more than 5 years old, too old for CFMX7. Look for
    an alternative solution.

  • In Firefox 4, how do I change the order of plugins on the Add-ons Plugins manager page (I turn Shockwave Flash on only to see videos - having it off prevents screen freezing - and so I want it stay at the top of the list)?

    In Firefox 4, how do I change the order of plugins on the Add-ons Plugins manager page? I turn Shockwave Flash on only when I want to watch a video and then turn it off to prevent screen freezing, and so I want it to PUT it and KEEP it at the top of the list.

    Hit Ctrl+0 (That's a zero, by the way). I'm not sure if it will work, but hey, that's the first thing I would try.

  • I often get the message "The Adobe Flash Plugin has crashed / Reload the page to try again" but the plugin check page does not list Adobe Flash.

    The plugin check page does list something called 'Shockwave Flash." I went to the Adobe site and downloaded and installed the latest version of Adobe Flash but it still does not show up on the plugin check page. I don't see how Adobe Flash can be crashing in Firefox when Firefox doesn't even know that it's installed.

    Your System Details List shows the Shockwave Flash 12.0 r0 plugin as installed, so you appear to have the Flash plugin installed.
    You can check the version of the current Flash player here:
    *http://www.adobe.com/software/flash/about/
    *http://helpx.adobe.com/flash-player.html
    What is the current setting for the Flash plugin on Firefox/Tools > Add-ons > Plugins?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Adding Images to the List component

    Adding Images to the List component while using the FLV
    PLayback
    All, ( i can send you my source files if it would help)
    I'm using the FLV Playback component and loading videos into
    it from an external xml file. I also have a list component tied to
    the FLV playback that when you click on one of the elements in the
    list, it plays that movie.
    QUESTION:
    My question is how do I add an image to the list component?
    Below is the xml file and the actionscript. I've added the image
    attribute to the XML file as img="time_square.jpg" and added the
    element of the array when calling/creating the list. Did I do this
    right?
    Any direction would be very much appreciated.

    Adding Images to the List component while using the FLV
    PLayback
    All, ( i can send you my source files if it would help)
    I'm using the FLV Playback component and loading videos into
    it from an external xml file. I also have a list component tied to
    the FLV playback that when you click on one of the elements in the
    list, it plays that movie.
    QUESTION:
    My question is how do I add an image to the list component?
    Below is the xml file and the actionscript. I've added the image
    attribute to the XML file as img="time_square.jpg" and added the
    element of the array when calling/creating the list. Did I do this
    right?
    Any direction would be very much appreciated.

  • What Component should be used to display the list on UI

    Hi All,
    I have a table in which when the user selects a row and tries to remove the row. I am supposed to show the pop up which shows all the rows matching to the header of the row.
    In my backing bean i have the context of the row so i could extract the matching rows form db into a List<String> . Now what i need to know is which component on the Ui will show this as a list in Pop Up.
    I mean which component af:??? should be used to display the List ?
    I am kind of new to ADF.
    Regards,
    Sharma

    inputComboboxListOfValues
    selectOneChoice
    inputListOfValues

  • [svn:fx-trunk] 7765: Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.

    Revision: 7765
    Author:   [email protected]
    Date:     2009-06-11 15:58:18 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.
    Also, updating the MXP to get latest changes to base classes.
    QE Notes: -
    Doc Notes: -
    Bugs: SDK-21670
    Reviewer: No one (just header updates)
    tests: checkintest (seem to fail due to local changes to ScrollBar, which I'm not checking in here)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21670
    Modified Paths:
        flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp
        flex/sdk/trunk/frameworks/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Component.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Container.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/MakeFlexComponent.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

  • List of items waiting in the SAP connect component in SOST transction

    Hi All,
    In SOST transction we can see the list of items waiting in the SAP connect component
    I want to get this list of items
    Could you please tell me how I can get this list?
    Thanks in Advance
    Snehal

    Hi All,
    Thanks for your reply.
    The tables SOSC and SOOD are used to find the list of waiting objects to send.
    My problem is ,  I have to delete some specific entries  from this list through code so that these entries will not send to approver.
    Is it sufficient to delete entry of seletced objtects from table SOSC?
    Also could you please tell me about other tables like SOST?
    Thanks in Advance
    Snehal

Maybe you are looking for