Passing a parameter to the swf file

Is it possible to pass a parameter to flash like:
myflash.swf?action=show
Or do I have to use javascript?

FlashVars:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417

Similar Messages

  • OIM Reporting: How to pass a dynamic parameter in the xml file

    Hi,
    I am generating a custom report in OIM. My stored procedure is ready and I am getting the required data when I query the database. However,while displaying it through the xml file, I need to filter the fetched data by group name. The glitch present here is that the group name is dependent on the resource selected and so the group parameter is dynamic. How can I pass this dynamic group parameter in the xml file to filter the data. Which attributes are to be used. Can anyone please help me out regarding this?
    Thanks in Advance,
    SK

    The OOTB OIM reporting mechanism does not support dependant LOVs, which is
    what you are asking for.

  • Passing a parameter to an Excel file when opening it

    I would like to know if it is possible to pass a parameter to an Excel file when calling that file from within another Excel file using VBA. I am using the 2007 version. An example of what I would like to do is what we use to do with DOS programs and command
    line parameters. I would like to have the Excel file I just opened do something depending on the parameter passed to it and then close.
    Might be an easy question but I'm stumped. Any ideas?

    Step.1 Create a macro-enabled workbook
    Step.2 Open the workbook, and open the VBA, insert a moudle, copy and paste the following code sample in the module
    Option Base 0
    Option Explicit
    Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineW" () As Long
    Declare Function lstrlenW Lib "kernel32" (ByVal lpString As Long) As Long
    Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (MyDest As Any, MySource As Any, ByVal MySize As Long)
    Function CmdToSTr(Cmd As Long) As String
    Dim Buffer() As Byte
    Dim StrLen As Long
    If Cmd Then
    StrLen = lstrlenW(Cmd) * 2
    If StrLen Then
    ReDim Buffer(0 To (StrLen - 1)) As Byte
    CopyMemory Buffer(0), ByVal Cmd, StrLen
    CmdToSTr = Buffer
    End If
    End If
    End Function
    Step.4 Copy and paste the following code sample into ThisWorkbook
    Private Sub Workbook_Open()
    Dim CmdRaw As Long
    Dim CmdLine As String
    Dim myParam As String
    CmdRaw = GetCommandLine
    CmdLine = CmdToSTr(CmdRaw)
    myParam = Right(CmdLine, 6)
    MsgBox myParam
    End Sub
    Step.4 Sign your code or modify the macro security settings to allow the macro to run automatically
    Step.5 Save and close the workbook
    Step.6 Run command line with the parameter, for example:
    Excel "Server\ShareFolder\TheWorkbook.xlsm" /e/myParam
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The code sample above will pass the last 6 characters (modify the code if you need more or less) to the workbook
    The workbook will display a message box to display the parameter we passed from the command line, add the other function as you need
    The code sample refers to the reply from Air_Cooled_Nut in
    http://www.vbforums.com/showthread.php?366559-Excel-How-to-Pass-Command-Line-Parameter-DKenny-is-KING!
    Max Meng
    TechNet Community Support
    A new Office has arrived, try it now.
    A beautiful Start. It begins here. Windows 8 and Windows RT.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Hi, i am facing problem as to how to pass arguments received by my swf file to an .exe that i have c

    hi, i am facing problem as to how to pass arguments received by my swf file to an .exe that i have created from a C++ project...do i need to tweak the code in the C++ project in some way that it accepts the input from the .swf file?

    Hi there and welcome to our community
    What you need to do is click the link below, then choose the forum most appropriate to the product you are using. In this forum we discuss the operation of the forums themselves.
    http://forums.adobe.com/index.jspa
    Best of luck to you in solving your issue! Rick

  • How to create the SWF file which was included surrogate pairs.

    I would like to make sure how to create the SWF file which are included surrogate pairs.
    The error of outside the scope of unicode occurred when I compiled(mxmlc) the as file which was set surrogate pairs to 'Unicoderange'.
    Ex, I set the '  '(UTF-16 is '20B9F') to 'Unicoderange'.
    However, I cannot add the surrogate pairs.
    The error of outside the scope of Unicode occurred when I compiled the AS file.
    The reason of error was that the Unicode(UTF-16) of surrogate pairs is invalid.
    Then, I read the following pages.
    These pages are written that unicode-range supported surrogate pairs.
    http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_07.html
    http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#descdef-unicode -range
    So please let me know how to create the SWF file which are included surrogate pairs.
    Environment
    - Flex3.5a
    - TTC: meiryo(ver6.02), msgothic(ver2.50), mspgothic(ver2.50)
    Thanks,
    Takeshi Ishihara.

    I've been able to create project jar files in Eclipse by selecting Export from the File menu, then choose Java - Jar file - and provide the required information, name, destination folder etc. But when I do this, I do not export other jars on the build path this way nor do I expect to do this. I am only concerned with creating a jar file of my own work. A jar file does not "contain" other jar files. If the jar file contains the main method, and requires other jars for it's execution, then you may wish to include a reference to required jars on the class path entry of the Manifest file of the jar file you create. I'm not sure how to create a Manifest file in eclipse though..

  • How can i pass a parameter to the query to filter the result of this lookup

    Hello,
    i'm developping a web application with JDeveloper 10.1.2 and JHeadStart.
    i realy need to know how can i filter the lookup (LOV) query result.
    in other word, when i click on the lookup, it show all the row that exist in may data base table.
    what i want is how can i pass a parameter to the query to filter the result of this lookup ?
    Thank you

    Hi,
    have a look if this helps
    http://oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
    Frank

  • Detect end of the .swf file from captivate

    Hi,
    I've a .swf file sent by our clients. They want to put that .swf file on the webpage. The .swf file is published from captivate.
    Now they want to display a submit button on end of the .swf (video). I don't know how to detect end of the video.
    Need help...!!!
    Thank you,
    Himadri

    Welcome to our community
    Within Captivate you are able to choose different actions to occur when the Captivate movie completes play. Of course if you don't have Captivate and the project file you are pretty much stuck with what you have. If you *DO* have access to the source, you would then configure the end action to be what you like. Perhaps execute some JavaScript, load a different page, etc.
    If you don't have access to the source file, you may be better off asking whomever provided the SWF to you to make a small change to the end action. They would then compile a new SWF and provide that to you to use.
    You just said a "Submit" button should appear after the video plays. What exactly is this button supposed to do?
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • How to display PDF file, inside the SWF file or flash exe file

    I  have create the application for Employee details using flash actionscript 3.0
    This application is to view the organization employee details, iam using the tree component in this application,
    the tree component is to get the dada via xml file, this xml file save in the remote server ,
    I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the  player Adobe Air 2.6 and run the flash file using
    ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
    The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
    Pls Help...................

    hi i need to display the pdf file inside the swf file or flash exe file .
    I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
    Please suggest.

  • Error #2136: The SWF file

    I am trying to learn how to use classes.The book i am using gave me this example.
    In Vechile.as
    package{
                import flash.display.MovieClip;
                import flash.events.Event;
                public class Vehicle extends MovieClip{
                            public var _gasMileage:Number;
                            public var _fuelAvailable:Number;
                            public var _milesTraveled:Number =0;
                            public var _go:Boolean;
                            public function Vehicle(mpg:Number=21, fuel:Number=18.5){
                                        _gasMileage=mpg;
                                        _fuelAvailable = fuel;
                                        this.addEventListener(Event.ENTER_FRAME, onLoop, false,
                                        0, true);
                public function onLoop (evt:Event):void{
                            if (_go){
                                        _fuelAvailable--;
                                        _milesTraveled+=_gasMileage;
                                        if (_fuelAvailable < 1){
                                                    this.removeEventListener(Event.ENTER_FRAME,
                                                    onLoop);
                                        trace(this, _milesTraveled,_fuelAvailable);
                                        this.x=_milesTraveled;
                public function go():void{
                            _go = true;
    In the main.fla
    In frame 1
    var vehicle:Vehicle = new Vehicle(21,18.5);
    addChild(vehicle);
    vehicle.go();
    when I compile it gives an output error.
    Error #2136: The SWF file file:///C|/Users/Ravenwind/Documents/Main.swf contains invalid data.
                    at Vehicle/frame1()
    I am stumped

    " I then assign Vehicle to document class box in the property box" Do not assign the Vehicle as the document class... remove it from there. 
    In the main file, if you didn't already create one, create a movieclip symbol (just draw a shape in it for now).  Right click the symbol in the library and select the Linkage option.   In the interface that appears, select the option to Export for Actionscript, and assign it the Class name "Vehicle" in the field labeled "Class"
    Make sure you save the Vehicle.as file after you put the code into it and have that file in the same folder as your Main.fla file.
    If you do the things I just described you should see an instance of the movieclip moving across the stage when you run the file.

  • How to reduce the swf file size of an imported After Effects file

    Hi!
    I am trying to make a web banner for an internet marketing company, so it has very specific requirements. We had it made in After Effects, and I was able to export it as a FLV file and import to Flash just fine along with the SWF. Now, I need to make the SWF file significantly smaller.
    Right now it is 2.5 MB and we can only submit a 40K size SWF. Is it even possible to reduce the size so much and still keep the animation's intregrity?
    I am more familiar with Flash than After Effects, but can play around with settings, etc if someone can tell me what to try.
    Thank you for your help!

    the easiest way to load and play your flv is to use an flvplayback component.  you just drag it from the component panel to the stage and, in the properties panel, assign its properties (eg, skin and source).
    but that will probably put you just over your 40kb limit and will require the skin.swf to be placed on the server with your banner ad.
    to decrease your swf size to negligible, use actionscript to play your flv.  this is the barebones code needed.  just replace your_video_url.flv:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    ns:NetStream = new NetStreamnc);
    ns.play("your_video_url.flv");
    var video:Video = new Video();
    video.attachNetStream(ns);
    addChild(video);

  • How to Open or load the swf file only in Java application

    Hai.,
         How I Secure my Flash SWF files(AS2 and AS3).?
         The SWF files are only work through java application. When the java call the swf file that time only it will work otherwise it won't work including browsers also..

    I attached the file to this post. It would be great if you could send me the pdf version of the block diagram. It's not totally finished, but that doesn't matter, I can complete it in school.
    Thank you, really, thank you.
    I know that this is not the purpose of this forum, but it was the easiest solution for my problem.
    Attachments:
    Programma transportmiddel.vi ‏129 KB

  • Menu keeps appearing in the swf file

    I made a flash for my website and used the fscommand to hide
    the menu, and it works well when i open the swf file. But when i
    insert it inside a web page the menu still there when any one click
    the mouse right button :S I think i did this before and worked but
    now i dont know y is this happening :S

    Hi there,
    Im not absolutely sure on this, but i think in order to use
    fscommand in a browser, you need some javascript in your html code
    to handle it.
    You should check the flash docs on fscommand for browsers.
    Hope this helps.

  • The webpage in the swf file

    hi,i want to catch a function that when i open the swf file ,
    then the webpage shows in flash, how to realize it? if i use the ie
    to parse the html code can achieve the goal. and i want to know how
    the AIR achieve the goal. please give me some advice,
    thanks.

    Yes, I think I am going to have to just use Flash. The flash I was creating was very simple, and Encore would have done the trick if it had not been for the fact that the file would always require the AuthoredContent.xml file.  I was just trying to avoid having to learn ActionScript, and most of my animation is coming directly from AfterEffects, with which I am much more comfortable. However, since I first made that post, I have started learning ActionScript, and also realized how to use the XFL format, so it does not appear to be too bad. Within a few weeks, I should be able to create in Flash what I was trying to do in Encore.
    Thanks for the advice!

  • Does the Captivate Demo cripple the SWF file?

    Is the Adobe Captivate Free Demo limited?  I created a SWF file but I'm not able to insert into a Sharepoint web part.
    Are the demo files not compatible with regular Flash player or is the trial version crippling the output files?  If so, will I need to download the actual software to fix this problem?
    Once I purchase the software, will all employees in my organization be able to view the SWF file I create?
    Thanks.

    Please, read the etiquette for posting on the forums. Now you have 2 users reacting to the same question in different threads. Almost everyone that visits these forums are users, wanting to help others in their free time.
    Lilybiri

  • Why the swf file cannot be played by itself?

    Hi,
    After I run the source code, I opened the bin folder and
    locate the swf file that has been packaged. I double click it but
    the program will not run. But if I double click the html file that
    embed the swf file, the program will run.
    Am I doing anything wrong?

    Thanks for your help. However the code is too big to show
    here and I am not sure the client would allow me to do it. I am
    trying to think to shorten it, but it's hard to find where to start
    since I don;t know what actially could cause the problem. I thought
    about using external xml data is the reason. I then tested one app
    with external xml and one without. Both of the two swf can rrun
    standalone.
    So what is the general guideline? Thanks again.

Maybe you are looking for

  • Contacts there but not really?

    I just got an iPhone 4s.  This is my first Apple product and I'm learning the ins and outs.  I noticed today that my contacts seem to be doing something weird.  They are all still there, but it's like they're not.  When I text with people, the name I

  • Material document 4900000006 does not include an accounting document

    Hi guys I created normal sales order, delivery and and released it thr VF01. Then I created the RE document without order reference and PGR. But while checking the accounting documents in VL02N it gives the error as follows Material document 49000000

  • I have a 17 inch macbook pro running on OSX 10.8.5 but i wanna run mavericks 10.9.1

    when i go in to the app store to download mavericks 10.9.1 it says please log into this other email i have never in my life seen before? so how coud i completely dump this computer out so that it is like a brand new computer and will allow me to run

  • Need mod_jk binary!!

    I need a mod_jk.so binary for Apache 1.3, on Solaris 7. Please do not point me to the Jakarta-Tomcat web site. It is not there, I promise. I need to connect Apache and Tomcat ASAP!!! Right now, I have to use Tomcat as a standalone on port 8080, which

  • How do I find out what filters I have used in an open document?

    How do I find out what filters I have used in an open document? I have been playing around with several filters and do not remember what I have done. I would like to use this filter setting for another image. Thanks