|
-
LocalConnection help needed
Has anyone used Local connection to control a MC from one swf to the other. I have been able to get this to work by pressing buttons, but i'd like to use the mouse movements instead.
For example:
SWF 1 contains a hitTest area, when the mouse enters the hitTest area, a MC in SWF 2 moves based on where your mouse cursor is in SWF 1.
This is just one example I could think of, anyother suggests on a test file illustating this would be great.
Please and thanks!!!
Last edited by addamtron; 06-02-2006 at 02:39 PM.
-
If you got it once ("I have been able to get this to work by pressing buttons"), I guess you understand how it works. You can put anything in the function that gets fired when the connection is made. and anything (onPress or else) can send the signal. So I don't see where you might have a problem. Functions can have parameters (like the _xmouse and _ymouse of swf1) Functions can also call other functions (like the way the MC in SWF2 moves).
gparis
-
I am having problems targeting the hitArea in SWF 1 from within the function definition in SWF 1.
Right now if I mouse over SWF 2 and them mouseover SWF 1s hitTest area, the MC in SWF 2 will mouse to where the mouse cursor was last, but it won't keep updating according to where the cursor is in the hitTest area in SWF 1.
Thanks for the reply! This stuff is fun and frustrating to get working.
-
anyone got any other ideas? pretty please.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|