AS2: Sending URL string, and recieving in flash on seperate page

i'm trying to send some data from a list component to another
web page, and have flash collect it and take you to an appropriate
frame... this is what i'm using to send the data
getURL("
http://www.myothersite.biz?seminar="+list_box.selectedItem.firstChild.firstChild.nodeValue ,
"_blank");
now how can i retrieve that from the other page? I know how
to use FlashVars and such, but only when you define it.. I don't
know how to make it dynamic... does that make sense?

dzedward,
>> i'm trying to send some data from a list component
to
>> another web page, and have flash collect it and take
>> you to an appropriate frame...
I would use the LoadVars class in that situation. Have you
checked into
that? Create an instance of LoadVars, then add properties to
your instance
to match whatever data you're sending. Invoke
LoadVars.sendAndLoad(), or
see the LoadVars class entry for additional options.
> ok, I worked this out with javascript, however i need to
> URLdecode it... I'm not sure how to do that with
javacript,
> I'm no javascript expert, just dabble. anyone have some
clues?
Both JavaScript and ActionScript have escape() and
unescape() functions
for just that purpose. :)
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design."

Similar Messages

  • I found an iphone 5 for verizon, can i send it in and get it flashed to sprint?

    I found and iphone 5 on the bus and it's carrier is Verizon, i was wondering if i would be able to send it in to apple and get it flashed to Sprint?

    No, but you can be charged with posession of stolen property if you don't turn it into the police or the transit company that operates the bus.

  • Sending data in and out of flash

    Hello,
    I have a new project that I am trying to build. I want to be
    able to send information into an swf file dynmaically, store it and
    finally display it on that .swf file. In the past I used text files
    (information obviously stored in the text file), but it will not
    work this time because I want to change the information dynamically
    on the web (html form).
    I was thinking about setting up an html form that would post
    data to a php page, and then send that info to the swf. My only
    concern with ths method that data dosn't stay there. If I run the
    .swf file before I use the form, the swf will compain that there is
    no info. And thats sorta my point. I want to data to "be there",
    and only changes if resend the form.
    Any help would be greatly appriciated.
    Thanks
    Thanks

    You need to have some location where the data is stored.
    Reading data into a swf is dynamic and volitile. When you read data
    into a swf you are only reading it into memory really, not into the
    actual swf document. This means that anytime you reload the page
    you are going to lose the data. This means you have to have
    somelocation where the data is saved. In your previous experience
    you did this via a text file.
    Since you have access to a server with PHP you could have
    your HTML/PHP form write out an XML document to the server. The swf
    file would read in this XML everytime it loads. The XML document
    would only ever change anytime you resubmit your HTML/PHP form and
    the XML file is rewritten.
    Of course you could jsut as easily write a text file out of
    PHP and read it in like you have done previously. XML is simpler in
    most cases.
    I hope that makes sense and is helpful.

  • Send xml file and recieve xml in response from servlet

    hi
    i want to send a xml file to http address and in response recieives an xml file from which i want to fetch value in java
    can everybody help me out by giving me some help code
    thanks
    haryy

    I think you can do this with the DOM API .
    Go through this: http://www.javaworld.com/javaworld/jw-07-2000/jw-0728-jdom2.html

  • Could query form and result table display at seperate pages

    we are new at html db, there are a few of questions we need to clear before we make decision to use HTML DB to develop our next version of application: (I seperate them at differenct topics).
    * Could query form and query result table display at differenct pages?
    Thanks
    Lei

    yeah, this is surely possible...and quite easy. you'd just set your form page up as you'd like. put a button on that page with a branch to your report page. then have your report query refer to the items you defined on the form page. so if your form page had an item called P1_JOB and P1_DEPTNO you could have your report use those items with a query like...
    select ename, job, sal, empno, deptno
    from emp
    where :P1_JOB = job
    and :P1_DEPTNO = deptno
    ...hope this helps,
    raj

  • Rogue HTML appearing in URL strings

    This is really an odd one. I just installed Cold Fusion 8.
    I've been running the monitor to see how things are performing. I
    noticed a really odd error happening. Somehow, some standard HTML
    from the web page is finding its way into the URL string that is
    passed to the next page when a link is clicked. There is absolutely
    no way that this html is being set as a variable anywhere. There is
    no code in the template that should cause the HTML to appear on the
    URL string. Yet its there.
    We do have an app that does server-wide GZIP compression. I
    thought perhaps it was corrupting the page somehow. I shut that off
    but it didn't correct the problem. I ran an HTML validator to see
    if perhaps there was a quote missing somewhere that caused this
    oddity, but no dice.
    At this point, I really think its some kind of bug that
    happens in memory when the page is being rendered. Has anyone else
    ran into anything like this?

    Warpuser,
    Next time that happens, do a View Source on the page and you
    will probably see more HTML and possibly even more Cold Fusion
    messages you can use for diagnostics. Many times over the years
    I've had partial pages display only to find out when I did a View
    Source that there was all kinds of information that didn't show up
    on the page. It may be enough to help you track down the problem.
    Below is some HTML that appears within the head statements of
    my page. Its just plain old html. Nothing special.
    The Cold Fusion error I'm receiving basically indicates that
    favicon.ico is being passed on a URL string from one page to
    another. There is no possible way that this bit of HTML should
    appear in a URL string. Its really weird. Nowhere is this HTML set
    as a URL variable.

  • Send a string to a server

    Hi,
    I am going to write a java application that sends a string so a server. I don�t know what is on the server side(someone else has written the server part) just that my program is going to use sockets and what port number and IP the server has. I first start using datagrampackets but then I have to use byte array that would not work if the server just want a string ?? What should I use?
    /Thanks in advance

    Hi,
    your question is not clear... you can convert the byte array to a string by calling toString method on the byte array.. since the server port and IP is known, try amking a socket and send a string and see what happens by opening a socket inputstream.. read from the stream to understand what the server does..
    - Bibin.

  • URL iViews and frames

    Hi experts,
    I created a new url iView and placed it into a portal page. The Web Page that is associated to the url iVew is displayed correctly. The problem is that the page uses frames with links included that are target="_top". When I click those links the page takes the whole browser window. Nothing is left from the portal, but I want the page to be displayed in the portal framework inside the iView. The iView is configured to be displayed in portal framework.
    Does anybody have a hint for me? Do I have to modify the target Web Page? Or is it the urliView?
    Is ist possible to develop a web Dynpro app which meets my requirements, so that this could be a workaround?
    Thanks in Advance!

    Hi Wang,
    Pls see the below links,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/70/5a3842134bad04e10000000a1550b0/content.htm
    Application Integrator
    Hope this is useful for u.
    Thanks,
    Raags

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • Re: Sending SMS and Recieving SMS from chat server

    Hi all, I would like to know how can i send sms from J2ME wireless toolkit to a macromedia flash socket server (electroserver) and recieved a feedback from the server that the message is successfully recieved.
    as example of what i want was:-
    1. user send a sms using j2me wireless toolkit to chat in the flash client chat (IRC)
    2. if is a new user, user will need to register their nickname on the server and the server will acknowledge them wether their nickname is already in used or not. so the server will reply the SMS.
    Is there any way to do it using J2ME wireless Toolkit or the server may not support such function. please help me and give some advice on how to make this work. Help from all is much appreciated.
    Thanks.

    You may try this tip for sending SMS from your computer:
    Send/Recieve SMS from computer
    http://www.java-tips.org/content/view/96/39/

  • Since updating to iOS 6 I no longer can hear the send and recieve text sounds when texting

    Updated to IOS 6 yesterday and now I am having trouble hearing the text "swoosh" or whatever it is called while in a converstation the sound you hear when you send one or recieve one. Also when my phone is switched to vibrate mode when I receive a text message all my phone does is light up and it dosn't not vibrate which stinks cuz if it is my pocket I don't know if I'm getting a text message. I went into the message settings to try and set a vibrate tone for when recieveing a text and It won't even vibrate when I click on an option or click to create my own vibration pattern. My phone still however vibrates when I recieve an email or when someone calls me ect.... just not on texts and no sound when in a text conversation as in sent and recieved sounds. My sister, and both my parents updated to IOS 6 yesterday and they are having not probems of any sort? Anyone else have this problem and know of a solution? Ive already tried resetting my phone thinking maybe it was a glitch but still have the same problems.

    I figured out my problem...... I have custom text tones set up for certain ppl and had the default text tone set to "none" well with the iOS6 update it made it so if your default text tone is set on "none" then you won't hear what I call the send and recieve text sounds when in a converstation... if you change the default text tone to any text tone other than "none" you will get your send and recieve sounds back.... kinda annoying if you don't won't random texts from ppl waking you up... so I made a custon text tone that is called silence with just recording a few seconds of dead noise then edited it and turned all the sound levels down to 0 and set that as my default text tone.... now I have the send and recieve text sounds in a conversation and everything is fine! Sorry Nehucskter the first time I had this problem thats the first thing I did was reboot my phone.... first thing you do for everything lol....

  • When i send a imessage the reciever see's it as sent from my email adress why and how do i change

    when i send a imessage the reciever see's it as it was sent from my email adress rather than my phone number, why, and how do i stop this?

    settings -> messages-> receive at-> caller ID ->  [choose your phone number]
    The advantage of using your email address is so that imessages sync across your icloud devices.  But if the only apple device you have is an iphone, then your phone number would be the obvious choice to pick here.
    Once ios6 comes out, this situation won't matter (they're fixing the sync of imessages across devices)

  • I have my Dad's apple ID etc, but he has an iphone and i have an Ipod Touch then on IMessage i can read all the messages he recieves and sends and he can read all the messages i send and recieve how do i stop this?

    Hi
    I have my Dad's apple ID etc, but he has an iphone and i have an Ipod Touch then on IMessage i can read all the messages he recieves and sends and he can read all the messages i send and recieve how do i stop this? But i still want to send messages to him.
    Thank You

    . You do not need a seperate Apple ID. One one device you just need to go to Settings>Messages and add another/different Messaging email address and delete the common Apple ID address. Also see:
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • How To insert Day And Time In flash AS2?

    I want to display Day and time in flash with AS2
    not only that i want to put certain event on certain date and time
    that means
    i have a movie clip with object on it ,when i run it,
    it changes its position
    BUT now i want to change movie clip position on certain date and time
    for eg;
    I have made a simple move clip of firework i want it auto play when it is
    (01.01.2012) (12:00 AM)
    Help Me.....

    user time is easiest.  the following checks if it's between 12am and 1am jan 1, 2012.
    var d:Date=new Date();
    if(d.getMonth()==0&d.getDate()==1&&d.getFullYear()==2012&&d.getHours()<1){
    // fireworks

  • In Applet  how to send an ' image' and 'string' as parameter

    Hi,
    In web application, how to use post method in applet to send an ' image' and 'string' as a parameter, I can able to send the image alone form applet to servlet.

    869665 wrote:
    Hi,
    In web application, how to use post method in applet to send an ' image' and 'string' as a parameter, I can able to send the image alone form applet to servlet.One way to do this is to convert your binary image data to base64 (convert it to plain text) and send it along with your other String parameter, delimited with a & of course.
    Edited by: maheshguruswamy on Aug 2, 2011 11:59 AM

Maybe you are looking for

  • Is there a way of not displaying entries in the Blog based on today's date

    Hi, I'm using the Blog layout in iWeb for a calendar. Somewhere in this discussion forum, I found how to sort the entries by increasing date (many thanks for that). The question I have: Is there a way of not displaying entries in the Blog overview of

  • Ant fails to compile modules which use interfaces

    Hi, I am having a major problem compiling flex modules with ANT. I will try to give ALL necessary information so we can avoid days of useless novice questions. I have an application that uses many modules.  They DO compile perfectly in flash builder.

  • Run Data Package from custom Menu00F9/VBA macro

    HI guys, I have a problem:when creating VBA macro to run Data Package. I get the pop-up error "400" . This is the VBA code I'm using: Application.Run "MNU_eDATA_RUNPACKAGE(""Opening""; ""/CPMB/Opening_Balances""; ""Company""; ""Financial Processes"")

  • Error code not found in online documentation!

    Hi, I just tried searching for error code ORA-39151 in Oracle 10g and 11g documentation and there were no hits. I was trying to find the meaning and actions for this error code which was posted in forums. http://www.oracle.com/pls/db102/search?remark

  • Older version of Reader

    I need to have 11.0.2 in order to read a file from Grants.gov.  I have 11.0.3 and cannot find the older version on your web site to download.  Please help.  I must submit the grant very soon. Gay Roatch Foundation Director Montgomery Community Colleg