Z-Index inside flex 4???

Hi iIve been hearing that adobe was planning to add Z index in Flex 4 to arrange the order in which objects are displayed. Is this true?
We are developing a massive game like application with thousands of objects, many of which are moving (e.x. units are running on the map) and to rearrange their order sounds like a nightmare. Is there anything like z-Index in DHTML? I've tried Z component but it does not seem to do what i want...

Components in Flex 4 have a new property called depth.  The new Spark Containers (Group, DataGroup, Panel, SkinnableContainer, SkinnableDataContainer, List, etc...) support this property, and it's what you're looking for.  However, with thousands of objects in a game, that seems like a lot.  Are you guys using a Group to display them all?
-Ryan

Similar Messages

  • Sy-index inside a loop

    Hi All,
    I am trying to enhance a datasource and in that I am writing a loop inside another loop. I am trying to get
    the loop number of the inner loop by using the sy-index inside the inner loop. But, the sy-index is not being changed and it is always remaining as 1.
    I even checked the sy-index in the outer loop and it is the same even there. I do not have any idea why the sy-index is not changing according to the loop number.
    Any Ideas????
    Best Regards,
    Nene.

    Nene,
    I suggest to use your OWN counters ( when using may loops) like
    l_****_out = l_****_out + 1.
    and
    l_****_in = l_****_in + 1.
    Regards,
    Hari

  • How to get the column index inside a dataTable

    Hello,
    before I get staked, there are multiple threads handling familiar topics to the one I'm questioning about but none gives an anwer. If there is one, I'm propably to less skilled to see it.
    So here is my Problem: I've build a web-interface to a time-recording system. The hours worked on a certain project are displayed in a dataTable component which is generated out of a mySQL Query. Each entry (column/row) contains a inputText component to display and edit the specific value.
    Editing one of these inputText elements now fires a valueChangeEvent which reads the new value and stores it in the database. For that cause I need to know the row- and column-index of the inputText component that fired the event.
    Using the getClientId method from the valueChangeEvent I get some Information which makes it possible to calculate the row/column index. A typical clientID looks like "form_table:mainTable:0:_id14". "form_table" is the ID of the form the dataTable is in. "mainTable" is the id of the dataTable component. "0" is the row the component is in. And finally "_id14" stands for the id randomly given to the inputText component by JSF.
    My Problem is now, that though I can calculate the column out of the[i] "_id14", this calculation is hardcoded. So everytime I add a component in before the dataTable, the calculation needs to be adjusted in the code.
    The Questions:
    - How to force a sensefull id indicating a column-index for the inputText components inside the columns of a dataTable?
    - Nicer since no workaround: How to get the column-index inside the dataTable on a natural way? (e.g. out of the valueChangeEvent the specific inputText component fires)
    After some investigation here on the board and on the net I know multiple ways to get the row index, (Things like component-binding and so on) but I can't find a answer on how to get the column-index.
    Thanks to all answers and/or links to things my eyes missed while searching for one.

    ...then index 0 becomes index 1 and my program doesn't work properlyThe program works properly, just not as you expect it to.
    As you've noticed the table gives you the flexibility to move columns around. So if you move column 0 to column 1, why would you expect to still use 0 as the index? The table manages the reordering of columns for you to make sure the data being displayed in each table column comes from the correct column in the data model.
    You can manage this yourself using one of the following methods (I forget which one):
    table.convertColumnIndexToModel(int viewColumnIndex)
    table.convertColumnIndexToView(int modelColumnIndex)
    Or, you can get data from the data model directly:
    table.getModel().getValueAt(row, 0);

  • Does Google index Adobe Flex content

    Hi,
    Does anyone know if Google indexes Adobe Flex content?
    I have seen many examples of Adobe Flash content being indexed but none so far for Adobe Flex generated SWF files.
    I  have researched this a lot but cannot find a definitive answer....  Adobe say that Yes Flex generated SWF files are indexable but I have  found no evidence to support this.
    Can anyone help me with my question??  I am doing a final year project on RIAs and I need to know!
    Thank you in advance,
    Angela.

    hey angela i presumme you already took a look at these sites right?
    http://www.adobe.com/devnet/seo.html
    http://forums.adobe.com/message/2102458#2102458
    http://www.adobe.com/devnet/seo/articles/flash_seo_videos.html
    it seems like their some viable solutions.

  • Haw disable the saved icon of pdf document inside flex application??

    Hello,
    My gool is to disable the save icon of pdf document when i open the pdf document inside flex application.
    Haw you any ideas?
    Thanks you

    This isn't something that can be managed from the Flex end of things. You have to configure the document DRM.

  • How do we display .doc files or .pdf files inside flex containers like Panel or Canvas?

    How do we display .doc files or .pdf files inside flex containers like Panel or Canvas? (i am talking about Flex web browser application and NOT air)
    thanks in advance.

    Perhaps I was not clear...
    We have a Word doc.
    We want to create a PDF doc from it.
    We want, in Word/VBA, to add content (annotation/text note=sticky) to the PDF from Word via VBA macro.
    What is the best way to do this?
    1. Use a VBA call to the PDF doc to execute the AcroJS (we would pass the content, location, etc for the note in the call) - what is this VBA call that will execute AcroJS in an PDF doc?
    2. Use AIC OLE objects to access the PDF doc.
    From your last answer - it sounds like I cannot add the annotation to the PDF from the Word VBA macro - is that correct?
    Our content is already in the Word doc - We want to execute a macro in Word that will add content to the PDF doc  - can this not be done in Word?

  • Embedding indexes inside PDF file

    Hi,
    My requirement is to convert PDF files (Which have text content) to pdf files with embedded indexes to accelerate search operation. I want do the conversion in batch process that it will be configured to run according to a given schedule.
    1- Which product allow me to achieve that ?
    2- Can i do it programatically in my own code by using APIs from Adobe ? If yes where i can find those APIs ?
    NB: Please, can someone tell me how to talk to an expert fro Adobe. I want know if Adobe tools offer a solution to this problem or not.
    Best Regards.

    mauve928,
    > I would like to inquire on how to embed a HTML file
    insides
    > a Flash File.
    Dynamic text fields do support some HTML formatting, but
    it's important
    to understand that at this time, the supported tags comprise
    only a very
    small subset of the full HTML specification. (Search the Help
    panel for
    "supported HTML tags," and you'll see which ones they are.)
    As such, Flash
    Player simply doesn't load HTML files.
    What Flash Player does load is XML, so if your documents are
    formatted
    as XHTML (that is, technically XML), you'll have the
    beginnings of something
    you can use. Flash won't necessarily be able to display
    elements it doesn't
    understand (e.g. tables), but because the document is XML,
    you'll be able to
    parse those tags and extract information from them, using
    what Flash *is*
    capable of displaying.
    I wrote a series at Community MX not long ago that makes
    some
    exploration into what you're after.
    http://www.communitymx.com/abstract.cfm?cid=02395
    The first article (of three) is free, and you sign up for a
    non-obligatory free trial to read the rest.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Running flash inside flex

    i have a flex application that uses a SWFLoader to load an
    SWF (built from flash). The swf is loaded properly but the SWF does
    not load the XMLs and images.
    if sun in flash player or browser the sWF loads the xmls and
    images properly.
    any help appreciated

    Is the path to the xml and images still valid once the swf is
    loaded inside of Flex? So for example your folder structure is as
    follows.
    /FlexApplicaiton.swf
    /FlashInstance.swf
    /MyXMLFile.xml
    /images
    /images/image1.jpg
    So when the flash is loaded within flex the scope to retrieve
    the xml and images is still the same. Try adding Alerts within your
    flash, they'll bubble up through flex and it'll make it easier to
    see if it's really able to get to those assets.

  • Workspace URL inside Flex form

    Using ES1 still.
    Does anyone know an easy way to gain access to the Workspace URL from within a Flex form?  I tried using the BrowserManager, but since the Flex form is actually loaded inside another Flex application and not the browser, it didn't seem to work for me.
    My goal is to use the URL to do some internal configuration in the Flex form to respond to DEV, TEST and PROD servers.

    You can try to following option.
    navigateToURL(new URLRequest("http://localhost:8080/workspace"),"_blank");  // This code will open your workspace in a new browser window.
    Nith

  • PDF inside FLEX APPLICATION?

    My goal is to open a document pdf in a flex application.
    My document pdf is generated by using the library itext and an action struts.I used flex-iframe but the iframe source receives a path fixed like "http://localhot:9090:/applicationTest/exemple.pdf".
    have you any ideas?
    This is the exeample of  index.mxml when I use flex -iframe with a fixed path of pdf document
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    xmlns:local="*"
                    creationComplete="init();"
                    viewSourceURL="srcview/index.html">
        <mx:Script>
            <![CDATA[
                private function init():void
                    iFrame.visible=true;
            ]]>
        </mx:Script>
        <mx:HBox width="100%" height="100%">
            <mx:Panel width="100%" height="100%" title="Test PDF" paddingTop="1" paddingBottom="1" paddingLeft="1" paddingRight="1" >
                <local:IFrame id="iFrame" source="http://localhot:9090:/applicationTest/exemple.pdf" width="100%" height="100%" />
                <mx:ControlBar>
                    <mx:CheckBox id="cbVisible" label="IFrame Visible" selected="true" click="iFrame.visible=cbVisible.selected"/>
                    </mx:ControlBar>
            </mx:Panel>
        </mx:HBox>
    </mx:Application>
    This is the example of code that is failed:--> the pdf document is opened in the other window of browser:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                     xmlns:local="*"
                     creationComplete="init();"
                     viewSourceURL="srcview/index.html">
        <mx:Script>
             <![CDATA[
                 private function init():void
                     iFrame.visible=true;
             ]]>
         </mx:Script>
         <mx:HBox width="100%" height="100%">
            <mx:Panel width="100%" height="100%" title="Test PDF" paddingTop="1" paddingBottom="1" paddingLeft="1" paddingRight="1" >
                 <local:IFrame id="iFrame" source="http://localhost:9090/ApplicationTest/gi/printAction.do?method=printConfirmation&id=OTY" width="100%" height="100%" />
                 <mx:ControlBar>
                     <mx:CheckBox id="cbVisible" label="IFrame Visible" selected="true" click="iFrame.visible=cbVisible.selected"/>
                     </mx:ControlBar>
             </mx:Panel>
        </mx:HBox>
    </mx:Application>
    this is the action that generate the pdf document : "http://localhost:9090/ApplicationTest/gi/printAction.do?method=printConfirmation&id=OTY"
    Thanks

    Hello,
    Maybe you can use NavigateToURL like:
    navigateToURL( new URLRequest( 'example.pdf), '_new' )"
    http://livedocs.adobe.com/flex/3/langref/flash/net/package.html
    http://livedocs.adobe.com/flex/3/langref/flash/net/URLRequest.html
    Regards
    Johnny

  • Load URL inside Flex 2

    How do you load a URL inside a targeted area (a container for
    example) of a Flex 2 application? Basically the same way you would
    load a URL into a frame in an HTML page. I see that there is a
    <mx:HTML> tag in Flex 3 but I believe that tag doesn't exist
    in Flex 2.

    Flex has a limited support of HTML as it does not have a
    built in browser functionality. If you would like to load an actual
    URL you can use an IFRAME loaded on top of your Flex application.
    If you search the web you can find a few examples of this. If you
    need real HTML rendering, Apollo is your only real solution at this
    time.
    Al

  • Accessing Joomla User Id Inside Flex 4.5

    Alright, I posted this over at the Joomla forums as well and figured I'd try here as well... Here's my delima:
    I have a flex 4.5 app that I am trying to utilize on a joomla page and I need it to access the currently logged in user id. So, here is what I have so far: My PHP class: 
    Code:
    <?php class userId {
          public function getuserID($userID) {
             //Defining Joomla path, variable, and determining user id
             define( '_JEXEC', 1 );
             define('JPATH_BASE', dirname(__FILE__) );
             define( 'DS', DIRECTORY_SEPARATOR );
             require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
             require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
             $mainframe =& JFactory::getApplication('site');
             $mainframe->initialise();
             $mainframe->route();
             $userID = & JFactory::getUser();;
             return $userID;
       } } ?>
     My protected function in Flash Builder CS5: 
    Code:
    protected function username_creationCompleteHandler(event:FlexEvent):void                   {                         getuserIDResult.token = userId.getuserID($userId);                   }
     And for testing purposes, I just want to display it in a text label: 
    Code:
    <s:Label id="username" width="60"
    creationComplete="username_creationCompleteHandler(event)"
    text="{getuserIDResult.lastResult}"/>
     Now, I have the release build in an article in Joomla. But when the page loads, I get the following error in the Flex app: 
    Quote:
    Channel disconnected
    Channel disconnected before an acknowledgement was received
     Now, I am pretty sure I have double checked my source code in flex through and through. So I don't think the problem is there (I may be wrong though...). And if I comment all the code out inside the PHP function and declare the userid variable to any static string it returns that string perfectly in the flex app. So my feeling is it is in the PHP class... Anyone here see where I am going wrong?

    well I've tried with something much simpler and it still doesn't work. So I removed all scripts and all components and just added an mx:Button.
    The button is initialised but it's creationComplete event does not get fired.
    So I'm not exactly sure what's wrong.
    I have a mx:Module (DashboardModule) which is loaded using Cairngorm's ModuleViewLoader and that includes the following:
            <presentation:DashboardView
                width="100%" height="100%"
                verticalScrollPolicy="on" horizontalScrollPolicy="on"
                userProfile="{shell.userProfile}"/>
    DashboardView is the code I've shown you above.
    But as I said, even If I remove all scripts and components from DashboardView.mxml and just leave an mx:Button with a creationComplete handler and an initialize handler, the creationComplete handlernever gets invoked.
    Could this be something with mx:Module and Cairngorm's ModuleViewLoader?
    I should say that the Module's creationComplete handler gets invoked and so does the DashboardView's creationComplete handler gets invoked but not DashboardView's children.

  • How to use https inside flex with 2-way authentication

    I've got a Flex app which provides a front-end for doing  basic CRUD db operations. The app is served up from a Tomcat/Blaze server using 2-way authentication and uses Java objects to do the server-side db work. Serving the app works fine. The problem arises when the data components in the app try to call back to the server to pull data from the db. The HttpService template needs to be https://...   but the call cannot complete because Flex does not provide a certificate to the server as the browser does.
    Using http://... works fine but then the db data is sent in the clear (which is very bad).
    What is the standard way to solve this problem? Is there a way to get Flex to use the same cert that the browser provided?
    Thanks for any assistance!
    [ RHEL5, Apache Tomcat 5.5.23, JDK 1.5, IE/Firefox browsers]

    Nitin,
    Kindly go through the below links ...
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/7e2441509fa831e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    Also, make a search on the SDN as this question has been answered many a times on the forum.
    Regards,
    Neetesh

  • Flex Project Inside Flex Project???

    Im working on a Air project but i cant seem to get a componet working within that project. I can how ever get it working as a standalone project. What im wondering now is what are my options for embeding this flex project with my main project??

    You can compile it into a swf from the standalone project and then load it into your Flex project using SWFLoader. Does that work for you?

  • How to use flex 4 component inside Flex 3 custom component

    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"   >
    // I would like to use the namespaces below so that I can use some of the Flex 4 components in this mx:VBox component.
    // Note that this is a custom component and not the application file.
    xmlns="http://ns.adobe.com/mxml/2009"
        xmlns:fx="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
    </mx:VBox>
    Thanks.

    Alex, I was looking forward to your reply to one of my posts that you answered a couple of days ago. It has not been resolved, even though it said "answered," here is the post:
    http://forums.adobe.com/thread/445779?tstart=0
    Regarding this post, I am getting some errors with the code I posted above; give it a go and you will see.
    Thanks.

Maybe you are looking for

  • Draw something asking for apple ID all the time please help...

    Hi this is my first posting so apologies if it's in wrong place etc I am one of the many people addicted to drawsomething however it's suddenly gone a bit strange.  I bought some coins yesterday and now every time I go into the app it asks for my app

  • DV Stream Export Settings, Locked or Unlocked Audio

    When capturing VHS tapes into Final Cut Express, I always keep my Canopus ADVC110 at the default settings, including locked audio. I don't understand why Final Cut Express' export as DV Stream includes a little box to check or uncheck, for locked or

  • Evermind server jars

    Hi, Can someone tell me in which jar file would I find the "com.evermind.server.http" package? I need to set that jar as a library in order to compile my code. Thanks and Regards, Chaitanya

  • Material R-B100 1000 0001 blocked due to a physical inventory,How unlock?

    Dear All, I  use T-code:MB1A to issue goods for product order. the erro information as follows: Material R-B100 1000 0001 blocked due to a physical inventory Message no. M7100 Diagnosis Material R-B100 is blocked in plant 1000, storage location 0001,

  • Managing undo operations across components

    Hi, I've been able to share an IUndoManager between various RichEditableText components using the interactionManager property of their text flows and the EditManager class. This works great for undoing and redoing -- except when a component is remove