SWF file connect to BSP

Hi ,
Please let me know, How  to connect  SWF file to BSP Application.
I am  new to BSP application.
Thanks,
Sam

Dear Sam,
  It is very easy.
1. go to SE80, Create an BSP application. GIve name as z<ur will> and activate it.
2. Now point the cursor to application and right click create mime object folder
3. Now import a .swf file into the mime folder by right click import
4. Save the file.
5. now create a page, by right clicking on application name.
6. Enter page name
Copy paste the below code
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="ClearExternalNoVol.swf" width="550" height="400">
</embed>
</object>
-- here ClearExternalNoBol.swf in tag <embed src is my file name
7. Acitvate and test the application.
You are on the go.. your swf file is on the page.
hope this helps
Post for queires
Regards
Imran.

Similar Messages

  • How to generate SWF file with dynamic data but no live connection

    Hello,
    We got a requirement where we have to email out SWF file either in PPT or outlook generated from BOBJ universe. When the file reaches the customer who would be outside our network with no access to our servers or data should be able to view the swf file with data. So the goal is to generate these files automatically and should not prompt for BOBJ login or wouldn't have ability to query the database but need to report data pertaining to the customer.
    Any help in this regards is greatly appreciated.
    Thanks
    Manohar

    Hi Manohar,
    You can use QAAWS(query as a web services) and build your queries on universe.
    You get an option of hardcoding the user id and password in the data connection for QAAWS which will not asks the users for login credentials.
    This will hepl the user to veiw the latest data from the database and the user wont be asked for login too.
    Thanks,
    Amit.

  • Tutorials in SWF output format prompted "Do you trust this content to connect to the Internet?" when opening another SWF file

    Please help.
    I have a tutorial with in the output format of SWF and HTM. I have click boxes that On Success will open another tutorial (SWF file). When I click on the click box, I get prompted “Do you trust this content to connect to the Internet?” by the Adobe Flash Player. I can click “Yes” and continue, however I don’t want the user to get prompted for every click box with this action (there is one for every tutorial and navigation buttons to each tutorial). I also think that SCORM can't handle the prompt, because when I run the tutorial from the LMS the click boxes do not work at all.
    I have tried selecting “Always allow” in the Global Security Settings panel as per the instruction on this website: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l.
    Any ideas?

    Hi,
    I wanted to add on a question to this posting.... I believe Rod's instructions must be followed on a per-PC basis, correct? Is there any way to disable this globally when/after I publish the files rather than telling 1000 users across the globe that they have to change their security settings? I don't think so from the article (very thorough) but just hoping there's something I can do?!
    Thank you!
    Michele

  • Establishing a socket connection between a .swf file and a socket-test program (TCP/IP builder - Windows), in AS3.

    I have an issue with a college project I'm working on.
    Using Actionscript 3, I made a simple .swf program, an animated, interactive smiley, that 'reacts' to number inputs in a input-box.
    For the sake of the project, I now need to make the framework for establishing a socket connection with the smiley .swf, and another program.
    This is where I encounter issues. I have very little knowledge of AS3 programming, so I'm not certain how to establish the connection - what's required code-wise for it, that is.
    To test the connection, I'm attempting to use the "TCP/IP builder" program from windows, which lets me set up a server socket. I need to program the .swf file into a client - to recognize it, connect to it, then be able to receive data (so that the data can then be used to have the smiley 'react' to it - like how it does now with the input-box, only 'automatically' as it gets the data rather than by manual input).
    My attempts at coding it are as follows, using a tutorial (linked HERE):
    //SOCKET STUFF GOES HERE
        var socket:XMLSocket;        
        stage.addEventListener(MouseEvent.CLICK, doConnect); 
    // This one connects to local, port 9001, and applies event listeners
        function doConnect(evt:MouseEvent):void 
        stage.removeEventListener(MouseEvent.CLICK, doConnect); 
        socket = new XMLSocket("127.0.0.1", 9001);   
        socket.addEventListener(Event.CONNECT, onConnect); 
        socket.addEventListener(IOErrorEvent.IO_ERROR, onError); 
    // This traces the connection (lets us see it happened, or failed)
        function onConnect(evt:Event):void 
            trace("Connected"); 
            socket.removeEventListener(Event.CONNECT, onConnect); 
            socket.removeEventListener(IOErrorEvent.IO_ERROR, onError); 
            socket.addEventListener(DataEvent.DATA, onDataReceived); 
            socket.addEventListener(Event.CLOSE, onSocketClose);             
            stage.addEventListener(KeyboardEvent.KEY_UP, keyUp); 
        function onError(evt:IOErrorEvent):void 
            trace("Connect failed"); 
            socket.removeEventListener(Event.CONNECT, onConnect); 
            socket.removeEventListener(IOErrorEvent.IO_ERROR, onError); 
            stage.addEventListener(MouseEvent.CLICK, doConnect); 
    // Here, the flash tracks what keyboard button is pressed.
    // If 'q' is pressed, the connection ends.
            function keyUp(evt:KeyboardEvent):void 
            if (evt.keyCode == 81) // the key code for q is 81 
                socket.send("exit"); 
            else 
                socket.send(evt.keyCode); 
    // This one should handle the data we get from the server.
            function onDataReceived(evt:DataEvent):void 
            try { 
                trace("From Server:",  evt.data ); 
            catch (e:Error) { 
                trace('error'); 
        function onSocketClose(evt:Event):void 
            trace("Connection Closed"); 
            stage.removeEventListener(KeyboardEvent.KEY_UP, keyUp); 
            socket.removeEventListener(Event.CLOSE, onSocketClose); 
            socket.removeEventListener(DataEvent.DATA, onDataReceived);
    Trying to connect to the socket gives me either no result (other than a 'connection failed' message when I click the .swf), or the following error:
    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|/Users/Marko/Desktop/Završni/Flash%20documents/Smiley%5FTCP%5FIP%5Fv4.swf cannot load data from 127.0.0.1:9001.
        at Smiley_TCP_IP_v4_fla::MainTimeline/doConnect()[Smiley_TCP_IP_v4_fla.MainTimeline::frame1:12] 

    Tried adding that particular integer code, ended up with either errors ("use of unspecified variable" and "implicit coercion") , or no effect whatsoever (despite tracing it).
    Noticed as well that the earlier socket code had the following for byte reading:
    "sock.bytesAvailable > 0" (reads any positive number)
    ...rather than your new:
    "sock.bytesAvailable != 0" (reads any negative/positive number)
    Any difference as far as stability/avoiding bugs goes?
    So then, I tried something different: Have the program turn the "msg" string variable, into a "sentnumber" number variable. This seemed to work nicely, tracing a NaN for text (expected), or tracing the number of an actual number.
    I also did a few alterations to the input box - it now no longer needs the 'enter' key to do the calculation, it updates the animation after any key release.
    With all this considered and the requirements of the project, I now have a few goals I want to achieve for the client, in the following order of priority:
    1) Have the "sentnumber" number variable be recognized by the inputbox layer, so that it puts it into the input box. So in effect, it goes: Connect -> Send data that is number (NaN's ignored) -> number put into input box -> key press on client makes animation react. I optionally might need a way to limit the number of digits that the animation reacts to (right now it uses 1-3 digit numbers, so if I get sent a huge number, it might cause issues).
    - If the NaN can't be ignored (breaks the math/calculus code or some other crash), I need some way of 'restricting' the data it reads to not include NaN's that might be sent.
    - Or for simplicity, should I just detect the traced "NaN" output, reacting by setting the number variable to be "0" in such cases?
    2) After achieving 1), I'll need to have the process be automatic - not requiring a keyboard presses from the client, but happening instantly once the data is sent during a working connection.
    - Can this be done by copying the huge amounts of math/calculus code from the inputbox layer, into the socket layer, right under where I create the "sentnumber" variable, and modifying it delicately?
    3) The connection still has some usability and user issues - since the connection happens only once, on frame 1, it only connects if I already have a listening server when I run the client, and client can't re-connect if the server socket doesn't restart itself.
    I believe to do this, I need to make the connection happen on demand, rather than once at the start.
    For the project's requirement, I also need to allow client users to define the IP / port it's going to connect to (since the only alternative so far is editing the client in flash pro).
    In other words, I need to make a "Connect" button and two textboxes (for IP and port, respectively), which do the following:
    - On pressing "Connect", the button sets whatever is in the text boxes as the address of the IP and port the socket will connect to, then connects to that address without issues (or with a error message if it can't due to wrong IP/port).
    - The connection needs to work for non-local addresses. Not sure if it can yet.
    - On re-pressing connect, the previous socket is closed, then creates a new socket (with new IP/port, if that was altered)
    It seems like making the button should be as simple as putting the existing socket code under the function of a button, but it also seems like it's going to cause issues similar to the 'looping frames' error.
    4) Optional addition: Have a scrolling textbox like the AIR server has, to track what the connection is doing on-the-fly.
    The end result would be a client that allows user to input IP/Port, connects on button press (optionally tracking/display what the socket is doing via scrollbox), automatically alters the smiley based on what numbers are sent whilst the connection lasts, and on subsequent button presses, makes a new connection after closing off the previous one.
    Dropbox link to new client version:
    https://www.dropbox.com/s/ybaa8zi4i6d7u6a/Smiley_TCP_IP_v7.fla?dl=0
    So, starting from 1), can I, and how can I, get the number variable recognized by "inputbox" layer's code? It keeps giving me 'unrecognized variable' errors.

  • I can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!

    i can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!

    Apple dropped playback support for .swf formats in QuickTime almost ten years ago.
    Adobe Flash Player is the only way to view them.

  • Embedding SWF file with SAP Netweaver BI Connection to JSP page

    All,
    Is it possible to embed a SWF file with SAP Netweaver BI connection that is already published in BW system to a JSP page?
    Thanks...

    Hallo,
    embedding the published web-template via iframe into the jsp should work:
    <iframe id="test" src="/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?DASHBOARD=TECHNICAL_NAME_DASHBOARD" width="600" height="800" />
    Regards,
    Roman

  • Connect Sync not working with Captivate SWF files

    HI
    I'm creating material for presentations and discussion in Captivate 8 and using Connect 9.3.
    The Sync button in Connect doesn't turn on or off the sync view for all participants for a presentation sharing the Captivate SWF file....
    Any ideas on how to get the sync feature working?
    PS: I'm using Captivate to create the slides and publish to SWF in order to preserve the fonts for the brand. Uploading Powerpoint changes the fonts to system defaults (looks very bad) and PDF, provides a clunky or abrupt slide transitions (using captivate fade transitions). Would prefer a better solution to maintain fonts and transitions though.
    Cheers,
    Fred

    Going to give a try...
    I did try saving each slide as an image from ppt, then created a new slide deck with one image per slide - added transitions and uploaded to Connect. That seemed to work.... yet, really would like to sort out Captivate as I plan on adding quizzes and other items best done with Captivate.
    Cheers,
    Fred

  • Need to connect different swf files into one site

    I need to make this site like presentation for my next exam. I found a good template for a slide show. The presentation will be structured like this: 
    MAIN PAGE with sidebar which links to:
    slide one with slideshow 1
    slide two with slideshow 2
    slide three with slideshow 3
    slide four with slideshow 4
    due to the nature of the code thou i cannot put the different slideshows into the same .swf file in different scenes (i copied and pasted them in each scene and modified the actionscript so they would refer to different pictures) because they will create conflict with each other. now they question is can i use the sidebar to link to different swf files but still make it look like it was just one big swf?
    thank you!

    Here is what you have to do
    Create a document named main.swf in that document put 4 buttons and instance (button1_btn, button2, button3_btn, button4_btn).
    Change the name to your slideshows to slide1.swf, slide2.swf, slide3.swf and slide4.swf.
    Now go to the actionScript panel of your main.swf and paste the following code:
    //load external content
    var loader = new Loader
    addChild(loader)
    loader.x=0;
    loader.y=0;
    button1_btn.addEventListener(MouseEvent.CLICK, function(){
             loader.load(new URLRequest("slide1.swf"));
    button2_btn.addEventListener(MouseEvent.CLICK, function(){
             loader.load(new URLRequest("slide2.swf"));
    button3_btn.addEventListener(MouseEvent.CLICK, function(){
             loader.load(new URLRequest("slide3.swf"));
    button4_btn.addEventListener(MouseEvent.CLICK, function(){
             loader.load(new URLRequest("slide4.swf"));
    any problems let me know!!!

  • Connecting swf. files

    Hey guys,
    I’m a degree student doing my dissertation on web design. I decided to try & use Flash as the basis for my development as I’m not that great at programming etc.
    As much as this is all very new to me, I’ve managed to create a rich website & some really good animations that I saved in seperate files believing that I could incorporate them into my website but I have now found that one of them will not link as it is coded using AS2 & my website is AS3 .
    Is there anyway that I can include a button on my website that will enable the user to click on it & open the other swf. file to successfully view it???
    I’ve tried converting the code from  AS2  to  AS3  but that hasn’t worked either.
    Furthermore, I have been advised to just have a button load the external swf of the as2 file (like you would any other external file) but I can't find any code to enable me to do this!
    All suggestions are welcome

    To load external files such as images or other swf files you use the Loader class...
    var ldr:Loader=new Loader()
    var urlR:URLRequest=new URLRequest("yourswftoload.swf");
    ldr.load(urlR);
    addChild(ldr);
    ldr.x=10;
    ldr.y=20;

  • User log in issue with Xcelsius SWF file

    HI,
    I am using the BI as source to  BO. Xcelsius dashboard is using webi data by live office.
    I have exported the xcelsius in  swf file &  ppt format.
    i am using the credentials user name, password  and authentication as SAP.
    I have the roles which are created in BI and imported to BO and the roles have users in BI , which came by default to BO.
    Now I have created the new users in BI with initial password. I cant login to infoview or swf until i change the initial password in BI and thn with new password i can log in to BO. I understood this concept.
    But confusing part is after changing to new password in BI, i can be able to log in to swf or PPT but not fetching latest data from data base.
    if i log on first into infoview , thn i can be able to log onto swf file or PPT correctly and access the latest data.
    If i directly access the ppt file , i get 'failed to get the document information. lo 26315". But if i login to infoview first then to swf or ppt i wont get any problem.
    The problem is,  users are access the dashboard file from ppt and pdf. So , is there any work around that, the new user can directly access the data from swf or ppt, without entering the infoview???

    Hi sapbi83 ,
    May i Know which connection you are using for fetching data into xcelsius, is it LO(Live Office) or Qaaws
    if it is Live Office  then what is the refresh property  set for live office object? and how many live office objects or how many qaaws connection u are using.?
    provide the answe of all the above question, i'll be able to help you and Infoview has nothing to do it with the real time data connectivity. the dashboard is completely dependent on the connections used to get data into the xcelsius, if the error is coming in PPT or PDF standalone then there is some issue with the connection used in xcelsius, just let me know the answer of all the above questions.

  • Working with SWF files...

    We're working on an editor to post letter's to a blog, and we're trying to implement something that will automate the process of adding SWF's to the code. Basically what we're looking for is some way to read the width and the height of the swf while inserting it into the code. We have some Javascript that has been grabbing it, but it doesn't always grab the correct height and width.
    function InsertFlash(sFlashFile,id)
    var obj = document.getElementById(id);
    var w = obj.getAttribute('width');
    var iWidth=ReturnWidth(id);
    var iHeight = ReturnHeight(id);
    alert(iWidth + " " + iHeight);
    function ReturnWidth(movie)
         var movieObj = getFlashObj(movie);
         return movieObj.TGetProperty("/", 8);
    function ReturnHeight(movie)
         var movieObj = getFlashObj(movie);
         return movieObj.TGetProperty("/", 9);
    function getFlashObj(movie)
         try
              if (window.document[movie])
                   return window.document[movie];
              if (navigator.appName.indexOf("Microsoft Internet")==-1)
                   if (document.embeds && document.embeds[movie])
                        return document.embeds[movie];
              else
                                   return document.getElementById(movie);
         catch (e)
              //alert(e.description);
    Something to note would be that our SWF's are built from flash files in which the programmer for flash has found canned content and then placed what we need inside of it. But we do have one video that has controls, and basically a screen at the beginning that you press in order for it to play. When it's at this screen, we have the normal dimensions of 400x550, but once you hit play and the movie with the movie controls show up, it varies around the 2200x356 mark, the latter generally staying the same, but the 2200 will bounce around 2000 and 2300 pixels (all in pixels), so that's where we're beginning to get clustermucked. There's a swf file (which holds the correct measurements) a flv file, and another swf file with the controls.
    If anyone has run into this before or has a better solution, (using asp classic, no vb), that would be superb!! All we want is the silly dimensions... Hah!

    Connect is an AS2 applicaton, and therefore, AS3 SWFs will not work (or not work properly).
    If you want to correctly build an application to work in a Connect pod you need to follow the rules in the Collaboration builder, SDK documentation. This has not changed since Connect 6, thus the older version refference.

  • Delete an swf file after download

    This is the situation: after a client load external content
    from an http server into his flash movie, a copy of the
    file for the external content (say, an SWF file) is stored
    in the "Temporary Internet Files" folder.
    To protect the external content, is it possible to
    automatically
    remove this file, after the loading is done? This should of
    course be built into the client movie. Within ActionScript,
    there seems to be no delete file function of any sort.
    Is it possible to do it by loading a javascript or ASP page?
    Any suggestions would be appreciated.

    Thanks for all your answers,
    which have really helped me
    to put things in perspective.
    Let me make the situation more
    explicit. I am going to use
    an empty movieClip as a container.
    All the Flash codes/graphics will be
    loaded dynamically into this
    container during run time from
    a server, with user authentication.
    There are two separate issues:
    (1). Whether the client would
    be able to access these external
    contents on the server, after
    cracking the container swf.
    On the server side, there
    are authentication routines,
    so that a user must be verified
    before he could load any external
    contents. I can hide all related
    scripts/functions on the server
    side (via FMS or http server), so
    that a user does not know what I
    am doing. In fact, I could copy
    to-be-loaded-contents into a scratch
    directory just before loading,
    and then the server side script
    will delete these contents
    after loading. So this
    part should be as safe as my
    authentication method, even if a
    hacker has decompiled my swf.
    (2). Whether the client
    would be able to get hold of
    the contents on his local
    machines, since these
    contents are loaded into
    the container movieClip. This
    part I am not sure. I thought
    that if the files were not saved
    on the disk as temp files and
    if my connection was secured/
    encrypted using https,
    then it would be difficult for
    a client to get hold of the
    content swf files. But you guys
    seem to be saying that a client can
    still get it somehow.

  • How to play swf file in flex builder3?

    Hi!!!!!! I have made a video player in Flex project ......In source of video display I have added the path of my swf file which is as follows:
    <mx:VideoDisplay id="player" source="C:\Documents and Settings\sachin\Desktop\absolute-values.swf"
    maintainAspectRatio="true"
    width="450" height="300" autoPlay="false"
    playheadUpdate="videoDisplay_playheadUpdate(event)  ;"/>
    But when I am clicking on Play button ,I am getting following error:
    Error: 1000: Unable to make connection to server or to find FLV on server.
    at mx.controls.videoClasses::VideoPlayer/play()[C:\autobuild\3.2.0\frameworks\projects\frame work\s rc\mx\controls\videoClasses\VideoPlayer.as:1327]
    at mx.controls::VideoDisplay/play()[C:\autobuild\3.2.0\frameworks\projects\framework\s  rc\mx\controls\VideoDisplay.as:1464]
    at basicvideoplayer/___basicvideoplayer_Button1_click()[C:\Documents and Settings\sachin\video player\src\basicvideoplayer.mxml:44]
    Can anyone help me in removing this error?Kindly give me a  code  to Play,Pause and stop my swf file.

    GRag and Mesh are correct. You cannot use Flex to access a file on a user's hard drive, which is where your path is pointing.
    Instead, create a folder within your Flex project, under the "src" folder (example: src/assets/videos), and put the SWF there. Change the path in your code to point to the new location, like "assets/videos/myVideoFile.swf". Note that you don't refer to the src folder; it is the "root" of your application, and when you deploy all your files to your web server, you will be copying the folders you created to the root folder of your web server. So, all the paths will remain consistent. Flex will attempt to find "assets/videos/myVideoFile.swf", starting from the "root", or location, of the application itself.

  • Converting video to swf files in flash for breeze

    Hello,
    I am using Adobe Premiere Pro 2 and wanted to know what the
    best video codec and audio codec to use when I export to create a
    video file to insert into flash to convert to a swf file for
    breeze? I am having trouble with the audio, must I demux it first
    before I put into Flash? Or is there a audio codec that I can use
    in Premiere so I don't have to demux the audio?
    Also, when I insert a swf file in breeze plug-in for PPT, it
    does not play the video or give me the controll by presentation
    playbar I checked off. Not sure what I'm doing wrong, could use
    some help, thanks.

    billcorrigan schrieb:
    > Jerich0, I tried this and when I publish it, the swf
    opens a connection to the
    > server, and starts streaming but nothing happens. Just a
    blank movie.
    >
    > The content is at (FLV):
    >
    >
    http://breeze.extn.washington.edu/p45023528/
    >
    > and the swf is at
    >
    >
    http://breeze.extn.washington.edu/p17629788/
    >
    > I created the swf by creating a new document in Flash 8,
    selected components,
    > edited the infomation in media player and saved the
    file.
    >
    > any suggestions?
    >
    hi,
    if you work with the player component the .flv is not
    embedded in the
    swf. In Breeze you can only insert a single flash file I
    suppose, so the
    attached .flv file won't show up.
    Kathrin

  • Links missing in SWF file

    For some reason our linked areas don't appear in our swf
    flash file when viewed with computers that don't have the JAVA
    update. When these computers are updated, the linked areas
    suddently appear. Anyone know why? Is there a way to avoid this?
    I was assuming that Flash files only need flash plugins to be
    viewed in a browser.

    I think you need to add your local foloder to trust location of adobe security panel, try following steps:
    1. Open the swf.
    2. Right click and select Settings... and Adobe Flash Player Settings pops up.
    3. Click Advanced... and a new IE page opens (Adobe - Flash Player : Settings Manager - Global Security Settings Panel). Close the swf.
    4. On the left of the Adobe page, select Globel Security Settings Panel to open the panel.
    5. In the panel at right of page, select Always allow and add your local foloder which stores the swf file to the location box below.
    6. Close the page.
    7. re-open the swf and refresh the QaaWS connections.
    Now the BOE login dialog should be poped up.

Maybe you are looking for

  • I was updating my iphone 3gs and when i came back to check on it, all i had on the screen was a usb and itunes logo.  error -1. now my phone won't work. what do i do?

    I have a iphone 3gs and while trying to update tot the new software my phone gave error -1 and went to usb and itunes logo page and says it is in recovery mode. I have tried to get it out of this mode but have had no luck. My iphone is not jailbroken

  • Xbox 360 Trade-In Issue

    I've rarely felt so insulted in my many years of retail work and patronage as I have felt today at Best Buy. As a former employee of the chain, both in retail and the Geek Squad, I am generally quite forgiving of any issues I have while shopping ther

  • Importing classes... HELP!!!

    I'm using JBuilder Enterprise Edition... I open a .java file to edit and recompile to test my edit... However I keep getting errors that classes imported in the ,java file do not exist... I know they do, because I copied them locally to the folder wh

  • IPhone 5 wifi range issues

    Hi all, Not sure if anyone else has had this problem. I'm sitting at home in my living room, iPad 3 and iPhone 5 next to me. The iPad 3 is connected to wifi and never drops its connection, whereas the iPhone 5 takes a few minutes to connect and somet

  • Which trigger to use for this?

    Hello, I have this code here that should stop the user from creating a new record (therefore not adding it to the tree) if the value of sublevel = 0. I dont know which trigger I can use to make this kind of validation. declare v_group_code varchar(12