LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-09-2006, 02:07 PM
0gani 0gani is offline
Registered User
 
Join Date: Oct 2006
Posts: 20
Rep Power: 0
0gani is on a distinguished road
AS2 to AS3 migration problems

Actionscript:
import flash.external.ExternalInterface;
var cookieValue: = ExternalInterface.call("myGetCookie", "yumyum");
if (cookieValue==1) {this.gotoandplay(15)}


This worked perfectly in AS2. But these people have compeletly changed everything with AS3. I get all kinds of errors in AS3. Any help on how to code this right in AS3?

Quote:
ReferenceError: Error #1056: Cannot create property ::cookieValue on global.
at Timeline0_e48252b3c782d46a9f429a26c25bf69/::frame5()
The ExternalInterfaceCall is calling a javascript which gets a cookie called yumyum.


Please help...

Last edited by Scottae : 10-09-2006 at 02:55 PM Reason: Format with AS tags
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visibility AS2 to AS3 unbelievable Newbies 2 11-30-2009 07:18 AM
AS2 to AS3 conversion troubles spirittoons ActionScript 3.0 1 06-13-2009 03:54 AM
help plsss converting this AS2 code to AS3!! dpcdpc11 ActionScript 3.0 4 02-11-2008 09:45 AM
Sandy3D and Red5 Server Attack! - Sandy 3.0 Final Released for AS2 and AS3 Scottae 3D Programming 1 11-13-2007 06:31 AM
Newbie updating from AS2 to AS3 mrgrande Newbies 1 10-02-2007 06:49 PM




All times are GMT. The time now is 08:35 AM.