ActionScript 2.0 :: Any Way To Mask Interaction Of Dots In Map?
Feb 1, 2007
I'm making this interactive map. It's made from tiles of dots, each turned on or off at run time depending on where the user has scrolled to. The tiles are 9x9 dots and I make the map from an array which is 20x40 in size. The swf then shows what is visible as you scroll over that map with a window which is smaller than a 3x2 tile space. The problem I have is that the dots which fall outside of the proposed viewing window still exist so when your mouse hovers over them, even though they're hidden, they still interact.
Here's a picture: Is there some way to mask the interaction of those dots? Each one's a movie clip. I can hide them visually but that's no good, people can still click on them then without even knowing they're there. I've tried loading the exported SWF into a movieClipLoader but that just automatically spills over like this again.
View 1 Replies
Similar Posts:
Sep 4, 2009
I have two images, one of which lays on top of the other. What I'm trying to achieve is that the user watching the flash can interact by clicking down on their mouse and wipe away the top layer to reveal the bottom image.Obviously this is done through masks, but I don't know how to do it so the user can do it, and it will only wipe away the bits they go over.
View 3 Replies
Sep 10, 2010
I have a startDrag function set up on a loader and mask that when the mouse is down on the loader it drags, when not it doesn't. There is also 2 buttons that control whether mask1 or mask2 is used. What i would like however is when the mouse is down - the area of the loader outside of the mask is visible but only by about 10/20% alpha, that way the user can see where all the image is while dragging. Is this possible? Full code can be seen below and i have attached the zip with the .fla file:
[Code]...
View 2 Replies
Aug 19, 2003
what i am doing is to make something along the lines of the "scriptable mask" tutorial Inigo was kind enough to put up.My idea is to have a large mask behind the whole of my flash site, this masks a colour image with a black & white one (nothing tricky). The image I am using is actually 5 separate images combined, and each is a pic of certain parts of the site.I also have a very basic set of buttons along the bottom... each corresponding to each section.
All I want is to set it up so that when I mouse over the buttons, the _x of the mask moves to correspond with the correct image... really very basic... or so I thought .If anything it should be easier to do than what is in Inigo's tut (where he uses the _x of the mouse to move the mask)... i just cant seem to get it to work with a nice easing effect (its easy to get the mask to simply snap to each coordinate, but I need it to smoothly move).
View 4 Replies
Dec 4, 2009
maybe point me towards a better way to mask. png file is way too big. I have been using the mask layer option to create my own mask around a jpg image by drawing around it on the mask layer. There has to be a fetter and faster way to do this. Is it possible to maybe have a specific color range have an alpha value of 0. Similar to green screening whereas If I put the item I want to clip on a green background flash will auto take out the green for me. and by auto I mean action script maybe. I think this can be done but im not finding it.
how are these guys clipping these images [URL] they have the movie clips set up where the black background on the 3 layers of shoes is getting masked out. When I go into the shoe movie clips I see there is a black background but it just disappears when I go back to main timeline.
View 3 Replies
Apr 8, 2010
ive gotten one movie clip to mask another in the actions frame but i cant seem to be able to mask the flames which are a shape with a movieclip in this as file. im not getting any errors but the mask isnt covering anything look near the bottom at s.mask=mask_mc; there are about 20 "s" shapes spawning per second if that has anything to do with it
Code:
//this package turns an mc into a flaming button that calls a javascript function
package
{
import flash.display.MovieClip;
[Code].....
View 3 Replies
Dec 26, 2004
i want to make g-book!!! guest have to enter name, email, and comments! then he adds dot on the map where he is living!!! maybe some one has good turoal???
View 2 Replies
Dec 12, 2009
I've been slowly teaching myself AC3 - largely using examples from online tutorials and a collection of books I've bought. I can get simple exercises to work, but I'm losing my way when things get complicated.
For example - packages - I am unclear on how these work and interact with my main programming stream. Now I'm getting to the point where this question seems to be coming up all of the time. But, for some reason, I just can't seem to connect the dots.
View 3 Replies
Apr 28, 2011
I have drawn a dotted line for this illustration:how to animated the dots to give the impression that data in this network line is going from left to right?
View 1 Replies
Nov 1, 2011
I want to create animation like this. [URL]I don't know its create from actionscript or only simple flash.
View 1 Replies
Dec 13, 2010
I am working on a flash website built with as3. It works fine when i test it locally. but when I upload it and test it from a remote server, 5 black dots in a row cycle a few times before the preloader starts. this also will happen when I simulate download locally. does anyone know what these 5 black dots are
View 2 Replies
Nov 26, 2009
I was wondering if its possible to mask multiple MC or Sprites under one mask, when using AS3.abc.mask = a;cba.mask = a;something like that
View 2 Replies
Dec 6, 2008
I want to develop a "Join the Dots" game. I am anewbie in flash. I want to let the users join the dots to form alphabetical letters. If they do it correctly, they gain scores.
View 1 Replies
Jun 24, 2010
I'm trying to load a swf file into my main swf. Everything looks fine when I test it with ctrl-enter, but when I open my main swf in a browser it just shows 5 flashing dots where the loaded swf should be.
View 1 Replies
Jan 21, 2011
I have an IK chain of 3 dots. I would like to put random movement on one of the dots 'pt1' so that is randomly bounces around my screen while the other 2 dots follow - something like a snake. However when I put this code on 'pt1' which is a movie clip by the way it simply will not work.
ActionScript Code:
onClipEvent(load){
xDir=1;
yDir=1;[code].........
View 2 Replies
Feb 21, 2004
URL...I'm thinking of haveing the dots move on a path (the line) clockwise. now I wonder: is it do-able in actionscript?I mean, can I set the line to be a path for the dots in actionscript? I'm thinking of something similar to the setMask() function..
View 2 Replies
Sep 3, 2009
just playing around with stuff and i was wondering if i were to make a small internal site... how i'd go about making it so when you enter your password that it came up with those black dots instead of the letters?
View 4 Replies
Nov 29, 2010
I have created a Flash Demo in AS3. I simply need to use the swf file to demonstrate a workflow. The file plays perfectly on my computer however when I sent it to my team, the content was replaced with 5 moving grey dots.The publish settings are at Flash Player 10. My team all have flash player 10 but no cigar.
View 1 Replies
Dec 26, 2011
I would like to have a bordercontainer in Flex, that the user can resize on his own with 8 dots in the top left, top, top right, left, right, bottom left, bottom and bottom right (like MS Paint etc.) Does Flex have a default solution for this, or do I have to write it myself?
View 1 Replies
Oct 3, 2009
You should make a square like shape using 16 dots and rotate that square using geometrical functions.
ActionScript Code:
var rotationRad=0;
function markPoint(xpoint,ypoint) {
graphics.lineStyle(1,0x000000,100);
graphics.moveTo(xpoint-1,ypoint-1);
graphics.lineTo(xpoint+1,ypoint+1);
[Code] .....
View 3 Replies
Oct 9, 2009
I like to call it a 3D engine, it can display triangles in 3D space and make shapes out of it. It works fine except that I have to manually change/remove/insert the coordinates of the points of triangles that make shapes. I would like to have a more practical way of putting dots in 3D space.
View 2 Replies
Jan 13, 2011
flash and at the risk of sounding like an idiot, here goes.My question is:How can I make it so that the stage is divided up into a grid of 4 by 4px spaces that can be filled with a color after a click?So far I have some code that lets you draw a 4 by 4px dot but the dots can overlap because there is no grid:
dot.addEventListener(Event.ENTER_FRAME, do_stuff);
/*dot is a movie clip of a 4x4 black dot*/
function do_stuff(event:Event):void
[code].....
View 4 Replies
Aug 28, 2006
Has anyone ever seen or made a 'connect the dots' game done in Flash?
View 14 Replies
Dec 20, 2006
I've got a question about the efficiency of two functions I wrote that do the same thing. I'm trying to figure out which one to use. The functions draw lines between a series of points, and continually redraw them as the points move. The first function uses the drawing functions in flash.The second function creates an empty movieclip and draws a short line in it, then uses trig to scale / rotate the movieClip to make it fit between the dots.Both work, but as my program gets larger I'm wondering which function would calculate faster.
View 5 Replies
Mar 21, 2009
I made a small .GIF file to show my abilities to my friend and what I can do but when I save it and I open it up on my desktop little red dots appear on the image. I go to import>movie file(to save as an animated gif.) then the red dots appear on the image.
View 1 Replies
Feb 14, 2010
I have seen loads of cool sites with video that have an overlay of dots sitting over the video. I guess this is in part for a design aesthetic, and the other to reduce the visible amount of pixellation from the compression.Can anyone tell me how to create this sort of effect dynamically, or am i going to have to duplicate a million movieclips? And if i do, will this affect performance?
View 14 Replies
Oct 31, 2011
I want to create a splash dots effect like htc wallpaper. So, the dots is shown one by one..randomly. And the transparency each dots are different. Example, I put amount of dot 100 dots. It's shown one by one until 100 dots and if animation finish, it will shown like this.
View 1 Replies
Jan 13, 2010
I am trying to create a flash wich will have multiple dots to indicate locations, on mouseover to these dots a panel will appear on the right hand side showing some related information.
View 1 Replies
Apr 11, 2011
For a multiple choice questions, I would like to format text like this :
[Code]...
I tried with 3 labels in horizontal layout for each lines but it doesn't work for the third case.Now I use tabStops for alignment, it work well, but I can't find how to replace spaces by dots in a proper way.
View 1 Replies
Oct 5, 2009
I am drawing 12 concentric circles, and on each circle I plot dots. When I click on a dot, I need to display a text(I will be displaying usernames).
I have the circles and dots in place. But a funny thing is the mouse events work for few dots and does not for few. I am totally stuck now. Please help. Pasting my code. On running, dots on the left side of the circles show the hand pointer whereas the ones on the right donot work!
[Code]...
View 2 Replies