Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




JavaScript And Flash Communication Problem



I got a really big problem and I'll appreciate any kind of help.
The question is how can I manipulate with a variable that I passed from JavaScript into a dynamic text field?

My goal is to make Flash movie run from certain point (e.g. 10th frame or 2nd Scene) when I click on text link (from HTML page).
Is something like that posible?
I know the way how to stop or play movie when text link is clicked but how can I make flash runs from certain position?
I tried everything that cross my mind but it didn't work.
I can pass the variable to dynamic text field but I don't know the way to make some MC play when variable is passed.

Thanx in advance.



FlashKit > Flash Help > Flash ActionScript
Posted on: 12-12-2001, 03:01 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

ASP / Flash Communication
I want to pass parameters to my flash movie.

Can I do this with the <PARAM> tag in the <OBJECT> tag???

I know I can fetch a URL AFTER flash loads but this is no good for me since the ASP page that creates the Flash Page (with the Object tag) has the information that needs to be passed.

Please email me at: rweaver@movementrecords.com

Thanks

Communication Between BSP And FLASH
Hi

Here is what we are trying to do.

Send 2 values entered in FLASH file to a BSP page.
then the BSP page has to populate the DATABASE with those two values and then return an ok once its done.

I know this can be done using ASP or JSP ..but the problem we are facing is when we recive the values from flash the BSP has to excute a BAPI and then send the result bk to flash.

the way we have Response.Write to send the value bk
is there anything to do the same in BSP??

Any help will be very greatful.

thanks in advance.
Pragathi

Anyone??
[Edited by Pragathi Kanth on 02-20-2002 at 09:54 AM]

Flash And Php Communication?
I am doing something wrong. I am trying to get flash to go request data from a php file. With the following code:

// press button to activate function
magic.onPress = function () {
// ask php for data
this.loadVariables("test.php","POST");
// populate mytextfield with data
mytextfield=data;
};

The php code is as follows:

< ?
echo"&data=test";
? >
What am I doing wrong?

Chris

Flash Communication
Hi !! I have made a html page with two frames.

Now I have placed a movieclip in fram A and one in frame B.

How, or is it even possible, to make the movieclip in frame A to tell the movieclip in frame B to play, stop, etc. ??

Where Is Flash Communication :(
Hi There

Can anyone please help me with flash mx 2004.

How can i open Flash Communication Server MX...

i have all ready tryed to go to <C: programes/Macromedia/flash mx 2004/>

i couldn't find a fold call Flashcom, the only folders i could see is

(Configuration) and (first run)

on the configuration folder here is the folders i have inside there

ActionScript
Dictionaries
Icons
Players
ComponentFLA
Flash Lite Bundler
Importers
Templates
Components
HelpSWF
Libraries
Third Party Source Code

Can some one please tell me where is Flash Communication Server MX
i have downloading a chat room and it ask me to creat a folder on Flash Communication Server MX install directory>/applications/

OH by the way i have also instal start flash media admin server 2.
i still dont know where is flashcom

Please help me

[F8]PHP-Flash Communication
Problem: Flash picture and it gets the coordinates (where to jump) from PHP.
For example: Picture is 1000*750 and the flash is only 200*100. So I don't know what I've to do.

Communication Between Flash & C++ On MAC OS X?
Hello All,

I am using MAC OS X 10.4.X to develop my application.

I want to communicate between flash & C++(which is container app for .swf), the data(in string format) transfer should be vice-versa i.e. from C++ to flash & from flash to C++. How can I do this? Any APIs to complete this functionality such as ExternalInterface/XMLSocket/SharedObject etc.? Which will be the best? Is it possible to communicate directly with the flash of the web-site from C++?

Any help is greatly appreciated.

Thanks in advance!

Example For Flash To Php Communication.
Just i want to know how to pass a variable from flash to php.

Communication Between FMS And Flash
Good day to all you geniuses,


I have been working for a couple of years with AS2 and now am required to start using FMS, of which I know nothing.

My task is simple I believe, I need the user's swf to get access to the FMS stats. I found functions such as "getServerStats()", "client.getStats()" etc... but can't seem to find how to recieve the info.

Basically I need the client to know how many other users are connected, and build a waiting cue. It doesn't seem very complicated, but as I said, I can't get the swf to recieve the info.

Any help would be very welcome.

Thanks,

David

[F8] Flash And PHP Communication
Hello.

I am starting a big project and I would like an important advice about flash and php communication.

There will be at all time an ongoing communication between flash and php and I would like to know what is the best and most efficient way to make this.

Some examples of the types of data: user registration data, user personal account preferences.

Any example or tutorial would be helpful.

Thank you.

Flash 8 C++ Communication
Hi, I would like to use ExternalInterface to communicate between a Flash movie and a C++ program. The Flash movie will be an ActiveX control within the program. To use ExternalInterface to make function calls between the Flash movie and C++, do I need Visual Studio.NET? I currently have Visual Studio 6. Thanks.

Flash Vc++ Communication
Hi ,

Flash and VC++ communication , exchanges data between flash and vc++,.
Please help out with a code example.


Thanks
Sri

VB.net, Flash 8 Communication
Help me please,

please find the vb.net coding I want to assign the value of the selected font to an action script variable to dynamically change the font on a .swf movie.

//TO LOAD FLASH MOVIE
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
AxShockwaveFlash1.LoadMovie(0, "F:dynamic_font_loaddynafontload.swf")
Catch ex As Exception
MsgBox("exception occured")
End Try
End Sub

// TO SELECT FONT

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Try
FontDialog1.ShowDialog()
font_selected = FontDialog1.Font.Name.ToString
Catch ex As Exception
MsgBox("exception Occured")
End Try
End Sub

//ACTION SCRIPT CODE TO SET THE FONT ON THE MOVIE
btn_cf.onRelease = function()
{

var myformat:TextFormat = new TextFormat();
font_sel="Arial"
myformat.font = font_sel;
load_font.setTextFormat(myformat);

}


Instead of Assigning the font directly to the "font_sel" variable I want to send the name of the font selected using the vb.net program and change the font on the flash movie.

I am unable to send the value feom vb.net to flash variable so it doesn't want to work

Is this the correct logic

please help me
regards devan

Flash And C++ Communication
Hello,

I'm mainly a C/C++ developer. I have a UI coded in flash (running inside a flash OCX fired up from C++) that is fed it's data using the Setvariable() method of the flash object from C++. On the flash side it's using the watch method to detect changes to the variable and process the data acordingly.
The C++ dialog receives it's data from a different thread in turn, this may cause the thread that executes Setvariable() to execute this method faster than flash may process it. Under high message load, the flash movie freezes while the rest of the app (located in other threads) continues operating.
Is there a way to determine when flash finished processing a message contained in the setvariable method? Maybe using the watch method on flash side is not the best approach. I'm not much into flash but I read that flash provides means of handling events through event dispatchers. Would that allow for messages to be processed asynchrounously, thus eliminating the crashes?
I would very much appreciate any comments or help you might offer regarding this. Thanks,

Sabelo

Flash 8 C++ Communication
Hi, I would like to use ExternalInterface to communicate between a Flash movie and a C++ program. The Flash movie will be an ActiveX control within the program. To use ExternalInterface to make function calls between the Flash movie and C++, do I need Visual Studio.NET? I currently have Visual Studio 6. Thanks.

Flash - JS Communication From CD ROM
I am delivering Flash content (embedded in a HTML page) from a CD-ROM.

The Flash makes calls to JS that is in the HTML (e.g. AS code = getURL("javascript:openGlossary()") )

FF and IE do not seem to be happy with this functionality. Off my HDD, it works fine, but not when the content is burned and played from the CD-ROM.

Any ideas?

Cheers
Alfred

PS: The SWF is made for FP7

AS 2 [F8] Flash And PHP Communication
Hello.

I am starting a big project and I would like an important advice about flash and php communication.

There will be at all time an ongoing communication between flash and php and I would like to know what is the best and most efficient way to make this.

Some examples of the types of data: user registration data, user personal account preferences.

Any example or tutorial would be helpful.

Thank you.

Flash Communication
Hi !! I have made a html page with two frames.

Now I have placed a movieclip in fram A and one in frame B.

How, or is it even possible, to make the movieclip in frame A to tell the movieclip in frame B to play, stop, etc. ??

Flash And C++ Communication
Hello,

I'm mainly a C/C++ developer. I have a UI coded in flash (running inside a flash OCX fired up from C++) that is fed it's data using the Setvariable() method of the flash object from C++. On the flash side it's using the watch method to detect changes to the variable and process the data acordingly.
The C++ dialog receives it's data from a different thread in turn, this may cause the thread that executes Setvariable() to execute this method faster than flash may process it. Under high message load, the flash movie freezes while the rest of the app (located in other threads) continues operating.
Is there a way to determine when flash finished processing a message contained in the setvariable method? Maybe using the watch method on flash side is not the best approach. I'm not much into flash but I read that flash provides means of handling events through event dispatchers. Would that allow for messages to be processed asynchrounously, thus eliminating the crashes?
I would very much appreciate any comments or help you might offer regarding this. Thanks,

Sabelo

PHP->Flash Communication
Problem: Flash picture and it gets the coordinates (where to jump) from PHP.
For example: Picture is 1000*750 and the flash is only 200*100. So I don't know what I've to do.

Flash Communication
Hi -

Is it possible to get Flash Movies to communicate to each other from different locations throughout a LAN (sys1:SWF <-> sys2:SWF)?

Especially not using a browser doing some Javascript for the communication and therefore only playing the movies within a browser-window.

Greetz - Chris.

Communication TO Flash
Hi Guys,

I am looking for the smartest way to establish communication between the html-page and Flash.

The actual problem is: Our agency has many authors that we represent. Of course, each author has his own page. No I want ONE Flash-Navigation to cover all this. That means that some code has to "tell" the flash-film the authors name.

I know that this CAN work with flash-methods via javascript. But it DOES NOT work on IE Macintosh etc., which is ****.

What way would you propose to pass a simple variable to the flash film ? (asp, php etc...)

Thank you very much!

tob.

Communication Between 2 Flash
hi,

i'm actually creating a website of my group, and i have a problem because there is three different flash player, one is the mp3player who is always visible and running, an other is the menu (always visible) and the last one is the video player, whichj is available only when u click on the video part

I would like to make communicate the flash menu and the flash mp3 player in order to make the player in pause when i click on the video part, and relaunch it when i go out of the video part ...

i have made some search on the web, and i found the localconnection method, is it the one that i need ? how to use it in my case ?

thank you

Flash Communication....
can flash communicate with a web server without having the browser its running in doing any posts to the server for information?

Flash And Javascript Communication
Hi,

I would like to call a JavaScript function into my Flash menu. This Javascript function generate an array[][]. Is it possible to get and to work with the result of this javascript function in Flash ?

Any Ideas ? Tk'u

Communication Between Flash And Director
Hi there.

does anyone know of some good articles or tutorials on how to control flash movies from director (ie director sprites that are imported flash movies).

i am using director 8 an Flash 4. I need to be able to tell my flash sprite to go to a certain frame from Director, and sometimes have a flash-based interface element tell director to do something.

Can anyone help?

hope so and thanks in advance!!

S

Communication Between Flash Files
hi.

the following problem:

a browser screen consisting of 3 frames, the upper one is the flash navigation, in the middle there is a database-driven html content frame and the bottom frame again is a flash navigation (w/ search and other things).

now, if one clicks one of the main navigation points in the upper frame, the color of the whole upper navigation "morphs" to another one (ie. form blue to red) - while the html content is loaded.

but the problem is: the additional flash navigation in the bottom frame should also morph its color when the upper one is clicked.

so there has to be some sort of "communication" between them - telling the bottom flash file that it has to react on something whcih has happened on the upper flash file

how can i do this?


thanks,

jomo

HTML To Flash Communication?
Hi everybody?
Any idea on how to make flash jump to an specific frame in a movie by pressing a HTML button?
Please answer ASAP !!!

Thank you very much !!
Best regards,
Strato

HTML To Flash Communication?
Hi !
Any idea on how to make a HTML button make flash jump to a specific frame by pressing on it?

Pls, write ASAP !!
Thank you very much!!

Best regards,
Strato

Flash Communication Ports
I am experiencing firewall issues when testing flash movies that have been built and tested inside our "sandbox".

The movie appears fine, but any server communication seems to be blocked. Please could someone tell me the ports flash is likely to attempt to use so i can get our systems guys to open them.

Thanks!

New Flash MX Communication Server Bug
Hi anyone tried the new Flash MX communication server trial , cause when I installed it the suggested components that must show up in the Flash authoring tool were not there ...I tried it on a several computers with the same result.

Flash Communication Server
What the hell is this. Another version of flash. I spent over 500 dollars when MX first came out, excited about the possibility of video conferencing development, and it turns out you need this new version to do this. Please tell me I am mistaken. If I am not, to hell with Macromedia. This is the kind of crap that makes people down load software illegally.

Is there a way I can create video conferencing with the current MX and use another type of server software to connect applications together?


Concerned, broke, and pissed,
troy

Java And Flash Communication
Hello

I wonder how to make a javascript write to an dynamic text field in flash. I have a script writing to an html form and textfield. thanx for any help. rolf

Communication Between Flash Files
i have two flash files (a&b) located in the same html document and i am trying to get a button action in (a) to start a movie in (b)...

any help would be greatly appreciated...

thanks,

james

Flash Communication Server
Is there anybody out there who is or has developed anything in flash communication server, I am interested in what people are doing with it, and would love to see some URL's.

cheers

lee

Flash And Javascript Communication
hi there... working on jamming my head filled full of knowledge of all things javascript and flash related. specifically throwing variables back and forth, not just pop up windows..

if anyone has any good links relating to flash/javascript communication via a web page id appreciate looking through them..

thanks!
d

Flash - Director Communication
Hi,
I'm working on a project built in director with some Flash Assets. I have worked out how to get / set variables in Flash from within Director, but I was wondering if there is a way for flash to get the value of a variable from director.

Any ideas folks?

ta

PBH

Communication Between Flash Movies?
Hello,

I would like to have two separate Flash movies on my page but would like them to be able to interact.

For example I press a button on movie1 which causes movie2 to go to a specific frame or play a certain MC.

Can I make my separate .swf files communicate between each other?

thanks,

Goldpan

Using Flash To Communication With LEGO RCX
Hi,

Is there anyone know how to use Flash to communication with LEGO RCX? I want to create a web interface to download code and control the Lego motors and sensors. What I have now is a Lego infra-red tower and a RCX unit.

Things I want to do:
1. Click on a Flash 'download' button, via the infra-red tower and download the code onto the RCX unit.
2. Click on a Flash 'run' button, and the motor can move according to the downloaded code in step 1.

Is there any expert can give me a hand please?

Tony

Flash Communication With Html?
I would like to pass variables between a flash movie and outside html pages. Here are a couple examples:

1) Read in values of an html table as variables in flash

2) Have a user enter an email address in flash and hit a button that sends the address to an html form field.

...stuff like that. Is it possible and, if so, where can I learn how. I don't even know where to start so any pointers would be greatly appreciated! Thanks a lot.

Communication Between 2 Flash Movies
First of all I want to say Hi to everyone. I’m not new to this site (thank Flash Kit, you have helped me a lot :)), but today I decided to register in the forum. The thing is that I’m trying to make two flash movies communicate with each other (at least so that one of the swf can talk to the other file (1.swf (select something) --> 2.swf (starts the selected frame))). Hope you understand what I’m trying to do (if not, tell me what, and I'll to make it more understanding) :). I can’t find a tutorial/guide on this so that why I have turned to the forum.

Thanks
Per

ASP-Flash Communication (fla And ASP Attached)
i downloaded a fla from the MM site and it works great. I wanted to modify it a little but can't get it to work. Can someone please see the actionscript and the asp file and correct what is wrong?

What i would like to happen is just send the flash-form contents to an asp file which will send the info back to flash.

the fla file
the asp file

you will need to change guestbook.txt to guestbook.asp for obvious reasons

About Flash Communication Server
When Flash Communication Server was released? The first version I mean.

I couldn't find it on Macromedia site

Thanks in advance

Flash Communication Components
hi there... i have 2 question that i haven't found yet and asnwer... i hope this way i'll find some.

1. I made a live video and i want to add a script that if in 5 secs there is no image playing... to redirect the to another frame, page etc.

2. in the component people list... how can I make if a user click on a user in the list to redirect to a page like:
whois.php?user=nameinthelistclicked?

thx in advance for any input... i'm tying for a while to solve this but i failed... so i hope there it will be someone to know arround here.

george

Flash Communication Server
Does anyone have the code to create a username and password for an online collaboration environment. I am developing a chatroom,whiteboard and video-conference facilities and require code for teachers and students to log-in. I'm quite new to flash and would be grateful for any help on this.

Html To Flash Communication
i'm building a site that utilizes a flash menu but the rest of the page will be straight html. i'm trying to find a way to have the flash menu highlight what section you're in but everytime it goes to a new page it re-loads the menu and it starts from the beginning. is there a simple way to pass a variable from the html to the flash player that would tell the movie to highlight the section of the site the user is currently in?

your help is much appreciated.

Flash HTML Communication
www.catherinebellonline.com has flash navigation and HTML content in an HTML page. How? I need some code help please!!!

Flash And Serial Communication?
Is there anyone who knows the method for serial communication using
Flash? I am working on a class that uses Basic Stamp 2, and we are trying to make it communicate with Flash. We have worked with Basic Stamp 2 and director, but many people in the class know flash more than they know director. Does anyone out there understand what i'm talking about and if it is possible to do with flash?
THANK YOU!!

Javascript To Flash Communication...
Sorry if this is a frequently asked question, but I can't get the search to work and I really need some sort of answer on this.


I have a Flash clip that I'm writing that needs to both communicate with the javascript, as well as receive communication from the javascript. The sending is pretty simple, using the fscommand() stuff.

However, I'm having a huge amount of trouble having javascript call flash. Is there an obvious way to do this? I'd like to also call functions inside of my flash object, but all I find are SetVariable() tutorials, which really isn't what I need....

Is there an alternate way to do this? I don't need to use Javascript--just anything compatible with IE 6.0 (no other browsers, since I'm actually using this for a Microsoft Media Center environment). I just need to achieve communication inside of the flash object, and that's it...


Any help on communicating to a flash object is much appreciated, and excuse me if this is an often addressed issue.
ciao

Communication Between Flash And HTML
Hi,
I'm not sure if this is the right forum to ask this in, but I'll give it a try.

I want to add a preloader for a flash file in HTML. The most obvious way to do this would of course be to add this inside the flash file. However, this is not an option since there are already approx. 200 flash files we need a preloader for.

My next idea is to instead use a gif picture on the HTML page when the flash is loading and then hide it and show the flash file when its loaded. My question is, how can this be done?
Are there any events or properties on the flash file that indicates if the file is done loading? I've added the flash file to the html page like this:

<EMBED id="flashmovie" swLiveConnect="true" src="flashfile.swf" quality="high" bgcolor="#FFFFFF" WIDTH="520" HEIGHT="420" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

Thanks!

/Mats-Lennart

Edit: We're using Flash 5

Copyright © 2005-08 www.BigResource.com, All rights reserved