.swf file as an iView

Dear SDN Community,
  I have .swf file(demo recording) which was required to put it in the Portal as an iView. For this I have created a folder named Demo in Public Folders in "KM Content" and copied the .swf file. Now, I got the URL for the doucment I have copied in the demo folder and created a URL iView with the URL being /irj/portal/..../../demo.swf.
   This works fine in Firefox but when I tried to open this iView in IE it opens with the URL http://<<server>>:<<port>>/irj/portalapps/com.sap.portal.navigation.toplevel/html/child.html and closes in 15 sec. Can you please advice me here how I can display the .swf file as an iView in IE.
Thanks!
Vivek.

Hi,
As already said use KM Doc IView, also check these threads:
https://forums.sdn.sap.com/thread.jspa?threadID=462400
Normally swf files can also be embedded into HTML files for better control.
Check this for more:
https://forums.sdn.sap.com/thread.jspa?threadID=378379
Regards,
Praveen Gudapati

Similar Messages

  • Cross domain error while displaying .SWF files in  portal

    Hi Experts,
    i am working on EP ,
    i am trying to display a .swf file in a iview but that file is  giving an error as
    Add a cross domain policy file to the external data web server
    this swf file is retriving data from BI system.
    Please suggest !!
    i got a solution of putting a crossdoaim.xml file in root directory but thats not possible

    I think two urls will work for you:
    Xcelsius SWF with QaaWS through SSL: Cannot access external data
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_04.html

  • SWF file is not working in Portal PROD System

    Hi All,
              We have written custom mxml script in Adobe Flex 3 which displays the list of applications stored in the DB. Then we have posted that .swf file into our Portal KM and then we have created one URL iView with the location from KM.
    These days we are facing issue like the output of the script is not working means the applications are not listed on the portal prod system.
    Whenever the issue arieses we are requested to upload the file once again into KM and it works after the upload been done.
    We are not sure what could be the reason for this issue and I request any one to assist us to resolve this issue.
    Please let me know if you need more info on this issue.
    Thanks in advance.
    Best Regards,
    Vijaykumar K.

    Hi Vijay,
    I belive this should be a portal issue, anyways let me give it a try.
    I never worked on flex in SAP but did similar stuff in portal content development.
    Do you have any traces in that development..?
    Did you check any messages being loged in portal...?
    Check if there is any issue with the file like couldn't recognise a resource from KM which is required etc.
    Cheers,
    Sai

  • To Display SWF file or Flash file in Web Page Composer (WPC)

    Hi,
    I am goning to add & display 'swf file or flash file' in <b>Web Page Composer</b>.
    But it is not allowing me to do so.I tried by three ways
    1} to upload this file directly from local machine & to add in WPC
    2}By using linklist option
    3}By creating KM Document iview;which contain swf  file.& then adding that iview in wpc.
    but at last it is not displaying though allowing to add it in WPC.

    Vishal -
    First... we are all new to WPC!
    Second, no I don't think you need to create a new container.  I think that you just need to add the swf type as an allowed type for the container.
    So...
    Figure out which container you are trying to add the flash file to (as you mentioned, A1, A2, etc).
    Navigate to:
    Sys Admin --> Sys Config --> Knowledge Mgt --> Content Mgt --> WPC --> Containers.
    Edit the container you want to use.
    There will be a box named Allowed Mime Types.
    In here, select the "swf" mime type (make sure the check box is checked). Then Save.
    At my company, we had the WPC ramp up from SP12, and are now on SP13.
    I'm not sure what you get if the first time you had WPC is SP13, but for us I see two default A1 (and A2...B1..C4...etc) containers -- one that has "default" in the name and one that has "def" in the name.  From what I see, SP13 WPC uses the one with "def" in the name, not "default".  So, make sure you modify the one with "def" in the name.
    After you make this change, you should see "swf" in the list inside the container when you are editing a page.
    Is this clearer?  I wish I could attach a screenshot.

  • Integrating a Flash "swf" file in portal 7.0

    Hi experts,
    I would like to integrate a flash animation created with Flash Professionnal CS5 in a Netweaver portal 7.0. I've created a KM directory with my flash file, xml files and others. I use javascript in a html page to read the swf file and when I preview my html page in the KM, it works but when I preview the html page in a iView KM Document, it does not. The swf file is in place but is not read and displays a white screen instead.
    Can someone help me ?
    Thank you.

    Hi,
    Did you also check out Display mp4 video from KM in an iView ?!
    You description is not very detailed in concern of what's (not) happening in the background. But I would advise to follow the thread from above and if there is still trouble, you'd need to deliver more details; for instance you should analyze the http traffic and check what's the difference between the working and the non-working szenario.
    Hope it helps
    Detlev

  • Integrating a Flash "swf" file in portal

    Hi experts,
    I would like to integrate a flash animation created with Flash Professionnal CS5 in a Netweaver portal 7.0. I've created a KM directory with my flash file, xml files and others. I use javascript in a html page to read the swf file and when I preview my html page in the KM, it works but when I preview the html page in a iView KM Document, it does not. The swf file is in place but is not read and displays a white screen instead. I already checked for similar threads but none resolved my problem...
    Can someone help me ?
    Thank you.

    Hi,
    Did you also check out Display mp4 video from KM in an iView ?!
    You description is not very detailed in concern of what's (not) happening in the background. But I would advise to follow the thread from above and if there is still trouble, you'd need to deliver more details; for instance you should analyze the http traffic and check what's the difference between the working and the non-working szenario.
    Hope it helps
    Detlev

  • Unable to play audio stream in a swf file

    Making a swf file that reacts like a button: it plays sound
    when you pass over it. Or should play. When the button keyframes
    sound options are set to "start" or "event", there is no problem,
    it works well. But it doesn't work if I set to "stream". My
    original file is an mp3. Is there something special avout it? Help
    tutorials didn't help me so far...

    With "stream" you have to make sure there are enough frames
    in the movie to play the whole sound file. Try adding some frames
    and see if it plays then.

  • IE running under XP can't handle multiple SWF files, Why?

    I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
    Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
    But more of these files in one page will stop IE.
    Firefox ( 3.6.28) runs them fine.
    And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
    Has anyone any idea what can cause this and how to resolve this?
    Thanks,
    Onno Tomson
    The Netherlands

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • How do I edit a .swf file in edge animate? How do I save it as a swf file?

    Hello, I need to edit the actionscript in a swf animation file. How do you do that with Edge animate?

    There is no such workflow for swf files.
    Edge animate only understands html, javascript. SWF files are alien to it.
    You should be using Flash Professional CC, for generating the swf files.
    hth,
    Vivekuma

  • How do I script SWF files instead of JPG files in XML loader?

    I have a SWF loader (greensock.com platform) and a thumbnail image scroll underneath it made of small image buttons. Each image button has a link which loads a new SWF file into the SWF loader above. Here is the code for each button which loads the bigger SWF file into the loader above:
    Button3.addEventListener(MouseEvent.CLICK, Button3_PlayPopUp);
    function Button3_PlayPopUp(event:MouseEvent): void {
        //setting the sourceVar
        sourceVar="3.swf";
        //making the SWFLoader load
        //as setting the soureVar after the SWFLoader is created won't do anything unlesss
        //I also re-create the SWFLoader with the new sourceVar when the button is clicked
        loader_howToLoader2.url = sourceVar;
        loader_howToLoader2.load(true);
    Then I decided to load all button via XML loader. I followed the tutorial on XML loaders which deals with loading jpg images and assigning URL links to them in the following manner first in XML file:
    <image src="appThmb_imgs/appThmb_imgs117x175/A-illuminatorUpLit_117x175.jpg" title="UpDownGlowingVase" url="http://www.888acolyte.com"/>
    and then in AS3 like this:
    var xmlLoader:URLLoader = new URLLoader();
    thisOne.link = imageList[item].attribute("url");
    function clickScrollerItem(e:MouseEvent):void {
    //trace("clicked item " + e.currentTarget.itemNum + " - visit url: " + e.currentTarget.link);
    var urlRequest:URLRequest = new URLRequest(e.currentTarget.link);
    try {
    navigateToURL(urlRequest);
    catch (e:Error) {
    // handle error here
    trace(e);
    My question is: How do I apply the code to each individual small thumbnail button to load a bigger image into the SWF loader above? Do I have to add something to XML file or this way it will never work with jpg images? Can url in XML file set the source var (//setting the sourceVar), since they are all individual and then somehow apply the making SWL loader to load part (//making the SWFLoader load) as a standard somewhere in the AS3 code?

    O.K. Here is my COMPLETE function.
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    function LoadXML(e:Event):void {
        trace("xml load complete");
        xmlData = new XML(e.target.data);
        //trace(xmlData.image); //we'll see each image xml element listed in the output panel with this xmlList
        buildScroller(xmlData.image); //rather than trace the xmlList, we send it to our buildScroller function
    //build scroller from xml
    function buildScroller(imageList:XMLList):void{
        trace("build Scroller");
        //var scroller_x:int=0;
        for (var item:uint = 0; item<imageList.length();item++) {
            var thisOne:MovieClip = new MovieClip();
            //thisOne.img_width=imageList[item].attribute("width");
            //outline
            var blackBox:Sprite = new Sprite();
            blackBox.graphics.beginFill(0xFFFFFF);
            blackBox.graphics.drawRect(-1, -1, 86, 128);//-1,-1 places rectangle 1px left and up.86, 128 draws rectangle 1px wider on all sides of placed image dimenstions of 84x126
            thisOne.addChild(blackBox);
            //scroller_x += thisOne.img_width + 20;
            //var currentX = currentImageWidth+spaceBetween;//modified line to adjust variable thumb widths
            thisOne.x = (84 + padding) *item;//84 is the width of the loaded images and 15 (which was before paddign var) is the padding
            //thisOne.x = scroller_x;//modified line to adjust variable thumb widths
            thisOne.itemNum = item;
            thisOne.title = imageList[item].attribute("title");
            thisOne.link = imageList[item].attribute("url");
            thisOne.src = imageList[item].attribute("src");
            thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
            //trace(thisOne.itemNum, thisOne.title, thisOne.link, thisOne.src);
            //Loading and Adding the Images
            //image container
            var thisThumb:MovieClip = new MovieClip();
            //add image
            var ldr:Loader = new Loader();
            //var url:String = imageList[item].attribute("src");
            var urlReq:URLRequest = new URLRequest(thisOne.src);
            trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
            ldr.load(urlReq);
            //assign event listeners for Loader
            ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);//tells us when the loading is complete
            ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);//tells us if there are any typo errors when the loading is complete
            thisThumb.addChild(ldr);
            thisOne.addChild(thisThumb);
            //create listeners for this thumb
            thisOne.buttonMode = true;//makes boxes act as buttons
            thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem);//makes boxes act as buttons
            thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem);//traces the title when the mouse is over the bounding box in the Output Panel
            thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem);//traces the title when the mouse is out the bounding box in the Output Panel
            //add item
            scroller.addChild(thisOne);
    But I am not sure if I expressed myself clearly. All what you have indicated happens. Images are being loaded and url strings are working. I can not figure out how to tweek the code so instead of url specified in xml file I can load swf image into the SWF loader on the same screen?

  • Flash .exe or swf files will not play on Vista

    I decided to learn how to create captions for flash video,
    using CS3. I tested this project and it worked fine. I could just
    double-click on the app or the swf and the captioned video played
    fine on my Mac. I only had Flash (CS3) on my Mac, so I created the
    files there.
    I then published an exe to move over to my Vista machine.
    When I double-clicked on the file, it brought up Flash Media Player
    version 9, but only showed a blank white box. Very frustrating.
    After some research, I read that Windows Vista was not
    compatible with Flash Media Player 9. Only 10.02xxx or later (I
    forget the exact version - it was long) was supposed to work with
    Vista. Since CS3 uses version 9 to pack into the executable (PC) or
    app (Mac) projector files, I thought maybe this was the problem.
    So I downloaded the demo of Flash CS4, thinking this version
    would pack version 10 into the projector and this would solve my
    problem.
    While the CS3 version of my saved flash video project would
    open in Flash CS4, it would not play when I tested the movie inside
    Flash CS4. It would just show a skin at the bottom of the video
    player only (with a play/pause button), and it had moving blue bars
    on the skin like it couldn't really load either.
    I then decided to create the whole flash video with captions
    from scratch under Flash CS4. This time when I tested the movie in
    Vista, it worked fine. When I published either the projector exe or
    the html/swf combination, it worked fine. So proudly (and finally!)
    I sent the exe over to my boss. But..... you guessed it. The Flash
    Media Player 10 that started up when the file was double-clicked
    just showed a blank white screen again!
    So then I moved the exe over to another partition to test to
    see if there was some dependent directory pathway saved as part of
    the flash video file. The exe wouldn't play on the other partition!
    So I thought I was onto something. I then tried moving files that I
    thought the exe might be dependent on (although isn't the point of
    a projector to be stand alone?) to the same directory on this
    partition as the flash exe projector file.
    I ended up moving the captions.xml file, the swf files (flash
    video player skins included), and the html file that the swf file
    is supposed to be embedded in. NOTHING worked.
    I even read that someone with this problem saved his Flash
    CS4 file as a Flash CS3 file before he published it, and that
    worked for him. So I tried that too, but with no joy.
    So I am totally stumped. Does anyone out there have advice or
    even a solution?
    Much Thanks,
    Chuck

    HI
    You can use FlashJester Jugglor to create one EXE file by
    adding the FLV in
    the Additional Files section.
    Try it
    http://www.jugglor.com
    Let us know if you have any further questions.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    DISCLAIMER:
    This email message is intended only for the addressee(s) and
    contains
    information that may be confidential and/or copyrighted. If
    you are not the
    intended recipient please notify the sender by reply email
    and immediately
    delete this email. Use, disclosure or reproduction of this
    email by anyone
    other than the intended recipient(s) is strictly prohibited.
    All measures
    have been taken to ensure this email is virus free - however
    no warranty is
    made that this email or any attachments are free of viruses.
    Virus scanning
    is recommended and is the responsibility of the recipient.

  • Can Captivate 7's playback controls control Flash swf files?

    Hi folks,
    I have created a swf file using Adobe Flash and I have imported it as an animation slide in Captivate 7. I have turned on the playback controls to just have the play button and the progress bar. When I export the presentation, the playback controls do not work. The scrubber moves as the presentation is playing, but I can't pause the presentation. When I stop the scrubber or even move it left or right, it does not affect the presentation and it just keeps playing. Am I doing something wrong? I don't want to have to create a custom nav bar in Flash as it would just be easier to use Captivate's playback bar.

    I don't think it can be expained quickly as it can be very complicated. But...
    Select New Project/Widget in Flash and choose static widget. You need to be very adept in AS3 to actually get them to work.

  • Dreamweaver CS5 wont loop .swf file???

    Hi there,
    I am having a problem where i am trying to get a swf file to loop. I read on another thread that there is a bug in dreamweaver and although it automatically selects the loop button in the property inspector it does not add the code. But when i correct the code it still doesn't work! here is the code i am using:
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="openingsequence">
        <param name="movie" value="1.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <param name="LOOP" value="true" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="1.swf" width="550" height="400">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <param name="LOOP" value="true" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    I have also read that it could be because the code for the .fla file has a <stop/> value at the end instead of the code to make it loop. I made the swf file from an mp4 in flash so ive never had the original .fla file. I have tried using a swf decompiler to get the fla file but it doesnt seem to have worked but this is a side issue...
    I really just want to figure out how to get dreamweaver to loop my swf file.
    Can someone please help me, ive spent all day trying to solve this!
    thanks,
    Matt

    Hi
    You wrote -
    I made the swf file from an mp4 in flash so ive never had the original
    .fla file. I have tried using a swf decompiler to get the fla file but
    it doesnt seem to have worked but this is a side issue...
    First welcome to the forum.
    Unfortunately without being able to edit the stop() function out of the fla file, your swf will not loop.
    You could use the html5 video element for your mp4 and if you have the original video file convert it to other formats for use in the html5 video, and then use the swf file as the fall back, this would allow your video to loop in those browsers that support this.
    There are also 3rd party players available that will allow the swf to loop without editing but these will only work on windows.
    PZ

  • Why does the audio in my .SWF file not play in a Browser?

    I created an .swf file using ffmpeg, containing H.264 video and MP3 audio. The file plays perfectly in VLC but  not in a Browser (Chrome/IE). I tried analyzing the file using a trial version of Flash decompiler. Again, only the video plays. The strange thing is that if I extract the MP3 from the file, it plays perfectly using any of th eplayers. It seems to be a muxing issue which VLC apparently handles, but not the player in the browser! Why? Thanks for any pointers.

    Yeah. Sorry to say this but many people buy the various brands of format converters, which are everywhere on the Web and which also spam these boards – and often find they are not only out the purchase price but that the app created as many problems as it solved.
    Russ

  • File size of .swf files exported from Indesign CS5

    I have made a basic file (728 x 90 px) in Indesign, which is the size of banner ads we produce. I have not put on any effect or animation yet. When I export it as a swf file, the file size is 139kb. This is way too large for any banner advertising on websites where the highest is normally 100px and the smallest is 30kb.
    I have tried exporting at a lower resolution, but it has no effect on the file size, rendering this useless as a flash export option for me.
    Is there something I'm missing or is Indesign just not the right tool for flash banner ads.
    Thanks

    Mr Met
    {swf file that's 13MB. What are your images, 200MB each?}
    As I said, I resampled the images to be 500px wide so each PShop image is about 1.4mb (single layer). There are 12 images used.
    Here it is if you care to see i t- 11mb so it will take time to load
    http://wgdesigngroup.com/10/elaine/elaine.html
    Jongware
    {The Right Tool for the Right Job ...}
    No doubt you are a 100% right here.
    But I think it is a bit disingenious to blame the InDesign user for the feature. It would be like Abobe putting Drop Shadows and transparences into ID and then saying you should use PhotoShop to for that feature!
    Brian

Maybe you are looking for