dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: XML pop up window

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    1

    XML pop up window

    Hello Everyone..

    I am new here...its good to have the chance to solve my questions through this forum!

    I have an xml code where it loads images into a 3d Flash gallery...
    Those images are clickable and when clicked they play a .swf file...

    However i need to modify the code to play this .swf file in a pop up window at this size (590x280). Can XML do this? If yes...then how?

    Here is my XML code...

    <thumbnail filename="furniture.png" url="furniture.swf" target="_blank"
    title="Furniture and Interiors"
    description=" View a sample of our Furniture and Interiors Exhibition here... " />
    <link>furniture.swf</link>
    Thanks in advance for your time and help

  2. #2
    Junior Member
    Join Date
    Jun 2010
    Location
    Toronto
    Posts
    28
    You may need to write a JavaScript function which launches a new window with the .swf as part of the query into a custom .swf player window containing SWFObject or whatever Embed you use. Then read back the name of the file and inject it into the window again using JavaScript. That's how I would approach it anyway.

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    29
    As upper said,you can use Javascript SWFobject to embed, then editing in the JavaScript.

    But off course there is other way to solve the problem.

    Which software are you using?

    In fact there are many software that has such setting on resizing the flash, fixing the ulr to be opened in a new window. And also has the JS SWFobject embedding. The code can be even auto generated. (I guess you are using the similar program, you can check it yourself or find help with the support of the program)

    Here are some softwares I know has setting above,

    ultraslideshow.


    flash photo slideshow

    Photo flash maker
    Last edited by jumpjumptiger; 07-21-2010 at 03:52 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center