How do I can link from one MXML to another in the same project?

I planned to create a login page separated in my new Flex
application. Maybe I am too attached to the WEB philosophy but I
prefer to do it in that way. The login page will simply validate
the login through a call to a CFC. While the CFC will also create
the session variables I will need over the navigation of the user
(once the login is validated), the variables (or more specifically
the values of those variables) will serve as reference during the
user's navigation. And those values are contains in the ColdFusion
Session and can be accessed through CFCs.
If the login is a success, I need to redirect the user to the
appropriate page (in my case, the application is a help desk system
so if the user is identified as a technician will go to the
technician.mxml or if the user is identified as a sysadmin, will go
to the sysadmin.mxml - simple as that). Now, I know it is possible
to redirect using ExternalInterface.call function but is there
anything more specific to Flex redirection from one MXML to
another? Just like classes (where you can create dependency of a
child classe to is parent)?
Thank you

I finally decided to use simply the method
ExternalInterface.call to do this and it works fine! I passed
parameters through the URL and I actually created CFM page that
contains a copy of the HTML code generated by FlexBuilder (the CFM
page give me the possibility to deal with the parameters).
But I though that Flex can actually call another Flex and
passing parameters directly without passing by the HTML page
itself. A kind of memory scope but I guess I wish too much!!!
;-))

Similar Messages

  • How to transfer user settings from one account to another (on the same Mac)

    I'd like to create separate user accounts for "work" and "play" (so that I can do things like have separate address books, etc...). However, I already have LOTS of personalized settings (trackpad behavior, login items, etc) that I'd like to keep the same between the two accounts.
    Is there a way to transfer all of the user settings from one account to another?

    You'll need to copy your /Home/Library folder. Make sure you back up first before doing the following. Log out of both your Work and Play accounts. Log in to a third account with administrator privileges. Assuming you are copying from the account called "work" to the account called "play", enter the following in Terminal:
    sudo rm -rf ~play/Library (this deletes Play's Library folder.)
    sudo cp -R ~work/Library ~play/Library (this copies Work's Library folder to Play's folder.)
    sudo chown -R play ~play/Library (this fixes permissions of Play's new Library folder.)

  • How do I move songs from one library to another on the same computer? Also, how do I change the name of a library?

    I have created a separate Apple account, but want to use the same computer for multiple accounts. How do I do this? I also want to transfer songs from one account to the new one.

    is this second library in a different account on the computer?
    Look at Home Sharing.
    iTunes: How to share music and video - http://support.apple.com/kb/HT2688 - about Music Sharing and Home Sharing
    Home Sharing Support page - http://www.apple.com/support/homesharing/
    iTunes: Setting up Home Sharing on your computer - http://support.apple.com/kb/HT4620
    iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597

  • I need to translate a flash program with many pages to edge animate CC. Is there an easy way top build new pages, so that you can jump from one page to another withion the same file?

    I have only seen in all the examples in books and on the net that edge animate works on one page only. Maybe I hve not fully understood the concept, but in flash it was easy. Perhaps there is also an easy way in edge animate?

    You can either make a symbol for each page in the same composition or you can use edge commons composition loader to load several compositions into the same composition which serves as a container.

  • How do i transfer music from one account to another on the same computer

    my wife and i share a computer but have two id's. I downloaded a music album from i tunes into my (id) account.  How do i get that album to my wife's music liberary?

    iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597

  • How do i transfer funds from one account to another in the same table?

    Say for example i want to transfer funds from UserID 1111101 to UserID  1111103.
    Anyone know the procedure for this. I use php/mysql and dreamweaver.

    Here's a very basic method. Note that this is just pseudocode - you'll need to work out the actual code (I assume you've learned how in your course studies). Keep in mind this is a very simplified workflow - a real bank transaction would be MUCH more complex.
    Create a form that has fields for debit account, credit account, amount
    In your script, assign the values from the form to local variables
    $debit_acct
    $credit_acct
    $amount
    I'll assume you have an account balance table 'acct_bal'. Have a journal table to store those values along with the date and autonumber transaction id.
    Begin Trans
    INSERT into journal (credit_acct, debit_acct, amount, trans_date) VALUES ($credit_acct, $debit_acct, $amount, NOW())
    Get the transaction_id ($trans_id) from the INSERT statement- the method depends on which MySQL interface you are using.
    UPDATE acct_bal SET balance = (balance + $amount) WHERE acct_id = $debit_acct
    UPDATE acct_bal SET balance = (balance - $amount) WHERE acct_id = $credit_acct
    Rollback on any SQL error else Commit Trans.

  • Can I move applications from one user to another on the same computer?

    If I have two users on one mac, can I move applications from one user to another on the same computer?
    Thanks

    By default, apps are installed for all the users in /Applications

  • How to move iTunes from one user to another on the same Windows 7  computer

    How to move iTunes from one user to another on the same Windows 7 computer? Thanks, Bob

    Move the iTunes library to a shared area and then into the desired location. If this isn’t the default one, launch iTunes with the Shift key held down and choose that library.
    (122379)

  • HT4878 How do i share my pictures, music and videos from one user to another on the same computer?

    How do i share my pictures, music and videos from one user to another on the same computer?

    lots of ways... you could use a thumb drive, you could drag files to the users public folder drop box, you could send it through email, you could use the internet servic called drop box (not to be confused with Apple's user public foldelr drop box).

  • Moving Events and Projects from one location to another on the same hard drive.

    Hello.
    I've searched in the FCP X User Manual, on this forum and in Google, but have found no explanation of how to do this, so I'm posting this here in hopes that someone in our community will be able to help.
    I've previously stored my FCP X Events and Projects folders on an external 3TB hard drive, because there is more room on it than on the internal 1TB hard drive, but, since then, I've worked with other media apps, for video, photography and audio, the files for which are also stored on the external hard drive, and this has created a bit of clutter with no folder structure to keep it tidy.
    I like an organised file structure on my system, to keep it uncluttered, easy to navigate and efficient to use, so I put all the files for my photography, video and audio apps into their own folders, which are, in turn, stored in their appropriate folders for Audio, Photography and Video, and those three folders are stored in a folder called Media, and then I directed each app to its own files.
    The only app with which this has been a problem is FCP X. While there is a way of relocating projects and events from within FCP X, it allows the user to move them from one hard drive to another, and not, as I want, from one place to another on the same hard drive.
    I'm not sure if it matters, but perhaps it's relevant to mention before the next paragraph that the files that had previously been imported as events are, to save hard-drive space, stored in the events folder as shortcuts to the original files, which are stored elsewhere on the drive, rather than as duplicates of those files.
    In Finder, I copied the Events and Projects folders to their intended new locations and tried in the app to link the events and projects to their new Finder location. It seemed to have worked, until I moved the original folders to the Trash. On re-opening FCP X, it was clear that the linking hadn't worked. I returned the original folders from the Trash to their original location, but that didn't entirely reverse the problem. I noticed also that, in the original and duplicated Events folders, the shortcuts had lost their links to the original files stored elswehere on the drive.
    Fortunately I had run a backup before starting, so I restored the original folders and the app from the backup, and all was back to normal.
    I'd be grateful if anyone could advise me on whether or not it's possible to move FCP X events and projects from one place to another on the same hard drive with the app's compliance.
    Thank you.

    Ludio wrote:
    I'd be grateful if anyone could advise me on whether or not it's possible to move FCP X events and projects from one place to another on the same hard drive with the app's compliance.
    I
    Message was edited by: Russ H Apparently mis-read the questions.

  • Is there a way of shifting purchases from one account to another with the same billing information, so that I don't lose purchases made by my iPhone when I sync?

    The AOL address I was using for my iTunes account has been deleted due to me not signing in for awhile and I'm afraid that I will lose all of my purchases made from my iphone when I sync it into iTunes for a much needed update and so that I can (hopefully) transfer its data to my new iPhone 4...
    The only time I have synced my current iPhone was when I activated it but since then I have not been able to sync with my computer and now have a new one.
    Sorry about the garbled way this is written but I desperately need help:
    1, Is there a way of shifting purchases from one account to another with the same billing information?
    Or
    2, is there a way of recovering my old account and changing the details?
    Any other help is greatly appreciated
    Thom

    You don't need to access your e-mail account, just get into your Apple account and change the e-mail address. If you can't access your Apple account, then you have a bigger issue to contend with.

  • How can I migrate file shares & permissions from one volume to another on the same server?

    I am replacing a storage array and as part of that process, I need to move files/folders and Shares/permissions from one Volume to another volume within the same server.
    The server is Windows 2003 file server.  The file transfers are not a problem, moving all 40 shares with permissions etc. is my main concern because in order to maintain everything I need to change the drive letter of the new volume to match the old
    one so that links to various resources throughout the network do not break.

    Hi, 
    If you want to copy files/folders from one Volume to another volume within the same server, you could use the File Server Migration Tool (FSMT) or Robocopy to accomplish your goals. The tool can move all of the files from the shares on your original volume
    to the new volume.
    For more detailed information, you could refer to the articles below:
    File Server Migration Toolkit
    http://technet.microsoft.com/en-us/magazine/2006.10.utilityspotlight.aspx
    The File Server Migration Toolkit (FSMT) is a free download available at:
    http://www.microsoft.com/en-us/download/details.aspx?DisplayLang=en&id=10268
    Robocopy
    http://technet.microsoft.com/en-us/library/cc733145.aspx
    FSMT and Robocopy will not copy Share permissions but only NTFS permissions. So if the drive letter will not be changed, you can backup and restore the Share permission with steps here:
    Saving and restoring existing Windows shares
    http://support.microsoft.com/kb/125996
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can I migrate from one user to another within the same computer?

    My main user account in my desktop is becoming buggy after to many migrations from different computers and long time usage. I would like to migrate from one user to another user within the same computer to see if this improves my current problems.
    How can I do it in a reasonably safe and quick way?
    Thank you very much, cheers, Rui
    iMAC, OS 10.6.8... and yes, I love Snow Leopard light and handy... and all my programs work on it...

    Move small groups of files to the /Users/Shared/ folder or another location and see if the problems disappear. Moving everything to a new user account will in all probability transfer the problems.
    (119885)

  • How to transfer files from one partition to another on the same computer

    I had a crash could not boot back into my 8.1 upgrade. Went out bought standalone 8.1. I loaded it on HD free space now I want to transfer files from one partition to another.

    hi
    say there are two infoobjects X  and Y.
    X is existing infoobject and Y in new one.
    go to infosurce-search for X-create export datasource - map the rules and load the data.
    This is one way.
    Other way is u can use X as a reference object of Y so that both of them have same structure and both objects will share common database tables in BW which are exsting for X.
    Hope this helps.
    Kindly assign the points if it helps.

  • Importing from one account to another on the same computer

    How do you import video from one windows XP account to another on itunes? My account is the primary and I can import from my wife's account into mine but she cannot import from mine to hers? How do I fix this?

    Does this help?
    How to share music between different accounts on a single computer.

Maybe you are looking for

  • Problem in Loading source code

    All, I have custom program with 32000 lines of code in the main program, due to this system find it difficult to load. What are best possible ways to load? PS please don't suggest to chunk into different form routines , i know this will solve this is

  • Problem starting servers with nodemanager

    Hi, I'm following the Oracle By Example: [http://www.oracle.com/technology/obe/fusion_middleware/wls103/InstallConfig/admin_mngd_srvr/admin_ms_using_nm.htm] I have installed on Windows (not on Linux), but that shouldn't make much difference. Now look

  • HT5312 I forgot my answers of security questions

    I forgot the answers of my security questions

  • Payment term based on Period

    We are creating schedule agreement for vendor with Rate and Term of Payment. I have got requirement from the client that they want to change the Term of Payment at vendor master but the system should function in below manner. Say we have created the

  • Can i get the element in the table then stored in the JSP or java?

    Hi experts, i'm doing a searching system. those info i was put into the oracle database table already. but i want to do more than just using "order by" those sorting. i want to do more advanced algorithm with the resulting record. how can i put those