tbtlr / gordon

An open source Flash™ runtime written in pure JavaScript
MIT License
1.8k stars 111 forks source link

I can't get seem to make it work on the iphone? #6

Open XODev opened 14 years ago

XODev commented 14 years ago

I visited all your demo files on my iphone and they work flawlessly

I downloaded the javascript file (gordon.js) and droped it on a folder in the root of my site, then after that didn't work i dropped it in the root of my site.

I noticed the downloads section (gordon.js) is a bit different than the (gordon.js) file that is on your server. here; http://paulirish.com/work/gordon does it matter which one i use?

I used one, then the other and both didn't work for me. I also dropped the folder (src) with all the javascripts within it in the same root.

The code i used was: <?xml version="1.0" encoding="UTF-8"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Replace me

Example is the name of the swf file and is located in a folder named temp the gordon.js file is also located in that folder.

Can you please help me understand how to use the Gordon Flash Actionscript to embed SWF files on my iPhone.

The Swf files were created with Macromedia Flash 8

tbtlr commented 14 years ago

Did you export the SWF file with the correct publish settings? See the "Supported SWF versions" section in the Wiki for more details.

XODev commented 14 years ago

I export the swf file in version 2. I got some msg's saying some things wont function. I replaced the HTML file with a newly created one using Notepad and changing the extension. So i tried it on the iphone safari browser and instead of a blank page, It showed something on my iphone..i don't know what this means.

Parse error: syntax error, unexpected T_STRING in /home/a7130686/public_html/temp/Example.html on line 1.

What does it mean?