ActionScript 2.0 :: Dots On The Map
Dec 26, 2004i 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 Repliesi 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 RepliesI'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.
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 RepliesI want to create animation like this. [URL]I don't know its create from actionscript or only simple flash.
View 1 RepliesI 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 RepliesI 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 RepliesI'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 RepliesI 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].........
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 RepliesI'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.
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 RepliesI 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 RepliesI 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 RepliesYou 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] .....
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 Repliesflash 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].....
Has anyone ever seen or made a 'connect the dots' game done in Flash?
View 14 RepliesI'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 RepliesI 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 RepliesI 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 RepliesI 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 RepliesI 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 RepliesFor 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.
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]...
I am drawing some circles with a bit of code like this:
Code:
for (var i = 0; i<=1; i++){
for(var j = 0; j<= 1; j++){
this.drawMyCircle(radius,i*a,j*b);
}}
//a and b being the gap between the columns and rows
What I would like to do is add some metadata to each point I create, containing the centre coordinates for that dot (e.g. i*q, j*b). I have no idea about this part. Then with an onRelease event on a given dot , I can get the location. I have never dynamically made an event firing object. My goal is to be able to draw lines between two clicked dots. Unfortunately I have to do this dynamically so I can introduce a bit of variety.
So, I have a simple connect the dots game working by drawing lines. The line is drawn when clicking the right dot.However I want to be able to let the user be able to see the line and the line moves to any dot but only draws if clicking the right one.
Code:
this.createEmptyMovieClip("line",1);
line.lineStyle(2,0x000000,100);
dot_array = ["d1", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "d10","d11","d12","d13","d14"];
[Code...
i m making sketch pad in as3 and i have got smoothness issue when i draw a curve but now i am facing serious issue which is "dots are coming when i draw line through mouse movement and make alpha 0.5 or less" these dots are coming with mouse speed variation, i am sending u the code which em using for smooth line
[Code]...
Going from AC2 to AC3. I have made a script that creates a dot (myTag) and a text label (nameLabel) when a button is pressed. Then the user is able to drag and drop the dots. This is what my script does so far. I want the text label to be hidden when dragging and displayed at the place where the dot is when user stops dragging.
Here is my code:
var tagArray:Array = [];
var labelArray:Array = [];
var nameCounter:int = 0
addLabelKnapp.addEventListener(MouseEvent.MOUSE_DOWN, addLabel);
function addLabel(event:MouseEvent):void {
[Code] .....
I've almost got a bit of flash finished, The .swf so-far is here: [URL]. For some reason the file won't attach but the important bit of code I have so-far is below. I need to make a line to literally 'connect the dots', each of which is one end of a movieclip, I know it needs to boil down to ' line x,y, to (movieclipname)x,y, but cannot work it out!
time.onChanged = function() {
if(time.text.length == 4) {
var hours:Number = parseInt(time.text.substr(0,2),10);
hours *= 60;
var minutes:Number = parseInt(time.text.substr(2,2),10);
[Code] ......
I'm trying to plot data from several entities over time. Each entity will have its own line, so there will be several lines. Each line will be connected, but it's important that dots are drawn to represent data.
I'm aware of the linked bar chart, but at initial inspection, I can't seem to find one that offers me the ability to draw the dots. Anyone knows which library has this? I'm open to PHP, Flex, degrafa, whatever else that gets the job done.