View Full Version : insert flash / .swf files
Is there a way to insert flash / .swf files? I cannot find a way to embed them and when i put the url of a swf file into the image handler the file shows as not available. I tried to put a htcacess file in that disguises the .swf as mp3 but it never worked, any ideas?
IntoRain
06-09-2014, 03:25 AM
If it's in a specific page, did you try adding a Comment() with the html to include it? At least, html tags and javascript code have been working well inside Comment objects for me
i don't know what you mean :(
I meant a swf file for the pets, so i can make a flash image that is more interactive to the user.
Hwona
06-13-2014, 10:41 AM
You want pets that can "interact" with the user? Umm, this might be a bit difficult since the ACP only seems to take .png and those sort of image types for adoptable images...
yes i know, the image handler seems to accept .jpeg, .gif, .png i was asking is there a way to make it, like a code to make it accept .swf files?
Hwona
06-15-2014, 10:33 AM
Umm, I have no idea but you might be able to manually upload the files of certain "species" and if and adoptable is a certain species, you can try changing the code on the levelup and myadopts pages to get and adoptable's type and level and then insert that value into the filename which should have a matching file in a separate folder... (I'm pretty sure you won't understand what I'm saying).
For example:
Put your files in a folder and name them: species namelevel.filename
Edit the myadopts and level up pages to get the function to select an adoptable's species and level.
Put those values in a variable.
The do something like this:
<img src='{$speciesvariable}{$levelvariable}.swf'>
I tried this with a system I'm using. I'm almost 100% sure that there's another way to do this that's 1000 times better, but I barel know any coding... I can maybe try this for you, but I have no idea how an swf file works. XP
Hall of Famer
06-15-2014, 10:55 AM
There is definitely a way, as IntoRain suggests all you have to do is to insert HTML code in a HTML Comment object. Theres no built-in API to make it easier at this moment though.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.