insert flash / .swf files

Forum
Last Post
Threads / Messages

voni

Member
Member
Joined
May 9, 2014
Messages
21
Points
0
Mysidian Dollar
0
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?
 
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.
 
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?
 
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
 
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.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top