To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > General Help > Scripting & Backend

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-10-2005, 08:41 PM   #1
eagleofdoom
Junior Member
 
Join Date: Jul 2005
Posts: 1
flash / javascript integration kit timeout problem

Hi there

I'm trying out this javascript integration kit for the first time:
http://weblogs.macromedia.com/flashjavascript/

I'm playing with building some os x dashboard widgets using flash and there seem to be some issues with mouse events, but that's another story: I'm basicly trying to use javascript for my buttons, and very simply get my movie to play on click.

I've got it going pretty good, it does what it should but it stops working after a couple of minutes for some reason.

this is the head javascript:

var lcId = new Date().getTime();
var flashProxy = new FlashProxy(lcId, "JavaScriptFlashGateway.swf");

function kickFlash(){
flashProxy.call("playIt");
}

and later on, the flash movie which is inserted using the kit's function:

<script type="text/javascript">
var sample = new FlashTag("tim.swf", 70, 58);
sample.setFlashvars("lcId=" + lcId);
sample.write(document);
</script>


anyone else had this problem?
eagleofdoom is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > General Help > Scripting & Backend

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Forum Jump


All times are GMT -4. The time now is 05:45 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.