How do i send variables to a flash file using swfloader???

hey guys... so im trying to load a swf using the SWFLoader, and i need to some how send a variable to that swf, and in that swf i need to capture that variable if that makes any sence...
the swf is made in flash, and a function init is called everytime the swf loads...
in that init function in the flash actionscript i need to capture the variable i send from flash builder....
so far i have the following code...
in this code i have no idea on how to send variables to my swf
        var swfLdr:SWFLoader = new SWFLoader();
        swfLdr.horizontalCenter = 0;
        swfLdr.verticalCenter = 0;
        swfLdr.source = "http://test-broadcast.apxinsider.com/Content/swf/office_weekly_UF.swf";
        swfLdr.addEventListener(Event.INIT, swfLoaded);
        swfLdr.load();
now i was htining i could do somehting like office_weekly_UF.swf?id=1304 or somehting... but if i do that, how do i capture this in my swf???
any thing would help! thank you so much!

Hi,
I'll put up what i think is the answer. Do tell me if this is what you are looking for. When I created the swf in Flash Pro.This is the code I used
var keyStr:String;
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
for (keyStr in paramObj) {
urlText.text = String(paramObj[keyStr]);
urlText is a text box whose content text is passed as a URL parameter. The parameters can be retrieved from paramObj. Is that what you meant by capturing the variables?
Then on the flex side, this is the code i used to display from SWFloader
           import mx.controls.SWFLoader;
            private var swfLdr:SWFLoader;
            private function startSWF():void
                swfLdr = new SWFLoader();
                swfLdr.horizontalCenter = 0;
                swfLdr.verticalCenter = 0;
                swfLdr.source = "MySWF.swf?urlText=verbose";
                addElement(swfLdr);
I hope this helps.
Nishad

Similar Messages

  • How can I send a message to multiple contacts using "groups".

    How can I send a message to multiple contacts using "groups".
    It was easy on my sony ericssonn....do i need to download an app?

    There is no group send option like you are looking for.
    To send to a group you have to pick each person you want to send to and send as a group that way. Then don't delete that SMS thread and you can reuse it again later.
    As for an app, well SMS works via your carrier and the OS, not something an App can do unless the app send the data to them (a third party) and then they relay it to the carrier. Do you really want to be sending your SMS to some 3rd party first?

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution?
    If possible I do not want to use workflow.
    Is It possible to do it without using workflow?

    hello Steven Andrews,
    when any user sends a message using contact us page in SharePoint online.
    1. We are inserting item in Contact Us List . - This is working fine
    for anonymous users also. We have used Office365 anonymous codeplex wsp and it is working fine. Anonymous user is able to insert new record in the Contact Us List.
    2. Once, new record is inserted in Contact Us list, we want to fire email notifying thanks to the user on his email id as well as to our company x person for notification of new inquiry. 
    We tried using Workflow having impersonation step for  anonymous user but it is not working for Anonymous users. Workflow is able to sent the email if someone logged into system but not working for Anonymous user although workflow is getting started
    but not able to send email although used Imperonsation step.
    We are stuck into implementing second step.

  • How to setup the access privilege of flash file in Web Intelligence?

    How to setup the access privilege of flash file in Web Intelligence?   WEBI can set access privilege for single WEBI report file, but it seem cano not set access privilege for one flash file.

    Thank you Maksim,
    I did set the "selectionMode" to "Auto". I don't understand where In supply function I have to set lead selection of nested node to first element. Please elaborate on this. Are you talking about the context attribute bound to the second table? OR do I have to change the Importing parameters "Node" and "Parent_Element" of my supply function?
    Thanks for your time.

  • How can One sender communication channel pick two file from two location

    Hello
    I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

    >
    Soumitra Sinha wrote:
    > Hello Vijay
    > I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
    > i have two folder   folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can  pick file from two location and how one receiver channel can put in two location.please help me..
    Ok now I get your requirement.
    you cant achieve this -  how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
    easy way - involve IR mapping
    else
    have a adapter module to define your dynamic configuration.
    Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
    Set the dynamic directory/file name etc for your receiver adapter.

  • How can i don't save a flash file for a temporary internet files

    i already use html file in meta tag...
    but still saving file ..
    so how can i don't save a flash file for a temporary internet files??

    i don't understand.
    post your message in your native language.  i can use the forum translation tool to (usually) understand your question.

  • How do I send a large Illustrator CS3 file to a client that needs it for printing?

    How do I send a large Illustrator CS3 file to a client that needs it for printing?

    Hey, another way that i just discovered by complete accident is by selecting what you want to send, and in Illustrator, going to File>Save For > and then click on okay. > then you save it under Pictures or wherever you wish, and name it. Now, all you have to do is compose an email, and attach it!
    Hopefully this works for you like it does for me!
    -Alex H

  • How to check the resolution of a pdf file using Acrobat 9 pro?

    How to check the resolution of a pdf file using Acrobat 9 pro?

    PDF files don't have one resolution, but may have none or many different resolutions, one per image. You can check the maximum/minimum resoluion with preflight in Acrobat Pro, but not in Adobe Reader.

  • How can I see the information about a file used in a sequence?

    How can I see the information about a file used in a sequence?

    You can use pretty much any two or multiple button mouse on a Mac, right out of the box.
    I use this one: http://www.apple.com/mightymouse/

  • How to read the content of ms-word file use pure java???

    how to read the content of ms-word file use pure java???

    hi,
    check this: http://jakarta.apache.org/poi/

  • How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    PDF files cannot be natively opened in InDesign. They can only be placed as graphics.

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • How to apply  special right  to the PDF  file using the LiveCycle Rights Management Server.?

    How to apply special right to the PDF  file using the LiveCycle Rights Management Server.?
    I want  to edit bar code field data using Adobe Reader. Bar Code field was designed and data was changing using Acrobat X1 Professional (Trial Version). But can't do so in adobe reader.

    I think that product has nothing to do with it. You would use LiveCycle Reader Extensions.

  • How to extract data from Essbase to Flat File using ODI

    Hi,
    Anyone know how to extract data from Essbase to Flat File using ODI?
    Thanks in advance.
    Regards,
    Sumardi

    Hi,
    Have you read through :-
    Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
    Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
    If you have read them and are still have a problem at what stage are you having the issues?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I print stuff from the 'Help' file using my MacBook Air?

    How can I print stuff from the 'Help' file using my MacBook Air?

    Open the Help viewer, select a category then from the menu bar top of your screen, click File > Print

Maybe you are looking for

  • RE: RD 330 Rail Kit too long for the application space

    This is my first time posting, I hope I have submitted this to the correct forum.. My situation:       We have a Middle Atlantic Rack system model RS-46-28, with 46U and a center unit depth of 23.5 in, the Lenovo servers we are using (RD340E1Us, 3 of

  • Internet speed goes half at night (WRT54GS 1.1)

    During the hours of 7pm-12am, my internet will go half it's speed sometimes even less but when connected directly to the modem my speed will be normal. I have a Linksys WRT54GS 1.1. I never had this problem until 3 days ago, is there any reason why m

  • What is the Std Cost field in Material document

    Hi,   Can someone please advice what the table name and fieldname for fetching the std cost from the material document. I have checked the tables MKPF and MSEG but could'nt find any. Thanks, Arti

  • Installation of Adobe Reader Stops

    I had issues with Adobe Reader so I ran the repair from the Control Panel which did not work then I uninstalled the program.  Now I am unable to reinstall the application as the installation stops before completion.  I went through the troubleshootin

  • Videos For Less

    Hey I found a place that has videos and songs for a cheaper price then ITUNES send him an email to [email protected]