Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   insert flash / .swf files (http://www.mysidiaadoptables.com/forum/showthread.php?t=4527)

voni 06-08-2014 03:53 PM

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

voni 06-09-2014 06:20 AM

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.

voni 06-13-2014 10:38 AM

is there a way?

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...

voni 06-15-2014 04:22 AM

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.


All times are GMT -5. The time now is 02:36 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.