Home | Community | Message Board


Marijuana Demystified
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 (12 years, 6 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
* Rotating images + gallery script / HTML & Javascript illustrain 877 2 02/08/13 02:10 AM
by illustrain
* Puppy 3.00 Released - A Linux Distro. that will fit on your USB flash drive daba 1,285 10 10/10/07 12:56 AM
by daba
* Bash Scripting TheMadHighentist 530 11 07/30/13 02:26 AM
by dokunai
* question about enabling java script in google chrome imachavel 275 1 07/10/12 03:34 PM
by imachavel
* Flash, usb sound card & alsa
( 1 2 all )
Cepheus 1,455 20 01/29/09 05:57 PM
by arainbow
* Help with Flash Professional 8 NewfoundFreedom 717 1 10/10/05 03:27 PM
by NewfoundFreedom
* WSH/VBS Scripting cokane 1,147 14 11/04/12 08:43 PM
by cokane
* Flash under linux on a system that should run it. Visionary Tools 1,469 19 05/25/12 10:56 PM
by Visionary Tools

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

Copyright 1997-2018 Mind Media. Some rights reserved.

Generated in 0.063 seconds spending 0.014 seconds on 30 queries and 0.033 seconds on Sphinx.