469,325 Members | 1,629 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,325 developers. It's quick & easy.

Dynamically calling flash file.

Hi Everyone,
I have a situation here. In one of my websites that im working on, I need to upload multiple image file, this image file can also be a flash movie file. but when im displaying the image it shows using the image tag. but how do i show the flash file. this is being dynamically brought from the database, depending on the file i need to choose the image or whatever is used to display the flash file. Any help or suggestion is greatly appreciated.

Thanks in advance,
Sanjay
Mar 5 '07 #1
3 2357
MMcCarthy
14,534 Expert Mod 8TB
This question is being moved to the Flash forum.

ADMIN
Mar 6 '07 #2
Hi,
I am not much expert still i need to give some suggestion.

u mean to say different formats of image files are there,u are populating it from the database,
see flash files not only contains movie also u can show a static pictures so,u can convert normal picture also as a flash file then populate it as a common with the below code instead of image tag use object tag,

Expand|Select|Wrap|Line Numbers
  1. <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="841" height="86" title="title name">
  2.         <param name="movie" value="file name.swf">
  3.         <param name="quality" value="high">
  4.         <embed src="file name.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="841" height="86"></embed>
  5.       </object>
  6.  
  7.  
Mar 8 '07 #3
Hi

If you want to load image or movie dynamically you can use loader from the components and in the parameters tye the file you want to call and the location
Mar 15 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by kiran | last post: by
2 posts views Thread by Ola Fjelddahl | last post: by
1 post views Thread by Ron Vecchi | last post: by
48 posts views Thread by Michel Rouzic | last post: by
64 posts views Thread by Philip Potter | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.