How can I associate to a MXML to another in the same project?

I plan to create a separate in my new Flex application login page. Maybe I am too attached to philosophy WEB, but I'd rather do it this way. The login page simply validates the connection via a call to a CFC. While the CFC will also create session variables, I need during the navigation of the user (once the connection is validated), variables (or more precisely the values of these variables) will serve as reference during the navigation of the user. And these values are contains in the ColdFusion Session and can be accessed through CFC.

If the connection is successful, I need to redirect the user to the appropriate page (in my case, the application is a system of helpdesk, so if the user is identified as a technician will go to technician.mxml, or if the user is identified as sysadmin, will go to the sysadmin.mxml - simple as that). Now, I know it is possible to redirect using the ExternalInterface.call("saveglobalscore",score) function but is there something more specific to Flex one MXML to another redirect? Just like the classes (where you can create the dependence of a class of children in East parent)?

Thank you

I finally decided to simply use the ExternalInterface.call("saveglobalscore",score) method to do this and it works fine! I spent the parameters by using the URL and I actually created CFM page that contains a copy of the HTML code generated by FlexBuilder (CFM page gives me the opportunity to address the parameters).

But I well Flex can actually call another Flex and pass parameters directly without going through the HTML page itself. A kind of scope of the memory, but I guess I want too much! ;-))

Tags: Flex

Similar Questions

  • How can I associate a thumbnail on a page with the image of normal size in another folder

    Help! How can I associate a thumbnail on a page of the site to the image of normal size in another folder, so allowing people to view the image on a blank page?

    It's easy to do in Dreamweaver, but I don't see how in Muse. When I try to type in the location of the image (hard disk), Muse trying to do an http link and said that it can not be found.

    You will need to upload the folder with your images to your host and then a link to the image with this URL in Muse. By example, if you have been upload your image to "www.myhost.com/myimages/image.jpg", you can link the thumbnail for "www.myhost.com/myimages/image.jpg."

  • How can I disable groups of tabs? It requires the same tabs to reopen at the next session

    I upgraded to 6.0.1 and experimented with tab groups. Now I can not turn off. It seems to force the same tabs open with the next session. I had (and still have) the warn me when I close the multiple tabs. She replaces this option if I click on the window is closed. Just, it closes the window of firefox and will reopen all the tabs with the next session. This cancels the best feature that firefox has more chrome.

    Please help me to recover my old Firefox...

    Okay, it's stupid, but simple. Go to tools > Options > general. then in the options switch box to "show my windows and tabs from last time" to "show my home page". I entirely agree that tabgroups are pretty useless and the fact that there are already speaks volumes on their apparent worth questions upward around the Mozilla forums, but also the YAnswers about disabling, or its absence.

  • How can I create a second e-mail account in the same profile?

    Hello
    I want to create a second email account for my work. I want to be in the same profile and do not have the ability to edit profiles, in order to access my business account.
    I want to choose the account that I want to use in the Panel side said.
    How can I do this?
    Thank you in advance.
    Laetitia.

    Good. You can then mark it as 'Resolved' Please?
    Thank you.

  • When I click on a link that I searched in a search engine a new faucet is opened. How can I change it so that it remains in the same tab, in that I tried

    When I click on the link in a search engine. allows you to use Google for instance and say that I find the camden wyoming fire company. When I click on the link to the website a new tab opens with the web site. . How can I change it so that it uses the same tap in that I tried

    Hello to bratman0, by default google results should already open in the same tab, if they don't please ensure that you have not set to open a new window browser for them within the parameters of google: https://support.google.com/websearch/answer/425

  • How can I create two Windows XP ins journal for the same profile account

    How to create two window XP account but after I'm in the same document and connection setting? can anyone help? I am urgently use...

    for example

    I create UserB, wear and two user account
    the nest of access profile is userA
    what I need is UserA, connect you will see UserA profile, including all the settings such as the office and the document.
    When UserB connect it will also see the same thing as UserA is the profile of UserA. Can I know how to do? I know it's something on the registry.
    Here's a link, but I really understand now
    http://support.Microsoft.com/kb/314045
    Thanks in advance

    You cannot use them with the same profile, but you can copy the user profile to B.

    See here for more help: to copy a user profile

    You must be logged in as an administrator to do and you can't copy to or from the account to which you are connected.  If you want to copy the profile to the profile B, you need to be connected on that C and C must be a member of the Administrators group, you will have to create this account C if it is not already available (or use the built-in Administrator account).

    John

  • How can I share documents between XP and 7 on the same computer?

    I installed 2 windows xp and a windows 7 on my computer how can I share their documents

    Use one of these guides:

    http://www.howtogeek.com/HOWTO/Windows-7/share-files-and-printers-between-Windows-7-and-XP/

    http://www.TechRepublic.com/blog/window-on-Windows/how-do-i-make-Windows-7-HomeGroup-content-accessible-to-Vista-and-XP/1910

  • How can I remove everything unnecessary and/or deleted at the same time

    When I clear my balls and/or remove things from my e-mail, I can't remove it all at once... must be done individually. How can I at the same time instead of each of them

    Hello

    Thanks for posting in the Microsoft Community. The question that you stated that you want to delete the mails in the Mail application at the same time. We are here to help you.

    Here's what you need to do.

    a. open the folder in which you want to delete E-mails.

    b. Select one of the Emails.

    c. press the CTRL + A on the keyboard (this will select all Emails in the folder).

    d. press the clear key that will remove the selected emails.

    I hope this helps. Please get back to us if you have any other questions; We are here to help you.

  • bought 2 products with different emails! How can I transfer my product so they are under the same account?

    Hello!

    Accidentally, I bought the plan of photography on an email and InDesign on another email...

    How can I transfer the purchase on an account?

    Help!

    Please refer to the Contact Customer Service

    Thank you

    Varun

  • How can you Hotsync a T5 and one E4 with the same Palm desktop program?

    My husband and I had 2 Palm Tungsten, a T5 and an E2. How do you use the same office palm hotsync our Palms? What program would work better for both of them? Thank you!

    All available versions of Palm Desktop can be downloaded here:

    http://KB.Palm.com/SRVS/Nua/launchKB.asp?c=33529

    Please note that what you are looking for is Palm Desktop 4.1.4E.  The E stands for "extended", which is required for the fields in the database of contacts who use the T5 and E2.  If you only download the version 4.1.4 (without the E), you will lose this feature on your desktop.  I think both versions are also the same.

    You will notice that the E2 is not in the list for version 4.1.4E.  It is only because they now recommend the new version (6.2) which was designed for Vista desktop computers.  Unless you have a Vista desktop, you gain nothing by using version 6.2 and you actually lose some features.

    Message relates to: None

  • How can I change font family of all titles at the same time?

    I used the first cs 6 to add some titles be subtitles, but I need to change the font family, how to change their entire family of fonts at the same time? Thank you

    You can not.  For now, it's both.  But it would be nice if the PP had a kind of this feature of type CSS, where you can set fonts, sizes, colors, etc. in one 'preset' and have these parameters to ripple through all titles of the project whenever the preset has been changed.  Please tell Adobe you want such a feature.

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

  • How can I synchronize catalogs on 2 computers that use the same location for the image files?

    I do not understand Lightroom.

    For example, I use LR4.2 on a desktop computer and a laptop computer. Two computers (Windows 7 64-bit) go to the same image files. On my laptop in a folder, I have 42 master images and 5 virtual (virtual events) for a total of 47 images. But when I open LR4.2 on the desktop I do not see the 5 virtual (virtual events) on the 42 master images.

    Why can not I see the 5 virtual events since I can access the exact file and how I see the virtual evidence created on the laptop on the desk.

    It has no function in LR to synchronize catalogs.

    If your pictures are on an external hard drive, you can move the file catalog to this external hard drive, and then you will have a catalogue on your desk and another on the laptop. Just use the one on your external hard drive.

    If your pictures are on a network drive, you can not put the file catalog here, so the only answer I know is to manually transfer the catalog back from one computer to the other file.

    Why can I not see the 5 virtual events since I can access the correct folder

    Lightroom does not save your work to the photo files. It stores your work in the Lightroom catalog file.

  • How can I combine 2 page .pdf CAP/photo on the same page?

    I have the front and the back of my driver's license in 2 pages of a .pdf file.

    How can I have them both on the same page, so that they are indeed on 1 page only, and the copy can be printed on 1 page that too.

    Print to the Adobe PDF 2 pages per sheet format.

  • How can I install El Capitan on several computers at the same time?

    I live in Spain, where I have a few computers to service. The internet lines here are slow and unstable, so it is difficult to get all of the updates in without entering the trail other activities.

    I wonder if it is possible to download El Capitan on a single computer and then distribute to others, after which I can update at the same time am.

    Would this be possible?

    According to the license agreement, the license of the OS is for you only, but you can install on any computer YOU own and control. So if download you it and then reject the Setup program before you start, you can find it in your Applications folder from where you can copy it somewhere safe to use on another computer that you own.

    Because the download is linked to your Apple ID, use it on another computer does not work as it should download it using their own Apple ID or they will never be able to reinstall or update that the used ID does not correspond to their.

    And, since you said you 'service' of computers, you will need to look at another type of license - you will need to contact Apple. The retail license is nothing for you.

  • How can I make all my clips of voice sound the same?

    Hello

    I created a software training video and have put into adobe first pro and exported off Player multimedia adobe, so I can get all the clips of voice-over in a single audio file to edit in adobe audition.

    I have imported the mp4 movie in adobe audition and I got the audio to work with - however, what would be the best way to make the entire audio file sound identical (the voice-over on the same volume and perhaps an effect that can overshadow the fact that some of the voiceover in the file seem to be closer the MIC than others).

    There is a global setting that can be applied to the clamp for all the same sound?

    Thank you

    Mike

    michaelr91909012 wrote:

    -However, what would be the best way to make the entire audio file sound identical (the voice-over on the same volume and perhaps an effect that can overshadow the fact that some of the voiceover in the file seem to be closer to the mic than others).

    There is a global setting that can be applied to the clamp for all the same sound?

    Not with voiceover, I'm afraid. Nothing you can do will leave the clear voice and remove the speaker away from the microphone, or one of the other things that can vary between one session and another. The problem is that humans are very sensitive to any change in the other human voice - minute even those. Sometimes, some listeners may even hear the difference after someone has had the 'wrong' kind of drink between the recording - coffee sessions can be particularly bad, especially if it's added milk. Record voiceovers, while the artist is recovering from a cold can make tasks such as the reorganization of their quite difficult without changes in sound is really noticeable.

    Once you have realized that this may be an important issue, you can take steps to minimize the differences, but it is only the environment you can control - not the artist. What you have to do is to record everything you could possibly want in a unique, if possible hearing, otherwise the audible differences are almost inevitable.

Maybe you are looking for