How CAn I Use a URL variable in Flex App

Let say the link to a web page embedding a flex 2.0 app is
http://www.myname.com?name=Bruce
and I need to use the URL.name variable in the Flex app.
How can I access URL parameters inside my Flex app?
Bruce

You probably know by now but I though maybe a could actualy
answer someone question.
{Application.application.parameters.name)
put that in mx:text and you can see the var "name"

Similar Messages

  • How can I use a different Apple ID withthe App Store?

    When I access the App Store from my iPhone 3G it asks me to enter the password for an Apple ID.
    How can I use a different Apple ID with the App Store?

    It will use the account you are currently signed into with iTunes when you synced. So in iTunes, change your account, then sync. Then the iPhone will use that one.

  • HT204053 I have two Apple ID's and one I have used to purchase all my apps but now I want to use my other one. But I can not purchase my old apps with my other one. How can I use my other one to purchase apps?

    I can't remember why but I made two Apple ID's, one with a Gmail address and another with a Yahoo address. I have always used my Yahoo address Apple ID to purchase my apps but I have recently deactivated my Yahoo address. So now I want to start using my Gmail address Apple ID but I can't purchase any apps or even my old apps on my iPhone. How can I use and re-install apps through my Gmail address Apple ID on my iPhone? And is there a way to deactivate my Yahoo address Apple ID that I do not want to use anymore?

    Apple does not transfer content bought with one Apple ID to another Apple ID. Apple will not merge two Apple IDs.
    If most of your content was bought with the Yahoo! Apple ID but you now want the Gmail address for your Apple ID, the trick will be to change the address used for the Yahoo ID with the Gmail address. However, to do that you must first free the Gmail address from that other Apple ID. Use the instructions from Apple to substitute another address that is not used as an Apple ID for your Gmail address in the Apple ID with the Gmail address. Then, when the Gmail address is no longer used in an Apple ID, you can use the same instructions to substitute the Gmail address for the Yahoo address in the Apple ID with the Yahoo address.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • How can I use a public variable inside a CachedResultSet

    The public variable that I declared cannot be called inside the CachedResultSet class....
    Heres a part of the code:
         public String type;
         public String getType()
             return type;
         public void setType(String s)
             type = s;
         public CachedRowSet first_report(){
              try {
              String t=type;<<it cannot get the String type declared outside.....     
              Statement stmt = con.createStatement();
              String query = "select stock_code, shares_prices, new_shares, trans_date, prev_close from allTrans where name_broker='"+type+"' order by stock_code";
              ResultSet rs = stmt.executeQuery(query);
                CachedRowSetImpl crset = new CachedRowSetImpl();
                crset.populate(rs);
              rs.close();
              stmt.close();
              con.close();
              return crset;
               catch (Exception e)
              {   System.out.println(e.getMessage());
                  return null;
         }

    I am not getting any error but the value of String type is null when entering the CachedRowSet...I don't know why it is null and yet the String type can be used by other classes...Like the getType...
    Heres the code:
    import java.sql.*;
    import sun.jdbc.rowset.*;
    import com.sun.rowset.*;
    import javax.sql.rowset.CachedRowSet;
    public class views
          String url, uname, pwd;
          Connection con;
         public String type;
          public String hstock;
          public String hbroker;
         public String getType()
         {  System.out.println("get:"+type);
             return type;
              public void setType(String s)
             type = s;
         public views()
               try
               Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
               url = "jdbc:odbc:***";
               uname = "root";
               pwd = "yes";
               con = DriverManager.getConnection(url, uname, pwd);
               } catch (Exception e)
                    System.out.println(e.getMessage());
    public CachedRowSet first_report(){
              try {
              String t=type;
                System.out.println(t);
                System.out.println(type);     
              Statement stmt = con.createStatement();
              String query = "select stock_code, shares_prices, new_shares, trans_date, prev_close from allTrans where name_broker='"+type+"' order by stock_code";
              ResultSet rs = stmt.executeQuery(query);
                CachedRowSetImpl crset = new CachedRowSetImpl();
                crset.populate(rs);
              rs.close();
              stmt.close();
              con.close();
              return crset;
               catch (Exception e)
              {   System.out.println(e.getMessage());
                  return null;
         }

  • How can I use Server level variables in a business model based report

    hi gems..
    I have declared one server level variable in the BI Analytics repository.
    Now I have made one business model based report.
    In one column I want to use that server level varible.
    I go to the formula tab of that column and then clicked on variable--> session --> put the name of the variable and click ok.
    But when i viewed the report, it is not showing the dates, rather it is showing the date format I chosed i.e DD-MMM-YYYY.
    please help..

    actually the previous problem got resolved...
    Now when I am trying to apply a filter on a particular column using that server variable, then it is showing that the varible has no value definition.
    I have clicked on the filter tab of that column-->add-->variables-->session variables-->then I put the name of the variable-->click OK.
    the following error is comming-
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23005] The repository variable, Variable_name, has no value definition. (HY000)
    I have made that server variable from manage-->variables-->(right click) create new initialisation block-->gave the name and wrote the query and aslo gave the connection pool name and test that and it worked fine..

  • The computer I use for Itunes only has XP so I can't use ICloud. My desktop has Vista so I can use it. But I don't want to lose all of what I have on my Iphone 4S and my two Ipads. How can I use the desktop and retain the apps, music, podcasts etc. I have

    The computer I use for Itunes (my laptop) only has XP so I can't use ICloud:(
    I have a desktop that operates using with Vista.
    I downloaded 10.5 and sought to sync my two iphones and two ipads with the desktop in order to use ICloud. However I got warning messages that if I synced with this computer that had none of my extensive library of apps, music, podcasts, etc. would be on it, I would lose it all.
    I did authorize the computer. I knew enough to do that but am terrified that I will lose everything that I have accumulated and still won't be able to use ICloud.
    Isn't there a way to do this? Shift my library FROM my devices to the desktop?
    Thanks

    This is a tedious solution, which is stupid!  And some users report an inability to reauthorize a computer after an "en masse” deauthorization.  I can’t believe Apple doesn’t provide a list or menu to find out which computers you’ve authorized! Obviously, APPLE knows (or else they couldn’t tell us how many computers we have authorized)--so why can’t they give us access to that information about our own computers??!!!
    And for an already-authorized computer with a hard drive that’s since been replaced and upgraded from Mavericks to Yosemite, would it be recognized as a “new computer” and require authorization? Would its previous incarnation (i.e., with the old hard drive and OS) be considered a separate computer? Some users report they can’t authorize a computer after an OS upgrade because of that. Can’t believe we have to do such a bass-ackwards kludge!

  • HT204266 How can i use my account to update an App that was purchased by another account??

    How can i cancel an account from my ipad store??
    Accordingly, how could i update my apps using my new account??
    For more clarification;
    I purchased my friend ipad with some applications that already downloaded before. I could use those apps &amp; games easily but when i need to update any, i couldn't because i have to have an App account.
    I created a new app account, now i can purchase &amp; download any app but i can't update an old App that was purchased through my friend account.
    Please take into your concederation that i don't want to delete the App &amp; redownload it as i don't want to miss my data registed before.
    Please advice

    Welcome to the Apple Community.
    You can't transfer purchases from one account to the other. Your friend had no right selling you the iPod with purchases on it made from his account.

  • How can i use itunes gift card on the app store ?

    i bought an iTunes gift card but i don't want to buy any videos or songs i want to buy apps or games so i don't know how..... can anybody tell me how i do this with my Idevice not with my labtop

    When you redeem an iTunes gift card it is simply added as credit to the Apple ID of your choice. Once it is on the account as credit it can be used for anything you can purchase with your Apple ID (apps, music, movies, rentals... Anything ).

  • I have a credit in the iTunes store but when i try to purchase an app, aim asked for credit card information.  How can I use my iTunes account to purchase apps?

    I have a credit in the iTunes store but when I try to purchase apps I am asked for credit card information
    Are there two separate stores.  How can I make purchases?

    same here but i cant purchase a movie or anything

  • How can I use custom urls for my clouds?

    Currently my clouds are [cloudname].adobecqcloud.com, but how do I redirect or point them to [mysite].com?  Or say, for my development cloud, how would I point it to dev.[mysite].com?  I need to be able to control this ASAP.  Thank you for your help.

    Hi,
    You have the choice between 2 topologies when creating your AWS account in Cloud Manager:
    1) Development/Testing
    2) Staging/Production
    In order to preserve your DNS record from changing and have it always pointing to your site, you need to use the Staging/Production topology that includes an ELB in front of the Dispatcher instance(s). In this scenario, you need to point your DNS CNAME record to the DNS name associated with the ELB, that you can retrieve from the AWS console (will be added to Cloud Manager UI soon). Even when you pause/start your cloud, the ELB remains up and running, therefore after restarting your cloud the mapping of your DNS CNAME record to the ELB DNS name will be functional with no delay.
    Using the Development/Testing topology, every time you pause/restart the cloud from Cloud Manager, the IP address of the instances change because it is using dynamic IPs. Therefore, even if you point your DNS CNAME record to the name of the instance (ex: mysite.com pointing to mysite.adobecqcloud.com), it will take some time for the new DNS/IP mapping (mysite.adobecqcloud.com / new IP address of Dispatcher) to propagate. Note: there is no ELB configured for this topology.
    The main reason for using this method is to eliminate the need for using EIP address (static IP address) when it's not really necessary and because they are hard to get from Amazon. But it's also for not paying for EIP address when they are not used (cloud is paused/stopped).
    Hope this helps answer your question.

  • How can I use GestureRecognizer in a Xaml based app?

    I've encountered a problem when I'm trying to use gestures in my app:
    I'm trying to retrieve info from input on a rectangle using GestureRecognizer responding to the PointerPressed event. When the user taps on it, the textblock shows information. However, I failed to get any info after following the code samples.
    There was no response and through debugging, I found the tapped event was not responded to.
    First, I added:
    Platform::Agile<Windows::UI::Input::GestureRecognizer> m_gestureRecognizer;
    in the header of the class.
    And in the constructor:
    MainPage::MainPage()
    InitializeComponent();
    m_gestureRecognizer = ref new GestureRecognizer();
    m_gestureRecognizer->GestureSettings =
    GestureSettings::DoubleTap | GestureSettings::Tap;
    m_gestureRecognizer->Tapped += ref new Windows::Foundation::TypedEventHandler<Windows::UI::Input::GestureRecognizer ^, Windows::UI::Input::TappedEventArgs ^>(this, &App4::MainPage::OnTapped);
    Next, I responded to the PointerPressed event:
    void App4::MainPage::OnPressed(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e)
    unsigned int id = e->Pointer->PointerId;//debug breakpoint
    m_gestureRecognizer->ProcessDownEvent(Windows::UI::Input::PointerPoint::GetCurrentPoint(id));
    e->Handled = true;
    But when I came to the Tapped event, nothing happened:
    void MainPage::OnTapped(GestureRecognizer^ gesrec, Windows::UI::Input::TappedEventArgs^ args)
    int i = args->TapCount;//debug breakpoint
    if (i == 2)
    info->Text = "You double-tapped the point at X: " + args->Position.X + ", Y: " + args->Position.Y + ".";
    else
    info->Text = "You tapped the point X: " + args->Position.X + ", Y: " + args->Position.Y + ".";
    Why there was no info when I tapped the rectangle? Do I lack of something in the code? 

    Oh, it's very kind of you! Thank you so much and the problem has been solved by adding two handlers:
    void App4::MainPage::OnMoved(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e)
    m_gestureRecognizer->ProcessMoveEvents(e->GetIntermediatePoints(wpRect/*name of the rectangle*/));
    void App4::MainPage::OnReleased(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e)
    m_gestureRecognizer->ProcessUpEvent(Windows::UI::Input::PointerPoint::GetCurrentPoint(e->Pointer->PointerId));
    I've been haunted by this issue for days...

  • How can I use footage shot with a phone app?

    I have shot footage on my phone using a filtered app called Majicam.  When I play it in premiere it plays as a green screen. Do I need to alter something about the footage in order for Premiere to recognise it? Please help.

    hi there.  when i converted the file to mp4 it worked.  so thanks for that!!  bit of a pain to have to do that with so much of my footage tho.  maybe i should change my app. 
    just one more question if you have the time. im new to premiere. my source monitor doesnt always play in real time.  it stops and starts a bit.  i have 2G ram macbook.  any idea why it might be happening?
    thanks so much again

  • User Variable Options: How can I use them in a Business Rule?

    How can I use a "User Variable" set in File / Preferences in a Business Rule? It doesn't seem to appear as an Essbase Substitution Variable or as a Global Variable of Business Rules. The only way I know how to use it is to place the dimension on the POV or Page dimension of a data form, then use a Global Variable in a run time prompt to pick the member and run a BR against it, or some function of it.
    What do I do if I want to have that dimension in Columns or Rows? How can I set a BR to directly reference the member chosen under User Variable Options?
    J

    Thanks Alp, but I can't seem to reproduce what you are writing below. I want to refer my Business Rule to address the value set in File / Preferences / User Variable Options; no matter what members I show elsewhere in the data form.
    My other workaround is through a run time prompt and hope the user selects the appropriate user variable at the very bottom of the selection list in order to calculate the appropriate list of members.
    J

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

  • How can I use retentive memory?

    I need to make a report of good/bad parts in daily an mothly basis, I want to put this data on a indicator but a dont want that this value get lost went the operator turn of the machine at the end of the shift. Does anybody knows how can i use some retentive variable? or other solution?

    This is pretty comnonly done with saving the values to an ini file. A more professional version would be saving to a network database so everyone could have access to the information at any time and without needing to run your program.

Maybe you are looking for

  • Yoga 2 11 Issues ((HELP!!))

    I bought the Lenovo Yoga 2 11 about 4 months ago and shortly after opening the packaging, I experienced the "whea_uncorrectable_error" blue screen. I didn't know anything about it, and I admit to acting ignorant about it and not trying to fix it, but

  • Vendor Payment & Bank Balance

    Dear All, We want  the system not to process the any payment of Vendor(s) when the payment amount is more than the available balance in bank (bank G/L account). Eg. My availabe (useful) balance in (a single) house bank is 50000/- (excluding the minim

  • Control key at startup so computer acts like hard drive

    It's control something so when a computer starts up it acts like a hard drive when connected to another computer so it's easy to transfer stuff. Control what? I thought it was T, but that's not right. Thank you.

  • Cannot read from policy store.

    Hi All, while starting our managed server(soa_server1) we are getting below error. we tried removing cache, tmp and data and fresh restart but no luck. The Memory on the mount point was 100% full, we have freed some memroy but now the server is not c

  • [SOLVED] Configure keyboard with HAL

    Hi I'm using HAL with the new xorg-server 1.6 and since the upgrade, the keyboard delay before starting to repeat a keypress has become longer.  I'm not sure what caused this, but now I'd like to know how I configure this with HAL. I configured the m