Jump to content
Search Community

Taha

Members
  • Posts

    2
  • Joined

  • Last visited

Taha's Achievements

0

Reputation

  1. I think I found the problem, here's how I have my directory and game structured: (Screen shot 1.jpg) The first Image: The game is under: Project1/matchGame/index.php Which includes path to the Tweenlite and the Plugins, if I run this file index.php under the matchGame directory, the game works fine and Tweenlite seems to work great! (Screen shot 2.jpg) In the root directory structure: Project1/index.php I have an iframe on line 228 which includes the Project1/matchGame/index.php. The root index.php is the complete website which has one portion showing the game. Now when I try to run the Match Game in an iFrame on the root index.php, the Tweenlites doesnt seem to run, no errors though. The problem was because the root index.php was also importing TweenLite as on line 244, something was going wrong. If I remove the import from line 244 on the root index.php, The game inside the iFrame seems to work fine. But because my root index.php also has some animations so I need the Tweenlite library for that too. The work around that I found was adding and removing the Tweenlite path from the root index.php through javascript. I don't know if iOS 6 has removed sandboxing around iframes or something else, but this was working fine up until iOS5. Let me know if anyone else has similar issues with iFrames. Or if there is a way where I can separate the Tweenlite global object for each page so they don't overwrite each other, that would be great! Thanks much!
  2. Hey Everyone, I'm not sure if anyone else has run into this yet, but I developed a game using JS Tweenlite for a Safari browser for an iOS device. After I upgraded my iOS from 5 to 6, the Tweenlite doesn't seem to run, neither Safari on iOS 6 or Chrome on iOS6, everything works just fine on both browsers on a device running iOS5. Hoping to find a solution from you guys. Thanks much!
×
×
  • Create New...