Localconnection.domain Problems
hello;
I have on frame 1 of the main timeline:
var my_object = new Object();
my_object.my_lc = new LocalConnection() ;
trace( my_object.my_lc.domain() ) ;
but this generates an error when using AS3;
any thoughts?
thanks
dsdsdsdsd
Adobe > ActionScript 3
Posted on: 03/25/2008 03:15:59 PM
View Complete Forum Thread with Replies
Sponsored Links:
Using LocalConnection.domain()
Hello all,
I've been browsing around trying to figure out how to get the full domain (subdomain and all) into a variable. So far I have used:
var LC = new LocalConnection();
var movieDomain = LC.domain();
to get the domain, but that only returns "mysite.com". I am trying to get the subdomain included as well, ie. "subdomain.mysite.com". Is there a way to get this?
Thanks,
Steve
View Replies !
View Related
LocalConnection.domain()
I've been using this to return the domain that my flash movie is live on.
But is it possible to refine this? I would like it to not just return the domain but also to return the directory the flash movie is held in.
Is this possible?
Thanks.
View Replies !
View Related
LocalConnection.domain()
hello;
I have on frame 1 of the main timeline:
ActionScript Code:
var my_lc = new LocalConnection() ;
trace( my_lc.domain() ) ;
but this generates an error when using AS3;
Quote:
TypeError: Error #1006: value is not a function.
any thoughts?
thanks
dsdsdsdsd
View Replies !
View Related
Cross Domain Solution: Could Not Get Bytesloaded Swf External From Other Domain
hello: good evening
I leave my problem here:
I am make a measurer of internet speed that consists one preloader (swf1.swf in www.dominio1.com) who loads a swf (swf2.swf in www.dominio2.com)
The file swf2.swf visualizes perfect in swf1.swf without problems although on swf1.swf it does not take the variables from swf2.swf to show the rate of transference, total remaining time, kb loaded and kb total.
If I use crossdomain.xml on the mother directory of the site, or both sites, the problem it persists.
I need that they indicate to me like making solve this disadvantage
if somebody knows where I can obtain a gratuitous measurer of speed, please, to indicate it:-o
Thanks you very much for all
any questions???
Edited: 01/20/2007 at 11:16:44 AM by juanctkc
View Replies !
View Related
Http://www.domain = OK Http://domain = ERROR?
I have a page that if the URL path in the browser is http://www.domain the page works fine but if the path is http://domain I get that message informaing me that a script is causing it to run slowly and to disable running the script. I really don't understand how to troubleshoot this as it is the exact same page either way. I dont really understand why that can cause flash to malfunction?
Any ideas?
Thanks.
View Replies !
View Related
Bug In LocalConnection() ?
My movie consists of a tree component (functions as a file browser just like windows explorer) and a "placeholder" movie clip, "placeholder_mc". When a user clicks an item from the tree, Two localConnection() objects are created (inside the changHandler function for the tree component). The first lc tells the placeholder_mc movieclip which swf file to load. The second one tells the newly loaded swf what the value of the item that was clicked in the tree component.
The problem is that the second localconnection does not always seem to connect. You can click the same tree item repeatedly and the variable will be passed only about 1 out of 10 times.
Here is the code for the changehandler of the tree component:
function getSiteMap_handler() {
mySender = new LocalConnection();
mySender.send("x8receiver", "onReceive", "sitemap");
mySender.close();
getSiteMap_lc = new LocalConnection();
getSiteMap_lc.send("x8sitemapEditor", "onReceive", x8tree.getSelectedNode().getData());
getSiteMap_lc.close();
}
And here is the rest of the code in the file:
//this lc connects to the 1st incoming lc to determine which swf to load in the placeholder_mc:
myReceiver = new LocalConnection();
myReceiver.connect("x8receiver");
myReceiver.onReceive = function(message) {
if (message == "sitemap") {
loadMovie("x8sitemapEditor.swf", "x8placeholder_mc");
} else if (message == "other") {
loadMovie("x8scriptEditor.swf", "x8placeholder_mc");
} else {
loadMovie("x8default.swf", "x8placeholder_mc");
}
}
stop();
///////////////////////////////////////////
// Here is the code in the "x8sitemapEditor.swf" movie that is loaded if the "message" from the lc is "sitemap":
/////////////////////////////////////
myFile = new LocalConnection();
myFile.connect("x8sitemapEditor");
myFile.onReceive = function(what){
textArea.text=what;
}
////////// There is a dynamic text box called "textArea" that should be filled with the contents of the "what" variable when the message is received.
View Replies !
View Related
Localconnection Or Not?
Hmm, I have a complex (heh, for me anyway) menu problem here I'm affraid...
A button in one swf file has to tell an animation in the second swf file to go and compare variables and play an animation according to the result. So I have the check and "variable creation" system on both the swf files, now I need not to pass a variable to the second movie, but I need to pass a "green light" so the second swf has clearance todo a certain check.
Any help?
Thanks
T.
View Replies !
View Related
LocalConnection
Hello and thanks,
just wanted to know if anybody knew anything about the localconnect function in flash mx?
Basically I want two separate flash movies to talk to each other via this local connect function but there is very little documention about it - none that I really understand anyway...
I have a flash movie in one frame of a frame set and a flash movie in another frame of the same frame set. What I am trying to achieve is for a button in one flash movie to send the playhead in the other flash movie to a given frame(label).
However it is a little more complex than that...
I need the controlling movie(with the butons) to check the playback status of the other movie either by way of checking if the playhead is in motion in the controlled movie or if the play head is stopped at a given frame label.
So...
I need the controlling movie to be able to fire an if statement.
If the controlled movie's current frame is(!!!) then do this...
Else leave it alone.
Its a drop down menu spread across two swfs. I need the menudrop animation to be able to complete its cycle before the user can send the play head to another location on the time line. Once the controlling movie is satisfied that the controlled movie is stopped at a given frame(1,5,11,16,22 etc - these will be safe frames)then and only then can the controlling movie throw the playbck head of the controlled movie to another given frame label.
Ok this is long winded description I know but I guess it needed to be.
Anyone got any ideas about how to achieve this?
I did get it partiall working using some javascript but it doesnt work in n6 and also is dysfunctional in some mac browsers so this kinda makes it a little useless.
any advice will be greatly appreciated
ta
Alex.
View Replies !
View Related
Re: LocalConnection - AS Or JS?
Quote:
maxiesf wrote on 04-02-2003 02:25 PM:
Hey,
I have a 3 frame HTML page with a swf in the top and left frames.
I want to have a button in the left frame swf send a gotoAndPlay message to the swf in the top frame.
Here you go:
Code:
// Left Frame SWF:
_btn.onRelease = function() {
//_btn is the instance name of the button that triggers the event
send_lc = new LocalConnection();
send_lc.send("_lc", "gotoAndPlayFrame", 35);
delete send_lc;
};
// Top Frame SWF
recieve_lc = new LocalConnection();
recieve_lc.gotoAndPlayFrame = function(frame) {
_root.gotoAndPlay(frame);
};
recieve_lc.connect("_lc");
View Replies !
View Related
Help With LocalConnection...
Hello there!
I'm trying to build a module that I can update online from anywhere.
The movie that the user will see, displays some ordinary text in a DTF. To update that text, I'd use LoadMovieNum to load a new swf, on a higher level of course, with an input text field. Whatever I type in that input field should then be displayed in the first movie.
Is this at all possible without serverscripting of any kind. I've been trying to find tutorials on localConnection, but can't find it anywhere. if anyone could tell me if I can use localConnection for this, and how, it would really be a big help.
if you want to see the site, here goes...
www.code-n-tweens.com/demo
The link to go to is "stillingen". I haven't made the "update" button yet, so don't look for it...
View Replies !
View Related
Help With LocalConnection...
Hello there!
I'm trying to build a module that I can update online from anywhere.
The movie that the user will see, displays some ordinary text in a DTF. To update that text, I'd use LoadMovieNum to load a new swf, on a higher level of course, with an input text field. Whatever I type in that input field should then be displayed in the first movie.
Is this at all possible without serverscripting of any kind. I've been trying to find tutorials on localConnection, but can't find it anywhere. if anyone could tell me if I can use localConnection for this, and how, it would really be a big help.
if you want to see the site, here goes...
www.code-n-tweens.com/demo
The link to go to is "stillingen". I haven't made the "update" button yet, so don't look for it...
View Replies !
View Related
LocalConnection() Help :(
Okay ive read over this a million times. but its like i have to learn another language.
all i want is 1 movie to tell to other movie what frame to go to.
can anyone give me a working example of this and where to put each code in the 2 movies?
View Replies !
View Related
LocalConnection?
Hi,
I am having two separate movies & using LocalConnection, I am trying to communicate those two movies and I have succeeded half way. Please see the code to know about my problem.
Movie#1 Code:
incoming_lc = new LocalConnection ();
incoming_lc.methodToExecute = function (param) {
sentMessage.text = param;
incoming_lc.send("lc2_name", "methodToEx", "success")
};
incoming_lc.connect("lc1_name");
Movie#2 Code:
outgoing_lc = new LocalConnection();
outgoing_lc.methodToEx = function(param) {
trace("inside method");
}
outgoing_lc.connect("lc2_name");
buttonInstance.onRelease = function() {
trace("a") \watch here
outgoing_lc.send("lc1_name", "methodToExecute", userMessage.text)
trace("b")
};
outgoing_lc.onStatus = function(infoObject){
if (infoObject.level == "status"){
trace("Successful connection.");
}
if (infoObject.level == "error"){
trace("Connection failed.");
}
}
If I run both the movies and if I clicked the button (buttonInstance) in Movie#2, the result in the Output window is below
a
b
Successful connection.
inside method
The output should be like this:
a
Successful connection.
inside method
b
It seems trace("b") command executes before the incoming LC executes its method.
How I should stop the control until the method finished execution?
Advance thanks
KalViv
View Replies !
View Related
LocalConnection Help
I am using localConnection from my main movie in the middle to change movies on the two sides. The movies on the sides are the same movie but only the one will change. Just to make sure that nothing was wrong with the one I deleted the other to make sure, and the other one did what is was supposed to I am guessing I have to make two movies and send to both but I was hoping to keep the count of movies down. To clear that up I am saying one steals it out of the air and it never gets to the other one - so to speak. Any ideas on a way around this. Thanks
View Replies !
View Related
Localconnection IE Only?
Hi guys, Im using Localconnection on a new site I'm developing so that multiple seperate Flash movies can talk to each other. I have it working perfect in Internet Explorer....
I just tried running it in Netscape 7.2, Firefox 1.0 and Opera 7 and it does not work in any of them!
Pleeeeeaaaaas tell me that Localconnection is not an IE only Flash thing!! My entire site concept depends on communication between movies!
HELP!
View Replies !
View Related
LocalConnection
Hi,
I'm missing something fundamental about LocalConnection. I have 3 SWF's communicating back and forth and seemingly working fine in the local environment, but when I upload to a server, this functionality seems to be lost. Movies are loaded with MovieClipLoader and communication begins onLoadInit, like this:
In sending SWF:
Code:
conClipObject.onLoadInit = function() {
galContainer_mc.removeMovieClip();
galTitle_mc.removeMovieClip();
var lc = new LocalConnection();
lc.send("receiver", "applyLabel", s.labels[s.theLabel]);
lc.close();
delete lc;
};
In receiving SWF:
Code:
var lc = new LocalConnection();
lc.applyLabel = function(ltext){
s.labelTxt = ltext;
};
lc.connect("receiver");
So, in the local environment, I just run the SWF that calls the other SWF's. This same approach doesn't work on the server.
What am I missing?
Thanks in advance.
View Replies !
View Related
Localconnection Mac
Got a strange problem, on www.despikes.com we use localconnection in small swf thumbs to pars data to the larger swf (picviewer) It works fine on PC but on mac it works only for 5-6 pictures. after that it stops working. No idea what goes wrong.
anybody?
View Replies !
View Related
LocalConnection Help...
Hello,
(Flash MX 2004 Pro)
I have built a small text editor that allows a user to create/edit textfields that run on a kiosk. The user can load the text field they would like to edit from a dropdown menu, make changes and save. The load and save functions are done using SharedObject. This part of my project is working fine.
(the text editor will be a separate .swf from the kiosk presentation.)
The problem that I am having is getting the information from one .swf to the other. When the user loads, changes, and saves a piece of text; I am needing it to update in the kiosk.swf.
I have done research on localConnection, but I am still having problems with the second file recognizing the data.
Any suggestions?
Thanks,
TJdub
View Replies !
View Related
Swf To Swf - Using LocalConnection
I was able to get both swfs on the same html page to talk to eachother using LocalConnection.
I am publishing in FlashMX using Flash6,7 plugin.
see it here
http://www.smolenski.com/mindshift/test/test_fl6.htm
But when I publish the exact same .fla using Flash8 it seems that Movie3 looses its ability to talk to Movie4
see here (and see the actionscript)
http://www.smolenski.com/mindshift/test/test_fl8.htm
Thanks for any help !
bobsmo
View Replies !
View Related
How To: LocalConnection And XML
I've done a lot of searching and found I need LocalConnection for what I want to accomplish but it is not simply sending text from one movie into another.
What I have are several buttons on a map that when clicked will pull up an address/phone number for a Distribution Center in that town. If i dump all the addresses and stuff into XML or a TXT file, how can i call the various DC's info into another swf just to the side of it on the same HTML with LocalConnection?
Thanks-
View Replies !
View Related
LocalConnection
Is there a way to initialize a LocalConnection? I have a site that launches "lessons" and games in pop-up windows and then opens a LocalConnection to pass user variables between the two movies. The first time you open one of these the variable don't pass, but then on subsequent trys it works perfectly.
It works the first time running on my local machine and on our network, it's just when accessed over the web that we have this problem. Any ideas? Thanks!
View Replies !
View Related
LocalConnection Help
using localconnection to enable the history use of the browser.
Is there a way to restrict the use to only the current window?
http://www.bsnonline.net/main.php
The main movie in the top frame talks to a hidden movie in the bottom frame using localconnection to send what movie to refresh in the top frame hence refreshing the browser and enabling the history.
Problem is, if there are 2 different browser windows open of our site, the navigation doesnt load anymore.
Is there a way around this?
code for the main movie with conmtains the nav:
receiving_lc.changePages = function(param)
{
//following news/events name convention checks if first digits are numbers
isNews = param.substr(0,3);
if(param == "main")
{
_root.screen.morebg.loadMovie("menu.swf");
_root.ratepage.ratep.gotoAndPlay(2);
_root.ratepage.mailp.gotoAndPlay(2);
_root.ratepage.mailp.mail_input.gotoAndStop(1);
_root.ratepage.ratep.rater.thepage = "menu.swf";
}
bottom movie code:
var sending_lc:LocalConnection = new LocalConnection();
sending_lc.send("pages_lc", "changePages", my_movie);
stop();
variables are passed VIA get to the bottom swf file through php
bottom.swf?my_movie=(whatever the movie we need to load in the main)
thanks.
--oliver
View Replies !
View Related
Need Some Help With LocalConnection
Hi there,
I'm working on a site with frames, where 2 swf communicate by local connection. This is what I've got:
on the sender:
on (release) {
talk_lc= new LocalConnection();
talk_lc.send("lc_hot","goto",15);
delete talk_lc;
}
on the receiver:
listen_lc = new LocalConnection();
listen_lc.goto = function(frame){
_level0.botonera.HotTopics.gotoAndStop(frame);
};
listen_lc.connect("lc_hot");
Can anybody tell me why it doesn't work?
Thanks guys!
View Replies !
View Related
LocalConnection....
I've successfully got 1 move to talk to a seperate movie on the same html page, and I can use a button to 'send' the relevant info.
However, I cannot make the movie send the info 'on load' instead of clicking the button to send it.
This is the code that successfully sends the info and I have it on the button:
Code:
on (release) {
sendingLC = new LocalConnection();
sendingLC.send("showConnect", "myFunction");
}
but if I just put this code on the first frame, nothing happens:
Code:
sendingLC = new LocalConnection();
sendingLC.send("showConnect", "myFunction");
Can anyone tell me what I'm doing wrong.... Thanks
View Replies !
View Related
LocalConnection
Hi,
Could someone get the attached files to work, I want to get one to send variables to another and nothing is happening. They are using actionscript 2.0 on Flash MX 2004.
Thanks
View Replies !
View Related
LocalConnection
I'm trying to setup a Doc Class which deploys LocalConnection,
However, because i have it loading as an external package, i can no longer use incoming_lc.client = this;
How do i know what the name of the object im targeting is?
Quote:
package {
import flash.display.*;
import flash.net.*;
import flash.display.*;
import flash.text.*;
public class MainStageDocCLass extends MovieClip {
public var myLoader:Loader = new Loader();
// create a new LocalConnection instance used to listen
// for calls from a LocalConnection instance from another movie
var incoming_lc:LocalConnection = new LocalConnection();
// create a local connection listening to a connection
// with the name "lc_example"
incoming_lc.connect("lc_mainStage");
public function MainStageDocCLass() {
loadItems("TopNavigation.swf", 0, 0);
trace("MainStageDocCLass.as has loaded");
}
// define an method which will be called when a message
// is sent from a LocalConnection instance from another movie
function methodToExecute(param:String):void {
sentMessage_txt.text = param;
}
// set the client reference of the LocalConnection instance
// to the object containing the method needing to be called
incoming_lc.client = this;
public function loadItems(clip:String, ypos:uint, xpos:uint):void {
var myLoader:Loader = new Loader();
addChild(myLoader);
myLoader.load(new URLRequest(clip));
myLoader.x = xpos;
myLoader.y = ypos;
}
}
}
View Replies !
View Related
LocalConnection [AS3]
I thought passing a string variable via LocalConnection in AS3 would be simple enough, but I can't get it to work for the life of me. Tutorials across the web seem focused on using LocalConnections to communicate from AS3 to AS2, but I can't seem to find any pure examples of just a plain ol' same-domain LC in AS3.
Dear, dear FK friends - what am I doing wrong here?
sender swf:
Code:
var myMessage:String;
var myMethod:Function = function():void {
myMessage = "Message Received";
}
var sender:LocalConnection;
sender = new LocalConnection();
sender.send('connectionName', 'myMethod');
receiver swf:
Code:
var myMessage:String;
var receiver:LocalConnection;
receiver = new LocalConnection();
receiver.connect('connectionName');
myMethod();
myText.htmlText = myMessage;;
Of course, it's also driving me nuts that the receiver swf tells me that myMethod is undefined whenever I publish, but var myMethod:Function; doesn't help, but I don't know if there's a way around that.
As always, any help pointing me in the right direction would be greatly appreciated.
~gyz
View Replies !
View Related
LocalConnection And 2 Swf's
Right I'll explain everything and see if guys can give me the codes for it.
Basically i want to be able to open an swf(2) in an swf(1) so use the loadMovie command and the swf(2) inside the swf(1) will be able to control swf(1) just aswell as if it was part of swf(1), now i can get swf(2) to load inside swf(1) but i can't figure out how to get them to communicate on the level i want. This is what i want them to do. i want swf(2) to be able to change a movieclip inside swf(1) visible and then tell the movieclip to open(loadMovie) an swf(3) so there is then 2 swf's running in swf(1) on different movieclips of course. So if you understand that and i hope you do please help me.
Thanks in advance Astano...
View Replies !
View Related
LocalConnection
just a qucik one again, i am becoming a regula in this place,
can i use local connection over a network, i need 2 advance one movie using a seperate movie, the problem i face is that i need the 2 movies to be on different machines. machine one has the next and back, machine 2 has a slideshow movie, i have tried calling System.security.allowDomain("*") which in theory opens my swf movies for everyone to use but it just dont work! any other ideas?. this is the code i have so far
movie one (controlpannel) i am using a listener so the user just needs to click.
stop();
MouseIsPressed = true;
newListener = new Object();
talkingLC = new LocalConnection();
System.security.allowDomain("*")
listeningLC.aMethod = function(param) {
trace(param);
}
listeningLC.allowDomain = function(){
return true;
}
nextPage = function () {
trace("MouseIsPressed = true;");
talkingLC.send("simple_lc", "comeBack", MouseIsPressed);
};
Mouse.addListener(newListener);
newListener.onMouseDown = nextPage;
movie two (slideshow) nothing more than next and back
stop();
System.security.allowDomain("*")
listeningLC = new LocalConnection();
listeningLC.aMethod = function(param) {
trace(param);
}
listeningLC.allowDomain = function(){
return true;
}
listeningLC.comeBack = function(MouseIsPressed) {
if (MouseIsPressed) {
trace ("pressed")
nextFrame();
} else {
}
};
listeningLC.connect("simple_lc");
so this works fine on the same machine however when i try and do it over a network i get no responce! any ideas
thanks sam
View Replies !
View Related
LocalConnection
I get the following error:
-----------------------------------------
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 624: There is no property with the name 'muteOn'.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 639: There is no property with the name 'muteOff'.
Total ActionScript Errors: 2 Reported Errors: 2
-----------------------------------------
With this code:
-----------------------------------------
var localConn:LocalConnection = new LocalConnection();
localConn.muteOn = function(muteChannel:String) //(Line 624)
{
trace("******************************");
trace("localConn.mute() channel:" + muteChannel);
if (muteChannel == channel)
{
muted = true;
doMuteOn();
speaker_btn.onPress();
}
return;
};
localConn.muteOff = function(muteChannel:String) //(Line 639)
{
trace("localConn.muteOff() channel:" + muteChannel);
if (muteChannel == channel)
{
muted = false;
doMuteOff();
speaker_btn.onPress();
}
return;
};
localConn.allowDomain = function(aSendingDomain)
{
trace("localConn.allowDomain() aSendingDomain:" + aSendingDomain);
return true;
};
localConn.onStatus = function(info)
{
trace("localConn.onStatus() info.code:" + info.code);
return;
};
-----------------------------------------
Any ideas why?
Thanks,
Petro
View Replies !
View Related
LocalConnection HELp
HELLO:
I want to connect one swf with other two. For that i create this method in .fla:
Code:
sender=new LocalConnection();
boton.onPress=function()
{
...
sender.send("conexion","test",x);
}
and in the 2 .fla that are suposed to receive the following:
Code:
receiver=new LocalConnection();
receiver.test=function(param)
{
...
}
receiver.connect("conexion");
My problem is that only one of the two windows receives, the other does nothing...is there any possible way to do what i need without creating 2 different connections??
The thing is that i open the swf in new windows every time the user presses a button, so i need an unique reference to that new window and i don't know how to do that...
THANKS!!!
View Replies !
View Related
AS2 & AS3 LocalConnection Help
I`m trying to run a function in as3 using the loaded as2 swf
so far my code looks like this , but it's not working..giving me an error
ActionScript Code:
//AS3.0
flash.net.LocalConnection;
//to load the AS2 swf
var ldr:Loader = new Loader();
var url:String = "test8.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
addChild(ldr);
//Connection
var receivingLC:LocalConnection;
receivingLC = new LocalConnection();
receivingLC.connect('lc_name');
function methodToExecute(){
trace("connected");
}
ActionScript Code:
//AS2.0
// Code in the sending SWF file
var sending_lc:LocalConnection = new LocalConnection();
mc1.onPress = function(){
sending_lc.send("lc_name", "methodToExecute", "hello");
trace("sending");
}
HELP!!!
View Replies !
View Related
Localconnection.
Hey guys.
I was wondering how do i create a local connection that will beable to send global variables threw it to other swfs that are connected to that local connection..
Example of what i want to do
=========
i have one swf that is loaded on its own which that one is also the one i want the other swfs to connect too.
and when the connection is establish between the ones that are connected to the local connection i want them to receave ne global variables i have setup threwout movie clips in the independently loaded one.
===
well thats what im after, even if u can right me something simple up that wil get me started cause i really need to learn this.
i know localconnection is what i need i just dont know how to set it up properly.
thanks in advanced ne ones help is most appreciated.
View Replies !
View Related
Localconnection - 3 Swf
hi, i can't fiugure out how i can synconize 3 swf files..
in 1.swf i have a slide bar that changes the color in 2.swf and 3.swf at the same time..
is it possible to have 3 swf and play with them via localconnection ?
any ideeas?
thanks in advance
View Replies !
View Related
LocalConnection Help
I am having an issue with the localConnection. I have one movie launching another and then sending info to it. It works fine locally, but through the web it isn't always loading.
Thanks
PHP Code:
_root.homePage.home.onRelease = function(){
buttonString = new String(this);
stringVar = buttonString.slice(16);
play();
};
/**********I know that the above code needs to be read before the localConnections is made, that's why it is not getting the info, but I don't know how to write it or where to begin**************/
//Sending
my_lc = new LocalConnection();
my_lc.send("sendTxt", "onTextConnect", stringVar);
my_lc.close();
delete my_lc;
View Replies !
View Related
LocalConnection: HOW TO?
I have a Flash menu and want the buttons
to open jpg's in another swf on my HTML page.
I searched for "localConnection", but couldn't find
a suitable example.
I also heard this is possible with Javascript.
Can someone point me in the right direction?
thanks!
View Replies !
View Related
LocalConnection
I'm using localConnection to send a frame label to a different movie on the same page. so that the receiving movie plays to a specified frame.
It works on Mac on and off-line, but it only works on pc off-line
View Replies !
View Related
LocalConnection Help
I am attempting to use the localConnection(); command to force seperate swf files to load in the order I want. I cannot seem to get the commands to work correctly. I know this has to be pretty simple. How do I pass a local connection command so that one swf will tell another swf on the same html page to play? Please help. URGENT!!
View Replies !
View Related
LocalConnection & IE7
Hi I have 3 swfs communicating via local connect, works fine 100% of the time in ie 6 and FF, but in ie 7 when you refresh the page the LC no longer works...anyone else run into this?
Suggestions?
Cheers
View Replies !
View Related
LocalConnection
I have a html page in which two movies are embedded "a.swf" and "b.swf".
"a.swf" sends a value to "b.swf" using local connection class.
I have opened two tabs in IE7 and in each tab I have opened this html page.
now in the second tab, when i send value from "a.swf", it updates "b.swf" of first tab instead of updating "b.swf" of second tab.
View Replies !
View Related
LocalConnection
Hello!
I have a question, localconnection is to make connection between 2 swf files, as I do to make the same connection where each swf file this in a different computer within the same LAN?
I appreciate any solution possible
thanks
View Replies !
View Related
LocalConnection Help
*Edited*
Hello hello,
Here's what i'm doing and it doesn't seem to work, can someone tell me why please?
1st movie, a button:
ActionScript Code:
on (press) {function () {myLocalConnection = new LocalConnection();myLocalConnection.send("Incoming", "onRecieve", MyID);myLocalConnection.close();};
where MyID is some variable
2nd movie, 1st frame:
ActionScript Code:
myLocalConnection = new LocalConnection();myLocalConnection.onRecieve = function(theID){_root.test.gotoAndPlay(theID);}myLocalConnection.connect("Incoming");
now that doesn't work so i'm wondering what is wrong...
View Replies !
View Related
LocalConnection
Is it possible to have a mouseover-command, that controls another swf.
So you have swf number 1:
- navigation, with pictures that fade-in and fade out.
- there are 8 mc's
- when you mouseover on the navigation, it will control swf number 2
swf number 2:
- will have numerous pictures which fade-in and fade-out, controlled by the navigation from swf number 1.
- also 8 mc's
How can I do this?
View Replies !
View Related
Localconnection
Here is the tutorial I tried to learn this from:
http://www.actionscript.org/tutorial...ns/index.shtml
Ok, I went through the tutorial. It is now 8:30 in the evening, and I don't get it. I just want to assign a value to a fricken variable. The tutorial only exposes the "comeBack" thing and that is not what i want. I've searched everywhere and I JUST CAN'T find anything about just defining a variable.
So other than :
on (release) {
talkingLC = new LocalConnection();
talkingLC.send("simple_lc", "comeBack", speech);
}
I want somehting like this:
on (release) {
talkingLC = new LocalConnection();
talkingLC.send("simple_lc", "somehowpassvariable", that x = 1);
}
but i can't figure it out and I barely have any hair left.
View Replies !
View Related
LocalConnection: HOW TO?
I have a Flash menu and want the buttons
to open jpg's in another swf on my HTML page.
I searched for "localConnection", but couldn't find
a suitable example.
I also heard this is possible with Javascript.
Can someone point me in the right direction?
thanks!
View Replies !
View Related
|