Load url into!! the swf file

can i load a url into a continer on a stage (into the swf)?
i need to let users lunch url in the application without open
a new window or somthing like this...
it needs to load into a continer or somthing like this?
i know to load swf with swfLoder, i need the same thing only
to load any URL (insdate of wsf only)...
can you help me?

Flex does not support the direct display of URLs. Flex does
have some capability to display HTML, but it sounds like it would
be too limiting for your use.
Check this out:
http://coenraets.com/viewarticle.jsp?articleId=95
Christophe wrote this for Flex 1.5 but it might work for Flex
2.

Similar Messages

  • How do you include images into the swf file?

    I have an application that dynamically loads images from a folder to display in the application. Images display fine in the app through the IDE. Since these are not embeded images, compiling the swf leaves them out. How do I get them in? Specifically, how do I do this through the mxmlc ANT task?
    This is what I am doing in the code:
    new BitmapFileMaterial("components/test/images/testimage.png")
    So basically the image needs to be in this location within the created swf file.
    Thanks for any help.

    You have to use the metadata in your source code.  You can't alter where the Image will find the data at compile time.  It is better to not embed images in most cases, especially if they are big.
    If you're asking how to get ANT to copy your image files somewhere, see the ANT doc.  I'm pretty sure there's a tag
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Need some help embedding a url into a swf file

    Hi all
    Thanks to help I have received here, I am almost done with my add banner. I need the banner to link to a url.
    The entire banner needs to be a clickable link for  the duration of the animation. So anyone can click on the banner at any point during the animation, and be brought to my site. I tried putting a frame at the end with getURL("http://www.mybsite", "_blank"); but that doesnt work. When I do that, the banner is not a clickable link, but the site opens automatically  after the animation has played. Cant have that. So after doing some research, the apparent correct way to do this is by making a button, but I do that and the button obsures everything else.
    Any ideas on what I should do?
    Thanks in advance.

    if nothing else is clickable, attached to your main timeline:
    this.onRelease=function(){
    getURL(whatever,"_blank");

  • Limitations of trial version 13? I cannot load pictures into the photomerge panorama window either from' browse' or 'add open files'.

    On Adobe's web site it states the trial version has all functionality.  FAQ, common questions & answers | Adobe Photoshop Elements 13 "These trial versions are fully functional, so every feature and aspect of the product is available for you to test-drive. Product trials can easily be converted for unrestricted use without the necessity to reinstall the software in most cases."
    However, I cannot load pictures into the photomerge panorama window either from' browse' or 'add open files'. When I select either way nothing happens.This happens if I enter panorama from photo editor and/or organizer.
    Can anybody enlighten me about this?
    Thanks,
    Barry

    It seems your Samba is denying access to these files & dirs. My best guess would be that either the Samba user is not allowed to write (and read) those (in which case you'd have to modify the permissions accordingly) or Samba sets, when the share is mounted, the permissions such that your user is not allowed to read and write (you may in this case try to just set permissions for you to allow you what you want to do; or use "create mask" or "directory mask" or "writable" in your samba config. ).
    Also, what do the logs say about this? According to your samba conf they are in /var/log/samba/%m.log where %m is the hostname or IP.

  • I want to save and load the swf-file to a local disk of any user. Possible?

    Hi, It's good to see you.
    I am a developer in Web Flash Game.( I use AS3.0 )
    I want to save and load the swf-file to a local disk of any user,
    Because I want to decrease the time for loading a flash movie from site.
    Is it possible?
    If it is possible, I hope the swf-file has only one loading from site and
    it will be loaded from a local disk of any user after that.
    (I know a concept of Internet temporary file.
    I want to know the other techniques of only using AS3.0.)

    Hi,
    I have similar problem. We are producing a 70 meg browser based game and would like the user to be able to cache the game to avoid reloading the game the next time. Can this be done if the user authorise the save? If, so how? We don't care where the game is cached .
    Can we prompt the user to download the file by providing a link from within the SWF application?

  • 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

  • Dreamweaver Cs6 Uploading to remote server to web-host,the.swf files do not load on the webpage

    all the content works fine with the file path being the computers harddrive  :/C "etc"
    once i upload to webhosting server all the swf files don't work.
    My website is fully complete and ready to go on the web can someone help me and tell me why my content is not showing.
    the webhosting customer service rep told me i need to upload with media files checked? im like i never heard of that lol.

    The links in the webpage all point to your local hard drive
    <param name="movie" value="file:///C|/Users/lol/Documents/Website flash art 5.swf" />
    No-one can see these links except you.
    This suggests that you have not defined a site in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Is this the case?

  • Publishing the swf file in Captivate 8: videos unable to load

    This is my first time using Captivate. I am still using the free version of Captivate 8 from a Mac. I have created an online module for my college e-Learning course but, I can't get it to upload right anywhere! I am trying to upload the swf. file to Google Sites but the videos display a connection error message and never play. I have read everything I could online but nothing is working for me. I tried uploading a SCORM zip file to Coursesites and got an error message as well. I am not sure what I'm doing wrong...

    I have not upgraded at this time, but I can if that will fix the issues I'm having with the published files.
    To clarify, my project is NOT a responsive project. I'm just selecting HTML5 on the publish. And I am testing it locally, on our company server, and online. The drag and drop does not work in any instance of the index.html any of these locations.

  • 10.3.183.5 Won't load certain older external swf files

    This update ruined my whole day.
    Basically, there is a bug with the new player that causes swf files that would load with the old player to crash this version. The swf files that caused the crash were just basic images, but they had effects on (example: http://images.expressionstributes.com/logos/1.swf )
    Seems like a simple problem, but in a several-thousand line app, it takes a long time to realize where the error is and a long time to realize it is the swf file you are loading thats causing the problem (I thought it was something to do with the security policy or cross domain file)

    j9lemmon wrote:
    I'm having a similar problem with several games. Here's one that was published for Player 6; I republished for Player 9, but it didn't help. Interestingly, the first two screens display correctly, but when you press the 'Play' button on the second screen it goes black. Here's the link:
    http://www.jlf.com/custom_web_games_fishing.html
    Hi John,
    Do you think your swf could be impacted by the following bug?
    https://bugbase.adobe.com/index.cfm?event=bug&id=2940617
    If not, could you please add a new bug to bugbase.adobe.com and post back on a new thread with the bug URL?
    Thanks,
    Chris

  • How do I read the images I bundled into the jar file?

    I just wrote an applet that uses
         Toolkit tk = Toolkit.getDefaultToolkit();
         tk.getImage("blah.gif");to load a bunch of image files. The class file and gif images were bundled into a jar file to minimize the number of connections the browser has to make to the server.
    The applet works fine in appletviewer but trips a java.security.AccessControlException: access denied (java.io.FilePermission select.gif read) when run in a browser. I know you normally use Applet.getImage(URL) to load images but wont that circumvent the JAR file and make a seperate connection to the server for each image? That would defeat the purpose of using a JAR file.
    How do I access the image files I bundled into the JAR file?

    From your Applet class, write the following:
    URL imgUrl = getClass().getResource("blah.gif");
    Image img = getImage(imgUrl);The returned URL will be from the Applet class ClassLoader, which will look into the specified archive (jar) file.

  • Error Loading Data into a flat file

    I am recieving the following error when loading data into a flat file from a flat file. SQL 2005 is my back end DB. If I cut the file iin half approx 500K rows my ODI interface works fine. Not sure what to look at.. I rebuit the interface which before was just dying giving no error and now I am getting this.
    Thanks
    java.lang.Exception
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

    Figured it out, found similar post that stated changing the HEAP size
    Increase the page size in odiparams.bat in the bin folder and restart Designer.
    For eg:
    set ODI_INIT_HEAP=128m
    set ODI_MAX_HEAP=1024m

  • 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

  • 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.

  • [svn] 658: Fix SDK-14201: Performance: embedded images are written into the swf one byte at a time.

    Revision: 658
    Author: [email protected]
    Date: 2008-02-26 11:28:16 -0800 (Tue, 26 Feb 2008)
    Log Message:
    Fix SDK-14201: Performance: embedded images are written into the swf one byte at a time.
    This changes the way swfs are written out when they contain embedded lossless images,
    such as PNGs and GIFs. The old code had a loop to write a byte at a time; the new code
    does a single biblt. The result is a modest compilation speedup, on the order of
    several hundred milliseconds when compiling Flexstore.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-14201
    Modified Paths:
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java

    Thanks John,
    I've downloaded the exif tool + the gui - I can see how it's meant to work and have successfully processed a single file (even when I got the name wrong it still copied exif time data!)
    I'll investigate further on how to do a batch and use command line
    Really appreciate your prompt response to my problem. 
    I will let you all know how I get on - will take quite a few weeks but I am confident I can get there!
    Thanks Mike
    A week later I've now got back into this.  I used the exif gui tool - which was very simple to use once I sat down with peace and quiet for 10 mins!  I successfully copied and updated the correct exif data including capture time from the original backup files.  My metadata keywords remained untouched when I then updated the metadata setting from disk in lightroom.
    exif is a great tool, and I found it easier to use than AM pro - I couldn't  see the photo attributes in the trial download so made it hard to sort by date.
    Anyway my problem was overcome thank you

  • How can I embed a rmtp url in an swf file?

    Hi
    I have been trying to figure out how to embed an rmtp url in
    an swf file for it seems like years. I want to stream to a flash
    player from a flash streaming server, and I don't know how to
    create the swf needed. Can anyone help? I would enormously
    appreciate it!
    I'm using Flash MX 2004.
    Thanks
    Mark

    ps I am using Flash MX 2004

Maybe you are looking for

  • Frequent safari crash

    Back in July, I posted some Safari crash logs hoping someone could figure out why I am unable to use Safari anymore on my MacBook. (See Help! Frequent Safari Crashes. Crash logs included. Posted: Jul 1, 2008 8:37 PM) Some helpful suggestions were mad

  • Safari not playing videos

    Since the last update Safari is not playing MSNBC videos, But they do play on Firefox Any help will be appreciated Dan

  • Calling ABAP Function Module in BODS, but not RFC_enabled

    Hello Experts We have an ECC ABAP Function Module takes 5 input parameters and returns Division Name for an Employee and Employee PERNR is one of the input parameters for the Function Module. I tried adding a function call in the target schema of Que

  • Multi-select prompt and variable

    Hello! I have a table function (which is my data source) that has a number of input parameters and the problem is with multi-select prompt because it doesn't support setting a value in a variable (OBIEE 10.1.3.4.1.). Can I somehow get a list of selec

  • Writing decimal value to application file

    hi All, I am having an internal table with fields itab-A, itab-b and itab-C. i want to write the record to itab in such a way that itab-ASPACEitab-bitab-c. Now i tried to concatenate the record in one string and write it out but the problem is itab-b