Solved

Control flash from javascript

Posted on 2000-02-24
1
146 Views
Last Modified: 2010-04-03
Hello brains,

Here is a hard question for a simple response. I would like to write javascripts that control flash movies (update variables, Telltarget commands)... I can write javascripts that do 'Gotoframe', but i just don't know how to spell to have a variable in my Flash object updated.

Any Idea someone ?
0
Comment
Question by:MaitreTaz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
SuperMario earned 50 total points
ID: 2559734
Two things you need to make sure you're doing:

1) Create a new FlashApi() object - and make sure you include FlashApi.class and all its subclasses.

2) To change a variable's value, just use

MyFlashObject.SetVariable("varName", "value");

I hope this helps you in some way or another!

-Dan
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question