Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: drag clip and then pass x and y variables in url |
| From: | Thorsten Schmiedel |
| Date: | Mon, 6 Nov 2000 12:46:37 GMT |
hi chad,
you can do something like
'on mouseRelease set variable xCoord to getProperty of draggedObject'
(this is of course not the appropriate syntax; hope you dig it)
to get the coords and then use a sendVariables command... but if you want to
display the coords all the time anyway, i'd rather suggest to use a
two-frame looping movie clip in which you use the aforementioned piece of
code without the mouse-command and use the xcoord-variable as a text-field
to display your current data (mind the variable-path). you can then send the
variables to the url on releasing the mouse.
hope this helps a bit,
thosch
> From: "avex" <list
> Reply-To: flasher
> Date: Mon, 6 Nov 2000 19:59:02 +1000
> To: <flasher
> Subject: FLASH: drag clip and then pass x and y variables in url
>
> Hi everyone,
>
> I want to be able to drag an object, drop in on the screen, set the the x
> and y coords as a variable and then pass it out in the url to a web page.
>
> So far I have done:
>
> on (press, dragOver) {
> startDrag ("");
> }
> on (release, releaseOutside, rollOut) {
> stopDrag ();
> }
>
>
> What can I add to set the x and y position when i release the mouse?
> Also, how do i represent these variables on the page so that they constantly
> change as you move around?
>
> this is my first action scripting, so any help or tips will really be
> appreciated.
>
> kind regards
> chad
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> November 27-29, 2000, LONDON, National Film Theatre
>
> Produced by United Digital Artists and lynda.com
> -Sponsored by Macromedia, Adobe Systems and Apple Computer
> -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
> Register before November 10 and save �200
> http:// www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email help
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: drag clip and then pass x and y v, avex
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

