Flash baner bind to XML file

I used a flash baner for my site (that designed by ASP.net) that this baner binded to a xml file that read the image file name frome it.
When I want to use this baner in my site I have a problem that it dosent show with the same code that I use previously .
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
  codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" 
  id="name" width="970" height="330"> 
  <param name="movie" value="flash\ImageRotator.swf"/> 
  <param name="quality" value="high"/> 
  <param name="wmode" value="transparent"/> 
  <param name="flashvars" value="flash\slideshow.xml"/> 
  <embed name="name" src="flash\ImageRotator.swf" 
  quality="high" wmode="transparent" width="970" height="330" 
  type="application/x-shockwave-flash"   
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?  
P1_Prod_Version=ShockwaveFlash"> 
  </embed> 
</object>  
But it dosent  show my baner . I think it coudnt load xml source file there for nothing show in my site.
What shoud I do ? any thing for xml file or the html code ?
Thanks

Thank you
But I solved my problem . I put the swf and xml file directly in my project (not in folder in project) and my problem solved
Thank you

Similar Messages

  • Build a web gallery with amazing flash slideshows with dynamic XML files

    Build a web gallery with amazing flash slideshows with dynamic XML files
    Screenshot:
    Features
    Features
    Transitions, zooming and panning effect You can  choose from  Random, Wipe from Left, Fade to White, Cross Expansion and  other 60-plus  transition effects. Zooming and panning effect is  optional for advanced flash  templates.
    XML-driven This flash slideshow are XML-driven. The XML  document allows more personalized controls over the flash.
    Auto-playback and repeat mode The flash slideshow will play  automatically after preloading, and it can repeat playback.
    Dynamic customization Besides XML control, the  advanced  templates provide many more custom options, so that you can  create slideshow  that fits into your existing web design: width ,  height, border color,  background color, thumbnail size, etc. More about  dynamic customization
    Usage and demo visit: http://webdesigndevelopment.blog.com...swf-xml-files/

    Please excuse the bump...
    Anyone with a LR flash gallery that starts with slideshow in play mode?
    Can it even be set to do this?
    The only code in the style.xml that looks like it might be realted is line 12 <playOptions playMode="pause"/>, changing that to "play" does nothing.
    Thanks,
    Donnie

  • How to bind a XML file to a dropdown list

    Hello. I am trying to bind a XML file to a dropdown list as taught in the LiveCycle Designer Help. I created a XML file containing the following codes:
    <form>
    <lists>
    <item uiname="MasterCard" token="MC"/>
    <item uiname="Visa" token="VS"/>
    <item uiname="Eurocard" token="EC"/>
    <item uiname="Special Card" token="SC"/>
    </lists>
    </form>
    Then I connected to this XML file, created a dropdown list and then specified its dynamic properties as below:
    However, when previewing this pdf this dropdown list seems empty. Nothing comes out. It seems to me a very basic question but I really need your help. Thanks !
    Also, I would be very appreciated if someone could post me an working example of this.

    Well I found out what was wrong.
    You have to indicate the XML file in the filed "Data File"  of "Preview" in the " Form Properties"....

  • Binding an XML file into LiveCycle

    Currently we are using a .dat file to populate a .docx file, but we are having issues with layout and formatting and I want to switch it to using a PDF.
    I have found lots of information on adding an XML Data Connection to a PDF, but nothing to do with troubleshooting. I created a simple XML file with three fields and I was able to connect it to a dynamic PDF and then generate the fields into the document. Now when I preview the PDF the values dont fill in, nor when I open it in Reader.
    I have tested this on Designer ES2 and ES3 and Reader X.
    I cant seem to find a way to attach the XML and PDF, but i will include the XML for reference:
    <?xml version="1.0" encoding="UTF-8" ?>
        <draft>
            <number>100040</number>
            <entered>02-18-2015</entered>
            <name>Name</name>
        </draft>

    Hello,
    I believe I spoke too soon, the data now binds when I Preview the PDF in LiveCycle, but when I save it and then open it in Acrobat Pro or Reader, it does not bind the XML data in.
    Any help is appreciated.
    Ian

  • Sending variable value from php to flash to load an xml file

    I would like to load an XML file from the location locally or on the server being unaware of the name of the file. I am using PHP for sending the filename to Flash.
    The below is the PHP code:
    <?php
    filesInDir('C:\Documents and Settings\457305\My Documents\shrikant\Flash Tutorials\webassist');
    function filesInDir($tdir)
            $dirs = scandir($tdir);
            foreach($dirs as $file)
                    if (($file == '.')||($file == '..'))
                    elseif (is_dir($tdir.'/'.$file))
                            filesInDir($tdir.'/'.$file);
                    else
                            echo "fileName=$file";
    ?>
    And below is the loading Actionscript code:
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.net.URLVariables;
    stop();
    // Define the PHP file to be loaded
    var phpFile:String = "http://localhost/webassist/test.php";
    var cons_xml:XML;
    var xmlLoader:URLLoader = new URLLoader();
    // Specify dataFormat property of the URLLoader to be "VARIABLES"
    // This ensures variables loaded into Flash with same variable names
    xmlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    xmlLoader.load(new URLRequest(phpFile));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(evt:Event):void
              trace(evt.target.data.fileName);
              //cons_xml = new XML(evt.target.data.fileName);
              //gotoAndPlay(2);
    When I trace the evt.target.data it displays "fileName=mainOpenEndedXML%2Exml" and when I trace evt.target.data.fileName the fileName is properly displayed as "mainOpenEndedXML.xml".
    But in the next two lines where the loading occurs it does not load the file i.e the swf file from xml doesn't play.
    I have been searching the Internet for answers but not able to find any solutions.
    The loading works properly if i directly insert the xml file in the code and the swf's in the XML file play propertly. The below is the code for the same:
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.net.URLVariables;
    stop();
    var cons_xml:XML;
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.load(new URLRequest("mainOpenEndedXML.xml"));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(evt:Event):void
              cons_xml = new XML(evt.target.data);
              gotoAndPlay(2);
    Any help on this would be greatly appreciated

    Yes. you already said that, but I guess you don't understand what I said.  You are loading the PHP fle to get the filename, but nowhere are you taking that filename and loading the file that was named. 
    You need to do two loading operations.  The first one to get the filename, and the second to load the file with that name.  Maybe if you name the PHP file loader phpLoader instead of xmlLoader it will start to make more sense to you.  Something like the following...
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.net.URLVariables;
    stop();
    // Define the PHP file to be loaded
    var phpFile:String = "http://localhost/webassist/test.php";
    var phpLoader:URLLoader = new URLLoader();
    // Specify dataFormat property of the URLLoader to be "VARIABLES"
    // This ensures variables loaded into Flash with same variable names
    phpLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    phpLoader.load(new URLRequest(phpFile));
    phpLoader.addEventListener(Event.COMPLETE, processPHP);
    function processPHP(evt:Event):void
             var xmlLoader:URLLoader = new URLLoader();
             xmlLoader.load(new URLRequest(String(evt.target.data.fileName)));
             xmlLoader.addEventListener(Event.COMPLETE, processXML);
    var cons_xml:XML;
    function processXML(evt:Event):void
              cons_xml = new XML(evt.target.data);
              gotoAndPlay(2);

  • Flash CS5.5: Loading XML-file causes a "Security Sandbox Violation"

    Hi,
    after upgrading from CS3 to CS5.5, i get a "Security Sandbox Violation" when loading a XML-file. With CS3 everything was fine, but now my file is not working any more. The XML-file and my SWF-file are stored in the same directory and it nether work local nor on the webserver.
    I don't know the correct message in english, but flash tells me something like:
    "Security Sandbox Violation"
    access to file:[]data.xml disconnent - not allowed from file:[]myfile.swf
    Why am I not allowed to load an XML-file from the same directory/domain any more? And how can I get my data into my flash-File now?
    It doesn't seems to be a Flash-Player-Problem, because an older version with the same code still works. So the problem has to be located in Flash CS5.5
    Can anybody help me? Thanks a lot!
    Sonja

    Please ask such questions on the product specific forums. It is highly doubtful that anyone wil lsee it here.
    Mylenium

  • Binding XML file Dynamically

    Can I bind a xml file dynamically to a form? say, bind to a different xml file after user select a value from a drop down list in the form?how to do it? Thanks.

    I think it's best to create different XPD files for each language and add an XML tag <language>countryCode</language> to your XML dataset and XSD file. this way you could tell the workbench to use a different xpd file for generating the PDF file.
    Anyway if you want to load an XML file from your local filesystem you should check out this URL: http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm it shows you how to read & write files using javascript.
    The problem you'll be facing is editing the binding and reading + validating the given XML file. Especially validating the XML vs the XSD file used in the designer will probably cause a few errors, yet this is highly recommended in order to make sure you're not modifying your PDF with the wrong (or even malicious) data.
    Security-wise i would not implement it your way but make a different XPD file for each language. In the LiveCycle Workbench you can select the correct XPD file based on the data you provide. Then it's just the user who needs to specify his/her language and your pdf is always build correctly. Yet I do not know if this is applicable to your situation and/or needs.

  • Binding Xml file with Xsd Schema

    Hello
    everybody there.
    I am trying to make an application where word files are converted into xml.
    For that i have used org.exolab.castor and org.apache.poi.hwpf.
    Now the problem is that i was able to generate the xml file from word, but when i am binding it with XMLSchema.xsd following error is coming.
    java.lang.IllegalArgumentException: getSimpleType: the simple type 'formChoice' is not a built-in type as defined in XML Schema specification.
         at org.exolab.castor.xml.schema.Schema.getSimpleType(Schema.java:1289)
         at org.exolab.castor.xml.schema.Schema.addSimpleType(Schema.java:583)
         at org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(SchemaUnmarshaller.java:643)
         at org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endElement(Sax2ComponentReader.java:198)
         at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392)
         at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
         at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
         at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
         at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:430)
         at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:485)
         at TempHwpf.<init>(TempHwpf.java:35)
         at TempHwpf.main(TempHwpf.java:44)the code for binding my xml file with xsd schema is as under:-
    SourceGenerator sourcegen = new SourceGenerator();
    sourcegen.getVersion();
    System.out.println(sourcegen.getVersion());
    sourcegen.generateSource("XMLSchema.xsd","packagename");I have checked XMLSchema.xsd file, in that formChoice is already defined, than also error is coming.
    can anyone help me out. first i thought that XMLSchema.xsd which i have is not proper, but i downloaded it again from w3c.org,
    than also same error is shown.
    please help me out.
    waiting for reply.
    milind

    Please do not double-post. http://forum.java.sun.com/thread.jspa?threadID=5134447&tstart=0
    Then use Stax (Woodstock) or Saxon.
    - Saish

  • InsertHTML won't work with XML files

    I am trying to create a command that writes text to an open
    XML file. The command I've created works fine under some
    circumstances but not others.
    It works if I open an XML file and apply the command without
    editing the file. If I make any edits to the file manually and then
    apply the command, it doesn't insert anything.
    It works fine with HTML files in design view, but in code
    view, if I make any edits and then run the command, nothing
    happens. If I switch to design view and back again, the command
    then works fine.
    I tested the built-in Dreamweaver command "Flash Text" on an
    XML file (after editing it so it could be used with an XML file),
    and the same problem occurs with this command when using it on an
    XML file. The problem didn't occur with HTML in code view, though.
    Below is the .JS file for my command. The corresponding HTML
    file contains only an empty form.
    function canAcceptCommand() {
    return(true);
    function isDOMRequired() {
    return false;
    function commandButtons()
    return new Array( MM.BTN_OK, "cmdOK(); "
    , MM.BTN_Cancel, "cmdCancel();");
    function cmdOK()
    var theDOM = dw.getDocumentDOM('document');
    theDOM.insertHTML("test", true);
    window.close();
    function cmdCancel()
    window.close();

    I need a function, though, that will insert text at the
    cursor location in an open file.
    I'm also discovering that the command I created above
    functions erratically even when it does deign to insert the text in
    an XML file. The text is usually inserted somewher other than where
    the cursor is located.

  • Can't load xml file

    i'm trying to load an xml file like "folder/xml.xml", it works fine in my computer but i uploaded files to a host and it didn't work, flash didn't read xml file. I need a solution.

    You should consider your path from your index html path. so when you refers from the desktop it works but from html you should define the path exactly from the location of your base html file.

  • How to update combobox that with xml source binding when xml updated in Powershell

    I'm just newbie to WPF & Powershell. Currently have a Powershell program with XAML UI. Herein a combobox control binding a xml file. The problem lays in how can I update the combobox once xml updated? Thanks in advance!

    Hello sihat,
    I've read some articles about using PowerShell and WPF:
    https://msdn.microsoft.com/en-us/magazine/hh288074.aspx
    http://blogs.technet.com/b/heyscriptingguy/archive/2014/04/06/weekend-scripter-build-a-clock-widget-by-using-powershell-and-wpf.aspx
    It seems the steps are all related to using PowerShell to create WPF UI. As the script comes from PowerShell I would think that PowerShell related forum may much better.
    I will introduce things in WPF, if you want to make UI update based on your source,  the source must implement a suitable property change notification mechanism such as
    INotifyPropertyChanged. See
    How to: Implement Property Change Notification for an example of an
    INotifyPropertyChanged implementation.
    For more details about this WPF scenario, please see WPF databinding:
    https://msdn.microsoft.com/en-us/library/ms752347(v=vs.110).aspx
    If you want to do the same in PowerShell, please consider to post on PowerShell related forum to ask how you can write the same script.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do i use a flash gallery with xml file

    Hi there....
    I am trying to include a flash banner template i have downloaded into my webpage using dreamweaver CS5.
    the template comes with an XML file with it in which you can reference your own images etc..
    I understand how to inclued the Flash object into my webpage by insert-swf- and then navigating to the .swf file...
    what i am having trouble with is understanding how this refereces the XML file in the download pack as i cant find any references to it in the code??
    I am just getting the grey flash box with no images appearing when i hit play etc..
    sorry if this is a really silly question!!
    mart

    If you are using DW to insert the Flash, that could be the problem.  It is not reliable resource in that respect (my opinion, but a shared one). I normally only use Flash to create the code and copy/paste it into my html page.  Did you get an fla file with the set, and do you have Flash?
    What you should do is test the swf file by itself to make sure it works.   Normally you can link directly to the swf file to check that out.  Just type in the url to the swf file and see if it plays.  There may be some other setup required that maybe an accompanying set of instructions might explain.
    Also, if you have a link to the html file you uploaded, providing it here may help in getting things resolved.

  • How to get the number from a xml file to flash as3 Text Box "Get_Days"?

    Hi,
    I have to daily update the number of days finished from the specified days. Say, One work to be finished in 30 days. And the start day is today. So, tomorrow it will be 29 days left. and so on....
    So, instead of reducing one number everyday from the last days number using flash, it will be easy changing in xml file.
    How can I do that?
    I have a simple text box "dynamic text box" and the instance name : "Days_Left". Since I am learner, I cannot make complex projects. I am learning small things with very few lines of code which can be modified using xml files.
    So, Whatever I type in a xml file, it should appear in a text box called "Days_Left".
    Thanks.

    then you can use:
    var currentDate:Date = new Date(); 
    // this is today's date
    var projectDueDate:Date = new Date(2010,11,29); 
    // use whatever date you want for the due date.
    // months are zero-based.  (ie, jan is month 0, dec is month 11.)
    var daysToCompleteProject:Number = (projectDueDate.getTime()-currentDate.getTime())/(1000*60*60*24);
    // this is number of days between currentDate and projectDueDate.  you probably want to round or use days:hours:minutes for your display

  • How to make a save state in the Flash iphone ios xml file?

    Hi, I'm looking for a way of pausing an ipad app, when you press the home button. So if you leave the app, you can come back to
    the place you were at.
    Is there a toggle from within flash CS5.5 that does this? If not is there some AS3 code I can put into my first frame?
    I've seen the code below on a recent post, so I though I'd insert it near the bottom of the XML file. But whenever I modify this and
    republish the FLA, it comes up with errors.
    I'd like a reverse of this code below - instead of exit, pause. and also need to know where exactly to put it?
    "When a user switches away from an AIR application it enters the background and pauses. If you want your application to exit completely instead of pausing, set the UIApplicationExitsOnSuspend property to YES"
    <key>UIApplicationExitsOnSuspend</key>
    <string>NO</string>
    Anyone got a simple solution for this? Thanks!

    It isn't dependent on the AIR in stalled in your system, it's just based on the packager you're using. If you're using a trial download of CS5.5, then the second line of the app descriptor xml should read like this:
    <application xmlns="http://ns.adobe.com/air/application/2.6">
    That would show that it's AIR 2.6.

  • Calling XML file from Flash -- Usage of wildcard characters

    Hi
    We have a Flash file, tabs.swf, (standard tab interactivity) from which we are calling the XML file using the following code:
    myXML.load("tabs.xml")
    We are using this SWF file in many learning modules created using Captivate, FrameMaker, RoboHelp, etc. by just changing the content in the XML file appropriately. The tool creates a different folder for each module.
    Now, the challenge we are having is, there will be cases where we have to use the interactivity in multiple times in the same module. In that case, content developers can change the SWF file name on their own. But they can't change the XML name without going back to media designer.
    Is there a way we can use the same SWF file to call different XML files without manually changing the XML file name every time? We have a standard naming convention for the XML files -- Tab1_<ModuleName>, Tab2_<ModuleName>, etc.
    Any help is appreciated. Thanks.
    Sreekanth

    you can edit the swf's name, and use this._url and the flash string methods to do that.

Maybe you are looking for

  • How to use remediation using Pretest questions?

    Remediation using Quiz questions works fine for me, but.... now I am trying to use Pretest questions in combination with remediation. This has to be on a "per pretest question" base, so NOT at the end of a complete pretest!

  • Photoshop incompatible with mac folders

    My Photoshop CS5 does not like it if I move image files into folders generated on my Mac Book Pro it is only with the HDR & Merge features. If I do not have image files inside the folder generated by my Nikon these features will not function. Has any

  • HINCREMP/Claims Disbursement report

    Hi Experts, I am running this report for disbursement of unclaimed medical allowances; it updates infotype 267 for an offcycle payment. but i want it to update IT 15 for a regular payroll run. Can please some one tell how i can achive this. its very

  • JS-Linter,a static javascript analysis extension for HTML5 Canvas documents in Flash Pro CC

    JSLinter is a  extension for Flash Pro CC for static code analysis of timeline javascript in 'HTML5 Canvas' docs.It helps to detect errors and potential problems in your timeline javascript code . You can download the extension form my blog here http

  • Missing "load all images" in Mail iOS6

    Hello, I missing the option "load all images" in Mail of iOS 6. I use iPod Touch 32 GB 4. generation. This feature is on my iPhone and my iPad, but not on iPod touch. Why not? Greetings, Bernd