all groups > flash actionscript > december 2004 > threads for friday december 3
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
making changes to children of an Accordion
Posted by Wand at 12/3/2004 11:18:23 PM
would someone please tell me why the button worked, but a function using the
same code, does not work? I would like to eventually populate a dataGrid (in
the movie symbol 'Grid'), and change its height dynamically. The Accordion is
also to be dynamically populated with data from an XML file. ... more >>
Java script in flash
Posted by Luka at 12/3/2004 11:09:44 PM
Is there a way to execute a Java script from flash without having to place
the swf file onto the html page? Because im trying to execute java script
from projector, does anyone knows how to do this?
Thanks
Luka
... more >>
Movies on Layers
Posted by Lilibeta at 12/3/2004 10:53:02 PM
:confused;
Hello, I am attempting to create a website in Flash. I have several buttons
with links on one layer and I need one of them to: onRelease, run a movie on
another layer. So far I have been able to get the movie to run onRelease but
not on a specific layer. Can this be done and... more >>
Playing layered buttons or movieclips in reverse
Posted by Dusty Bottoms at 12/3/2004 8:59:03 PM
I was wondering if anyone had any idea what type of action script is used in
the flash at this homepage:
http://www.netsuite.com/portal/home.shtml
There are a couple of different flash presentation so you may have to refresh
a few time to get to the one I'm talking about. I am referring to... more >>
mouseovers to show different text
Posted by it3 at 12/3/2004 8:37:22 PM
Hello. I've read up on mouseovers a tad and have found the following code: on
(rollOver) { var body = 'Your text here.'; } on (rollOut) { var body = ''; }
I've read that the text appears in a dynamic text field. In the above code the
variable 'body', is that the instance name of the dynamic ... more >>
Character x and y position into a textField
Posted by Radio at 12/3/2004 7:55:38 PM
Hello guys. Is it possible to find the x and y position of a given character
into a textField? I mean, if I know the position of that caracter in terms of
the total number of caracters, can I find its _x and its _y, like in Director?
Thanks so much. :music;
... more >>
Button effects another movie clip
Posted by name at 12/3/2004 7:52:19 PM
I have a button on the root level and I am loading a movie clip (photos.swf)
into a blank clip. I want to be able to jump to labels inside photos.swf by
using the button. I remember reading about this but have no idea where. Any
help would be greatly appreciated. thanks.
... more >>
Button effects another movie clip
Posted by name at 12/3/2004 7:52:13 PM
I have a button on the root level and I am loading a movie clip (photos.swf)
into a blank clip. I want to be able to jump to labels inside photos.swf by
using the button. I remember reading about this but have no idea where. Any
help would be greatly appreciated. thanks.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
getTimer weirdness
Posted by MGladstone at 12/3/2004 7:32:04 PM
I'm using getTimer to calculate the time between two clicks. startTime = time
of first click stopTime = time of second click timepassed = stopTime -
startTime Theoretically this should work, but I get NaN for timepassed. I
tried a few things and for some reason I can add numbers to stopTime... more >>
Preloader Needed
Posted by eklemen at 12/3/2004 7:14:12 PM
I have a 1 frame, event driven animation Flash movie. The addition of some
audio has brought the file size to 150Kb. I'd like to use a status bar
preloader for viewers with slower connection speeds.
Do I need some type of preloader that will load in my swf file? I read that
this might b... more >>
capturing shift+click
Posted by mediajunki at 12/3/2004 5:15:29 PM
I need a button to trigger an event (easy) AND trigger a different event if
Shift is held (not so easy). I can't seem to find the answer upon Googling.
Any help is appreciated!
... more >>
Create unique objects in a loop
Posted by Laiverd.COM at 12/3/2004 4:59:10 PM
How would I create some unique empty objects in a loop. In everything I've tried thus far the object is overwritten by a new object.
This is what I've tried (not good ):
var numObj = 5;
for (i = 0; i < numObj; i++){
t = eval("obj_" + i);
t = new Object("obj_" + i)
}
Additional question;... more >>
print current frame
Posted by leroyh at 12/3/2004 4:43:56 PM
hi, In short, I have a movie with 3 frames containing a questionairre using
check boxes. I need the user to be able to print out the answers depending on
which frame they are on. My script on (release) {
print(this._currentframe,'bframe'); } The print works but it prints all three
fram... more >>
_global whithout using _global :-)
Posted by Pluda at 12/3/2004 4:32:52 PM
Hello!
I'm developing one multipreloader for external files, but I can't manage a way
to make pass the movieClip name I want to be preloaded to my preloader function.
This works fine, but only for one MovieClip, If I have 2 or 3 this doesn't
work anymore, flash becames confused.
What... more >>
Picture Mask
Posted by klick at 12/3/2004 4:02:21 PM
I want to use a movie clip of a circle to start the transition to another
screen. THe effect is like bubles. here is what I've done; in the frame:
circle.onEnterFrame = function () { i = i + 1; duplicateMovieClip
(_root.circle, 'circle' + i, i); } On the circle MC (Which has been maked ov... more >>
Activate button in movie
Posted by Desemberg Sebastien at 12/3/2004 3:32:35 PM
I have a scene with a button(1) that take up the complete surface area and
is transparent. When you rollover the button it activates a movies with
buttons inside. When you rollout it closes the movie. My button(1) layer is
below the movie layer but somehow the buttons inside my movie are not
act... more >>
new Sound() plays too fast
Posted by brownfox at 12/3/2004 3:03:14 PM
This code is called from a button on the main time line: on(Release){ mySound =
new Sound(); mySound.loadSound('track1.mp3',true); } but the tune plays
ridiculously fast. If I load the mp3 normally into the timeline it plays fine.
The sample rate of the mp3 is kh44.1 Can anyone suggest anythin... more >>
What version
Posted by chowoyman at 12/3/2004 2:36:59 PM
I am learning Flash MX. How can I tell which version of ActionScript it uses? If it isn't version 2.0 where can I find details of new features in AS2.0?
TIA... more >>
Control (or Shift) Key with a mouse click
Posted by PatsRick at 12/3/2004 2:33:43 PM
Here's the problem:
I want to know if a user has held down the <Ctrl> key while clicking the mouse
in a certain area. If not, I provide a "wrong" response. If yes, I provide a
"correct" response. If they click in the wrong area, with or without the shif
or control key pressed, I provide a... more >>
Rich Text Editor
Posted by philliplarsen at 12/3/2004 2:19:18 PM
Hi everyone.
I have a problem that is causing me some real frustration. It involves the
<img> tag in Flash. We're creating a really cool Rich Text Editor in Flash, and
we're including support for images and multimedia. Now what is driving me crazy
is the support (or lack thereof) for the i... more >>
.onPress = function(){ };
Posted by Webstudents1207 at 12/3/2004 2:17:51 PM
Ok I am trying to get this line of code to work. CAbutton is the button I'm
using it for, I am putting this in the script layer of my timeline.
CAbutton_btn.onPress = function(){ };
So where do I add what I want the button to do? What I've tryed is.
CAbutton_btn.onPress = function(goto... more >>
ScrollPane and MouseWheel
Posted by ChanseTurner at 12/3/2004 2:11:44 PM
Hi Guys,
As a newbie with flash, I have searched the forums for some answers on the
ScrollPane and MouseWheel. I could not find the answers to help me.
Can someone please help with the following:
On the help sample script:
mouseListener = new Object();
mouseListener.onMouseWheel = fu... more >>
navigating from a scrolling text field to a scene
Posted by Muhly at 12/3/2004 1:46:07 PM
Hello all, I have a scrolling dynamic text field. Within this text field I
need to have a piece of text (the word 'here'...as in click here) selectable.
I have done this, and rendered the box as html. Now here's the rub. I can
then navigate to an external html file, but how would I just n... more >>
Frame based preloader?
Posted by runaway_vibrator at 12/3/2004 1:44:55 PM
Is it possible to create a percentage based preloader in flash mx that can work
out how much of a percentage of a movie is loaded to a particular frame? This
kinda works but doesn't update that much- I need to work out total bytes to a
certain frame.
_root.loadingtext.txt = Math.round((_fr... more >>
Dynamically Creating a ProgressBar Component
Posted by Chris Hayes at 12/3/2004 1:36:04 PM
Is it possible to generate a ProgressBar component on the fly? If not is
the best solution to just have an external SWF and call it into a
dynamically created movieclip?
Thanks,
Chris
... more >>
Clock using server time not local
Posted by Fresh-Smokey at 12/3/2004 1:06:21 PM
popup from an exe
Posted by dsand at 12/3/2004 11:38:12 AM
Hi all,
how can i open a browser popup window from a executable flash movie(.exe), is it possible?
The flash movies is running on a CD.
Thks.... more >>
Datagrid: Background Color
Posted by ::: robman ::: at 12/3/2004 11:11:06 AM
Hallo all
Any suggestion to make a DataGrid with transparent backround Color?????
setStyle("backgroundColor", "none") doesnt work.....
Thanks in advance
Robman
www.robman.it
... more >>
hide movieclip
Posted by mrmille at 12/3/2004 10:53:45 AM
G-day!
I need to hide a movieclip.
the _alpha alternative wont do the trick since the mc contains buttons and moving it with _x = -10000; feels a bit stupid. Any alternatives?
help!... more >>
same button inside MC, diferent actions?
Posted by ifw at 12/3/2004 10:39:07 AM
Hi, How can I use different actions on buttons which are in a MC??? I mean, it
is inside a mc and when I try to use an actions it takes for all of them. They
should be the same button to work propely I need diferent actions to load
different movies or goto a frame/labels. I tried doClick(), ... more >>
Navigation in multiple movies
Posted by highlander_1 at 12/3/2004 10:14:09 AM
I?m new at this forum.
I have a navigation movie at level0 (total 9 levels) + movieclip (with a
loaded myMovie.swf ) in the movie at level 1.
Now I would like to this:
The loaded movie (myMovie) in myMovieclip go to frame 4 and stop.
How?
And how would a correct search path look lik... more >>
Re: Is this masking with AS?
Posted by nITiNkIlLeRmEeRuT at 12/3/2004 9:39:54 AM
Yeah its simple masking without any actionscript....... more >>
Moveable flashlight?
Posted by Pocco at 12/3/2004 8:54:45 AM
Hi, I have created a flashlight effect by drawing a simple circle on/in a mask
layer. I know want to be able to move "the circle" with the mouse. I know that
I can make an objekt moveable with startDrag ( ) but doesn't I have to convert
the circle to a symbole and if I do that the mask effect ... more >>
LOOK: Real Drag and Drop in Flash
Posted by bluestreak84 at 12/3/2004 6:20:28 AM
Ok everyone knows how to drag and drop in flash right, easy? But in reality if
we wanted to drag and drop from one window [movieclip/button] to another in
flash and have the passed object inherit the new window as a parent it could
get quite trickey, right? I think I may have created a nice ... more >>
flash button under MC?
Posted by plizo22 at 12/3/2004 5:33:38 AM
I got a problem.. Basically I have 3 buttons on the stage... and then I load a
MC above those buttons that covers it but the button actions can still be
called.. Is there a way to fix this without actually removing the buttons from
the stage?
... more >>
Form v. Slide
Posted by doienstudios at 12/3/2004 5:01:44 AM
I recently picked up Studio MX with Flash Pro. It has been years since I've
used it. Some stuff is the same, most is not. I'm wondering, what is the
difference between inserting a form and insertign a slide in a Flash app? I
have been through, and am still looking, in the Help docs, and I hav... more >>
getMinutes() won't store in a variable
Posted by Iriel at 12/3/2004 4:11:19 AM
I'm using MX 2004 and making a script on the main timeline to activate at
certain minutes of the system clock. I have the function started started like
so: _root.onEnterFrame = function() { var Time = new Date(); var
currentMinute = Time.getMinutes(); But when the conditions were met, the ... more >>
GIF into Flash ?
Posted by raymond1960 at 12/3/2004 3:27:06 AM
Help !! Help !! Is there anyway I can dynamic loading GIF into Flash....???
Many Thanks... more >>
GIF into Flash ?
Posted by raymond1960 at 12/3/2004 3:26:58 AM
Help !! Help !! Is there anyway I can dynamic loading GIF into Flash....???
Many Thanks... more >>
Please help.
Posted by thingme at 12/3/2004 3:22:52 AM
I am trying to play a movie clip on the main stage on frame 5 by clicking a
button in another movie clip on the main stage on frame 1. There are actually 3
movie clips on the main stage I am trying to play by clicking 3 different
buttons in the frame movie clip. I appreciate any help you can o... more >>
Projector files function differently local vs downloaded
Posted by pendrag0n at 12/3/2004 3:01:38 AM
I have a Flash file that I publish as an .exe Projector file. The Projector
file pre-loads several swf files as part of the presentation. Everything works
fine when the files are located on a local drive, but when the 'loadmovie'
action has it's path updated to an HTTP:// address and all the... more >>
Content Management Samples/Reference Links
Posted by macmate at 12/3/2004 2:49:16 AM
Hi folks
I'm trying to develop a dynamic Flash site with a news section (include date,
subject & url links) updated by Administrator with web browser. I wonder if
anybody here knows if any sample and reference links regarding Content
Management being developed in Flash with Actionscript. ... more >>
get url at txt with "&" problem
Posted by magnotam at 12/3/2004 2:38:35 AM
Hi ALL
I HAVE SOME PROBLEM WANT IT GET URL FROM TXT FILE WHEN THE URL HAVE "&"
EXAMPLE:
&bannerLink2=/snow/tran.htm&
&bannerLink1=http://club.it.sohu.com/read_art_sub.php?b=search&a=4952&allchildnu
m=0&
I HAVE 2 BANNER LINK BUT TO GET URL FUNCTION CAN'T READ AFTER URL 1 HAVE... more >>
setRGB doesn't work in Flash 5
Posted by MGladstone at 12/3/2004 12:22:00 AM
This code is right out of the help file and it doesn't work. Anyone have some
suggestions? color3 is the name of an MC on the stage. The code works in 7
just fine.
var my_color:Color = new Color(color3);
my_color.setRGB(0xFF0000);
... more >>
|