Developer forum

Forum » Development » Flash/xml/embed problem

Flash/xml/embed problem


Reply

I have a flash image rotator that gets it pics from an xml file, the only way I get it to show up on my page

is by embedding it in the page with tag, but that doesnt work in firefox...


I have tried to choose the .swf in the image dropdown, but it did not work, I also tried to choose the html file in the image dropdown.


Is there a special way you have to go when a "flash using xml" is involved?




Another thing is the flash embeddproblem, I usually use FlashObject (AC_RunActiveContent.js), but I cant get it to work.


Replies

 
Nicolai Høeg Pedersen
Reply

Seems like you are doin something the wrong way.


 


What does not work? Does the flash not show? Can it not load images? Is it the wrong size?


 


Alternatively provide a link, and i'll have a look at it.

 
Reply
NP wrote:


Seems like you are doin something the wrong way.




 




What does not work? Does the flash not show? Can it not load images? Is it the wrong size?




 




Alternatively provide a link, and i'll have a look at it.



Hi!


Thanks for the quick reply.


 


I have inserted a flash in a paragraph with the image dropdown, i skipped the xml (just a plain flash) to test and it shows the flash but it is small 100 x 100, when it should be 559 x 170.


 


You can se it here:

http://skapa.net.dynamicweb.se/Default.aspx?ID=101


 


What am i doing wrong?


 


/Andréas




 
Nicolai Høeg Pedersen
Reply

When you build your flash (or what its called when generating the .swf) you can compress the output. When doing so, the header of the file is also compressed. Then Dynamicweb can not read the width and height of the swf and thats why it makes it 100 x 100.


 


So the solution is to not compress the file when its is made, or make your own html to embed the flash. If you embed using your own html, remember to specify an absolut path i.e. /Files/System/Some.swf and not Files/System/Some.swf

 

You must be logged in to post in the forum