Home | Community | Message Board


Crestline Sales - MycoPath
Please support our sponsors.

General Interest >> Science and Technology

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
Invisiblep4kSouL
Animals Are Cool
Registered: 01/13/05
Posts: 3,666
Flash Script Help
    #4749023 - 10/03/05 01:45 PM (11 years, 11 months ago)

Ive been to many different forums and noone ever replies my post, I don't know if anyone here knows flash script but I truly hope so, this is pretty important.

This script works for scrolling panoramic pictures but only has one little problem I cannot fix-

onClipEvent (enterFrame) {
if (_root.mainVar == 0) {
homeX = (-_root._xmouse)+800;
} else {
homeX = (-_root.mainVar)+800;
}
thisX = _x;
diffX = homeX-thisX;
if (_root.mainVar == 0) {
moveX = diffX/60;
} else {
moveX = diffX/5;
}
_x = thisX+moveX;
}

The problem is If your on a mac, It detects the x axis (when clicked) even when the mouse is not scrolled over the swf surface. How could you make it so only this script works when scrolled over the swf area?


Edited by p4kSouL (10/03/05 02:10 PM)


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

General Interest >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* Puppy 3.00 Released - A Linux Distro. that will fit on your USB flash drive daba 1,259 10 10/10/07 12:56 AM
by daba
* Flash, usb sound card & alsa
( 1 2 all )
Cepheus 1,417 20 01/29/09 05:57 PM
by arainbow
* Help with Flash Professional 8 NewfoundFreedom 714 1 10/10/05 03:27 PM
by NewfoundFreedom
* Backup Program for Flash Drive? D4NK 898 4 02/15/07 10:16 PM
by D4NK
* flash player is spyware arainbow 404 1 12/16/08 07:08 PM
by supra
* linux shell script help OJK 850 7 05/23/06 02:21 PM
by OJK
* help with a script
( 1 2 all )
supra 1,809 20 11/27/08 04:13 PM
by zouden
* Imagining the Tenth Dimension (Flash)
( 1 2 all )
ivi 2,834 38 08/12/06 02:51 PM
by barfightlard

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Lana, trendal, automan
330 topic views. 0 members, 2 guests and 1 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Magic-Mushrooms-Shop.com
Please support our sponsors.

Copyright 1997-2017 Mind Media. Some rights reserved.

Generated in 0.022 seconds spending 0.003 seconds on 18 queries.