all groups > flash actionscript > may 2004 > threads for saturday may 8
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
else...if, WHAT?!
Posted by cutandpastestudio at 5/8/2004 9:38:41 PM
Hi There!
I would like some advice here:
I've got a one frame movie,
one layer with a movie clip with a rotating "Q"
on top of that a invizible button that, on rollOn, triggers the Q to start
rotating, and on rollOff, lets the Q finish its rotation and then stop
What I want to, is... more >>
SharedObject ---where is local object stored?
Posted by pazzoboy at 5/8/2004 9:18:11 PM
Okay, so I have this:
_global.so=SharedObject.getLocal("blocks");
so.data.x=new Array(10);
so.data.y=new Array(10:
so.flush(10);
What I'd like to know is where "blocks" is stored? I couldn't find it in my
cookies folders. I'm just curious to see what the file looks like.
... more >>
How can I send a variable to other movie?
Posted by Carlos Gonçalves at 5/8/2004 7:14:14 PM
I have this in a movie
opcao = 1
I want to send it to _level7.
I'm trying to use this:
_level7.opcao=1
Is it ok?
Why didn't it run?
... more >>
how to return array from function I wrote
Posted by spookman at 5/8/2004 6:57:20 PM
I have written a function that uses the split function. I want to return the
array from the split function from the function I wrote. When I do this, it
does not seem to return the array. Below, the loop after I call loadFileLIst
does not run because the array returned from my function is e... more >>
sending email without new window..
Posted by dops79 at 5/8/2004 5:52:13 PM
hi, i'm sure that not possible sending emails without server side script and
relative component. Well, my web site is all created with flash, and now i've
created an form mail (in flash) and send email with asp. This is the code:
mail= new LoadVars();
//variabili post
mail.nome=this.c... more >>
External script
Posted by Graff|ti at 5/8/2004 5:17:41 PM
I want to run an external script, while the movie is playing. The external
script should recieve variables from my movie. The goal is to use a script that
can create folders and write files, so Actionscript is not an option. I'm
thinking Javascript or something like it.
1) Is that possible?... more >>
go to not that simple!
Posted by Garusb at 5/8/2004 5:17:29 PM
ok this thing is pissing me off. Whats going on!!!
ok I have a movie (SWF) called "projects" it is loaded in to a MC called
"Content" which resides in a SWF called "newportsite02"
Projects.swf has a preloader with this code:
stop();
var bt = _root.content.getBytesTotal();
kbt.te... more >>
newlines in mailto - body
Posted by rcmantis at 5/8/2004 5:10:24 PM
I create an email fine with my array plonked into the bdy section, using getURL
& mailto.
My array var has line breaks (newline) in it. they trace fine. How can get
these line breaks to display in an email body?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How 2 center loaded Jpeg (in empty MC) on stage?
Posted by Francesca NY at 5/8/2004 5:07:42 PM
Hi,
I have about 60 jpegs of all different sizes.
I have 60 small buttons on my stage.
I am loading each jpeg into holderMC on the stage using:
on (press) {
holder.loadmovie ("image1.jpg");
}
My questions are:
1) How can i make each jpeg centered on the stage?
2) Do i ... more >>
Text Area, Windows, and XML...
Posted by Dobie01 at 5/8/2004 3:37:33 PM
I'm trying to create a window that contains a Text Area component and the text
is linked to an XML file.
I currently have the XML Connector set up and working. I've got a button that
runs the following code when it's clicked:
var myWindow = mx.managers.PopUpManager.createPopUp(_root,
m... more >>
Preload play in Flash 6 but not in 7. Why?
Posted by Carlos Gonçalves at 5/8/2004 3:30:53 PM
stop();
startper = per._x;
endper = 210;
startrX = right._x;
endrX = 500;
startlX = left._x;
endlX = 270;
startbar = 100;
endbar = 2230;
assessLoad = function (clip) {
var kbLoaded = Math.floor(clip.getBytesLoaded()/1024);
var kbTotal = Math.floor(clip.getBytesTotal()/1024);
percent =... more >>
>> converting to binary <<
Posted by Mr. Geek at 5/8/2004 3:24:37 PM
I'm trying to make a text to binary converter, but I can't get the action
script right.
I can't get the for( command to work and there are some other errors I can't
seem to fix.
Note that alg is a string with the characters I'd like to use.
The code below the converting code is suposed t... more >>
Hit test, If Statement
Posted by chazak NO[at]SPAM sbcglobal.net at 5/8/2004 1:00:50 PM
Hi, Im hoping someone can help with this. Im working on a drag and
drop type matching game using 6 different hit tests. When all the
mc's have been matched up correctly, I want the movie to advance to
particular keyframe on the timeline. I'm guessing I need to use a
conditional statement b... more >>
enable button
Posted by g5604 at 5/8/2004 12:55:45 PM
HI,
sorry about all the q`s having a nightmare today. anyone know how to enable the actions of a button only when an object is dragged over its target area??
cheers,
G... more >>
menu probem while rewiding
Posted by Manoj vn at 5/8/2004 12:55:42 PM
Sir,
I ahd created a menu driven flash file. The code is given below. While i am
going to different scene and when rewinding the movie there, the meny is not
showing its button properties. Can any one can help me?
stop();
m._visible=false;
band._visible=false;
menu.onPress=functi... more >>
record position of dragged object
Posted by g5604 at 5/8/2004 11:10:57 AM
Hi,
is it possible to know the last position of an dragable item, when i move to the next frame it remains in the same position ?
cheers,
G... more >>
Drawing in AS
Posted by Harroy2k4 at 5/8/2004 11:07:32 AM
hi, what I have so far im happy with, apart from on thing. If you take alook
at my fla. you will see it makes randomly drawn triangles move across the top
of the screen. But there is one still one. Is there an way in which i could
remove, or move this one. Also the script I am using to move t... more >>
directory listing
Posted by spookman at 5/8/2004 10:59:19 AM
is there any way from AS to get a list of the files in a particular directory on the server?... more >>
Dynamic Text Width...Problem!
Posted by fernandesfran at 5/8/2004 10:09:58 AM
Hi,
i've been trying to measure the width of dynamic text with the textWidth
property of the textField object without success...
Well, first i set the width to zero:
MC.createTextField("myTF",20,63,0,0,15);
...then i try to set the myTF width:
MC.myTF._width = MC.myTF.textWidth;
... more >>
To crate a menu
Posted by Manoj vn at 5/8/2004 7:03:01 AM
I would like to have a menu button , which is having 'on rolling ' effects and menu items to go to different scenes. Any assistance in this regards will be highly appreciated.
Thanking you
MVN... more >>
Polynomial Factorization
Posted by zeenu at 5/8/2004 5:10:19 AM
Hi,
Here i have an equation for example 7x2y+8xy2+3x2y+2xy2=0 (here
7*xsquare*y+8*x*ysquare......), i want this whole process in script, this
equation will be first from the input text the number will be added to the
output text than on clicking x button the x will appear and than again th... more >>
HELP with Flash Chart
Posted by Ashish123 at 5/8/2004 5:05:44 AM
Hi Friends,
I want to create dynamic multi-series charts in flash (mx 2004). I am using
XML file for generating line chart. I have downloaded one tutorial from the
website where they are generating single line chart. I have tried to work on
the same to get multiline..but just couldnt make ... more >>
Duplicate Movie clip
Posted by Murali.j at 5/8/2004 4:42:21 AM
Hi,
Pls any one can help us
I am developing a Modern puzzle game in FlashMX 2004. In that game loading
sliced images from external resource. Here I am facing a problem.
1. I am having a movie clip in the stage.
2. I am duplicating the movie clip based on number of external sliced im... more >>
why doesn't this code work in Flash Player 7?
Posted by jezzthisisfull at 5/8/2004 2:42:02 AM
Hi, the code below is attached to an unnamed move clip which holds a second
movie clip named "a" centered inside of it. The second movie clip called "a"
just holds a basic graphic...which for purposes of this example could be a
simple 1cm by 1cm square.
The unnamed movie clip (with the ... more >>
Loading Bar
Posted by Nivad at 5/8/2004 2:11:48 AM
How do I add in a loading bar to show what speed and how much the movie has loaded. I have seen this on many flash sites and movies. How do they do it?... more >>
rollOut button actions
Posted by Hunnie at 5/8/2004 2:06:08 AM
I want to create a button so that the rollover and rollout have the same
movements. For example:
on rollOver: the button will move up with a motion tween
on rollOut: then button will move to its original position with a motion tween
I want to generally have smooth movements on the rollOut
... more >>
Navigation without changing movie
Posted by piehead15 at 5/8/2004 1:46:20 AM
I want a navigation menu where the whole movie does not change but just a text box.
I can figure out the action script.
Can somebody help?
... more >>
i can't get my object to call its own methods
Posted by sneakyimp at 5/8/2004 1:15:01 AM
still working on that modal dialog...i am defining a bunch of routines for a
modal dialog object...i can't seem to get my prototype functions to recognize
each other...here's the code...i can't get the callback function to
run....also, if i put the button function assignments in between the
... more >>
CONTROL TWEEN SPEED.
Posted by vshadow at 5/8/2004 12:08:36 AM
I have run in to the most irritating problem ever of my programming career. It
is controlling the speed of a tween! I have tried using actionscript but
because the ._x and ._y properties are rounded in a very frustrating way my
variable speed never gets my MC to the correct finished point (whi... more >>
|