Publishing swf file with xml feed

I am working in actionscript 3 trying to create a flash banner ad that will be put on multiple sites.  The ad will grab a rss feed and display a number from that feed insie the banner ad.  The Flash file works fine on my local computer when I test it.  The feed is showing up just fine in the ad.  When I publish the ad for the web and test it out on my server, the feed does not display in the ad.  I have checked to make sure network access is selected in the publish settings.  I also have a crossdomain.xml policy file on the server with the feed.  My server is listed in the policy to allow access.  I keep thinking I am overlooking something, but can't figure it out.  Any help would be greatly appreciated.
Here is the code for the action script:
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest =
         new URLRequest("http://www.rssfeed.com/rssfeed");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(e:Event):void{
    var rssXML:XML=new XML(e.target.data);
trace (rssXML);
    if (rssXML.channel.item[0].description >= 61)
        {rssXML.channel.item[0].description="60+"}
        testXML.text=rssXML.channel.item[0].description;
Here is the crossdomain.xml policy file:
<?xml version="1.0"?>
        <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
        <cross-domain-policy>
        <allow-access-from domain="domain.net"/>
        <allow-access-from domain="www.domain.net"/>
        <allow-access-from domain="anotherdomain.com"/>
        <allow-access-from domain="www.anotherdomain.com"/>
        <allow-access-from domain="yetanotherdomain.com>"/>
        <allow-access-from domain="www.yetanotherdomain.com>"/>
        </cross-domain-policy>
Message was edited by: WRGrun262

try:
Security.loadPolicyFile("http://www.rssfeed.com/crossdomain.xml");
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest =
         new URLRequest(http://www.rssfeed.com/rssfeed);
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(e:Event):void{
    var rssXML:XML=new XML(e.target.data);
trace (rssXML);
    if (rssXML.channel.item[0].description >= 61)
        {rssXML.channel.item[0].description=60+}
        testXML.text=rssXML.channel.item[0].description;
this should be crossdomain.xml in the rssfeed.com root directory
<?xml version="1.0"?>
        <!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd>
        <cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>   
<allow-access-from domain="domain.net"/>
        <allow-access-from domain="www.domain.net"/>
        <allow-access-from domain="anotherdomain.com"/>
        <allow-access-from domain="www.anotherdomain.com"/>
        <allow-access-from domain="yetanotherdomain.com>/>
        <allow-access-from domain="www.yetanotherdomain.com>/>
        </cross-domain-policy>
Message was edited by: WRGrun262

Similar Messages

  • Can we publish swf file made with InDesign in .exe?

    I made a SWF file with InDesign. I would like to publish it in .exe? Is it possible?

    What version of FlashPro are you using? If you want a self contained app that doesn't load external resources, publish an AIR app, which will work on Windows or OSX. I'm using OSX so I can't really help with .exe projector files, but it looks like the latest version of FlashPro no longer outputs projector files—I think everything is AIR now.
    If you really want to go the projector route, I'm guessing Jeffrey Smith's suggestion of finding an older version of Flash Player would be simpler.
    So for AIR, set your Publishing target to AIR for Desktop. Then under File>AIR settings:
    Output as: Application with runtime embedded
    Include files: Add all of your resources—the swf ID generated and it's resource folder
    In the Signature tab click New to create a self-signing Certificate (if you were developing commercial software you would need a third party certificate). You can save the certificate anywhere.
    When you publish you should find an AIR application file (.app) file in the directory with your .fla

  • Help with publishing .swf files in iweb...

    Hi,
    I am trying to publish .swf files into my website. I have uploaded the files in my idisk in the 'Web' 'Sites' folder where the rest of my website files are held. I have used Roddy's html snippet...
    <iframe width="420" height="420" frameborder="0" src="http://idisk.mac.com/username//Web/Sites/flashfiles/filename.swf"
    </iframe
    When I publish and visit my site I get asked for my username and password for idisk(?) I have not set this (I've checked). Can anyone shed any light on why this is happening. Have I uploaded my .swf files to the wrong place maybe?
    Thanks in advance

    ALWAYS define URLs from --the-- your visitor's browser point of view.
    http://idisk.mac.com/username//Web/Sites/flashfiles/filename.swf
    should be
    http://web.me.com/username/flashfiles/filename.swf
    Message was edited by: Wyodor

  • 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

  • Creating swf file with along with linked flv content

    Can anyone tell me the procedure for creating an swf and
    linked flv file with Sorenson Squeeze for deployment on the Breeze
    server or in Breeze Presenter. All Adobe will share is the how to
    ithis with Flash. I feel certain this can be done, but all my
    attempts have failed in that the published swf will not display the
    referred flv content. To interpret the Flash procedure it seems
    that all one has to do is add /output "file name" to the swf player
    flve linked url, but the published swf file does not seem to be
    linked with the published flv file. - even when I have made that
    flv file public.

    You wrote  "I've imported the FLV into the 'stage' and added a skin through the wizard" from this I conclude that you choose the deafult option, that says "load external video with plyback component" (only this one offers you a skin wizard). But when you deploy that swf to a server it still needs the flv source (search Help for FLVplayback), and even the Skin (its an extra swf) must be depoyed to the server. What you instead want to do is option 2: embed FLV in swf. There are some disadvantages to this solution: the longer the video, the more probable it is, Audio and Video will get desynchronized, and: you can`t use Adobes premade skins for the controls

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

  • Export a pdf to a swf file with navigation buttons???

    I have CS4 and I've tried to export a couple indesign files using the swf export feature, but it the navigation of the file is very weak and not very intuitive, and when you zoom in to any of the text the text goes fuzzy.
    I would like to just convert a PDF to SWF file with navigation buttons, page controls, zoom in/out, single or two page view options, so that my end user can view it with the free flash player, but I don't have time to build the file in Flash and I don't want to use an online service that comes with a per month or per publication fee.
    Any suggestions??

    I've looked at that, but most of the pdf's that I need to convert are more than 10 pages.  I want a program I can download, install and use without a per use cost, or per publication cost.
    I'm looking more for a plug-in for either Acrobat, or Indesign or stand alone program that would convert them without adding copyrights, or ads to the file.

  • How can I associat ".swf" files with flashlite 2.1

    How can I associate ".swf" files with flashlite 2.1? When I
    install flash lite 2.0,it can do ---- click .swf files system can
    autoly use flashlite to play.But now I install flashlite 2.1,it
    lost this ability return as "unknow files formate".
    Now,how can I reassociate ".swf" with flashlite 2.1?
    first: I must use flashlite 2.1.
    second:I must click .swf file directly.
    I know another way to open :open the player and then find the
    .swf,and open it. But ,unfortunately,I can not use this way to
    open.Now I will be looking for another way.

    unfortunately, the 2.1 developer edition you have installed
    has not overwritten the original version integrated into the
    symbian OS by the manufacturer. This means that the only way to
    open the 2.1 files is to open the 2.1 player from your apps menuu,
    and click on the swf file. You will only get direct access if the
    updated player is in a firmware update for you handset.
    Matt
    http://www.outside-media.co.uk/blog

  • How to place a Flash swf file with a movie FLV file embedded in DW

         My hair is getting shorter by the hour or maybe missing.  I have created a SWF file with Flash 8 that has an embedded FLV file that was created from a MP4 file.   The SWF file works perfectly in FLASH including my Flash nav buttons, and the movie with soundtrack and the buttons for control of volume and start stop.  Now I am ready to place it on the web using DW to make the html page.  What happens when I test the page on FireFox or IE is the background loads, the buttons load but do not work properly anymore but worse than that:  The slide show and the control buttons do not even show up. 
         I am also having trouble defining my site locally.  I select new site and tell it where every thing is but no luck. All in the same directory, right now I have a image directory but I have not used them on the page as the only image is a jpg and flv file and they are embedded in the swf file.
         I know this is 2 different programs but the Flash files need to be placed in a HTML file to be uploaded, and I have to text them first.
    HELP
    Randy

    from the Premiere Pro Help section about importing SWF files:
    " Interactive content and scripted animation are not retained. Animation defined by keyframes in the main, top-level movie is retained."

  • Bridge opening office files with xml converter

    Adobe Bridge CS3 is opening all my excel files with xml converter and promting me to save as.  How do I switch it to default to Microsoft Excel when opening these files?

    These options are handled in the Bridge prefs under File Associations, but if I remember correctly this is somewhat limited in CS3 since it only handles Adobe files that install their associations. Any other file type is handled by whatever the opoerating system offers. Well, you can always look and give it a try...
    Mylenium

  • Can i access swf files with your product?

    can i access swf files with dreamweaver?

    You will need Flash as well as Dreamweaver.
    Follow these instructions http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7ad0a .html

  • SWF file with white border

    Hi
    I'm trying to import an SWF file (with associated movie and captioning) into Acrobat Pro 9.
    I'm placing it using a URL from my server.
    The video places fine but I'm getting a white border top and bottom of the file. This is a problem as there is a coloured background to the Acrobat file I'm trying to place the movie.
    The white border doesn't exist when I view the file in Flash.
    Any help would be much appreciated.
    Thanks
    Andy

    Andy:
    Have you checked the properties of the imported file. Control-Click on the file with the Video Tool and a fly-out menu will appear where you can bring up it's properties. You should be able to see if a border is set there.

  • Flash swf file with web link only opens my safari home page not the link

    I have a flash swf file with a simple web link. when i load the swf file and click the link it opens safari then loads up my homepage. It does not go to the link i clicked. if i choose internet explorer as my browser the swf file works fine.
    I am running 2 G4's 10.2.8 & 10.3.9
    safari 1.0.3 & 1.3.1
    PLEASE HELP

    Type '''about:addons'''<enter> in the address bar to open your Add-ons Manager.
    Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
    In the Add-ons Manager, on the left, select '''Extensions.'''
    Disable a few add-ons, then '''Restart Firefox.'''
    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    If the problem continues, disable some more (restarting FF). Continue until
    the problem is gone. After, you know what group is causing the issue.
    Re-enable the last group '''ONE AT A TIME''' (restarting FF) until the problem returns.
    Once you think you found the problem, disable that and re-enable all the
    others, then restart again. Let us know who the suspect is detective

  • Is this possible to package flash 8 swf file with AIR

    Hi All,
    Is this possible to package flash 8 swf file with AIR
    packager or load flash 8 swf file in AIR?
    Any info on AIR would be greatful.
    Thanks,
    Shailesh

    Yes.
    -ted

  • Cannot open the SWF file with firefox

    right click open SWF files with IE,it's ok , but with firefox opening it ,point out that can't find the application

    IE uses a Flash ActiveX control.<br />
    Google Chrome comes with its own flash plugin (gcswf32.dll)(libgcflashplayer.so)<br />
    Firefox uses a different Flash plugin.
    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox, so you need to install that Flash plugin.
    See:
    * https://support.mozilla.org/kb/Managing+the+Flash+plugin
    * https://support.mozilla.org/kb/Installing+the+Flash+plugin
    * http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    *http://helpx.adobe.com/flash-player.html

Maybe you are looking for