all groups > flash actionscript > february 2004 > threads for tuesday february 17
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
Urgency for work!! gravity v.s. array
Posted by cainarachi at 2/17/2004 11:58:57 PM
have two movie clips in the stage with the instance name of bola1 and bola2
and i wanted to apply them some gravity
so i?ve put this code in the first frame of the stag
translation: bola = bal
gravidade = gravit
atrito = attritio
... more >>
total newbie question
Posted by Narfie Darfie at 2/17/2004 11:14:53 PM
Ok, I'm a total newbie to programming in flash
I can animate in Flash, but that's all
So, this is my question
How can I add a command to my buttons so that it plays a certain part of movie
(like the buttons fading - lets say frame 5 to 10) and then goes to another
part of my movie (like ... more >>
Please help with follow mouse!
Posted by Maurice.Hason at 2/17/2004 10:49:51 PM
Hello
I have a menu with a movie clip that slides following the mouse, up and down
The code looks as follows
onClipEvent (load)
_y = 0
speed = 8
onClipEvent (enterFrame)
endY = _root._ymouse
_y += (endY-_y)/speed
I need to make this movie clip follow the mouse only ... more >>
dynamic tect and a mask
Posted by cerebra at 2/17/2004 10:27:08 PM
when I use a mask on my dynamic text it disapears is there a way around this?... more >>
Delay/Skip Rollover
Posted by roninDLC at 2/17/2004 10:22:49 PM
I have a menu bar, with a delayed rollover action. That keeps the user from
activating another button by cutting corners. There is one problem with the
code. If the user goes from button 1 across button 2 to button 3, button 2
fires even though it does not have the mouse over it.
Is th... more >>
reusing code on movie clip event
Posted by asiabackpacker at 2/17/2004 9:48:53 PM
i know this is a pretty basic question, but I am having trouble finding an
answer, so please bear with me:
I have a script that is attached to several different movie clips, and is
triggered when the user clicks on the clip. Instead of copying the same piece
of code to every instance of th... more >>
Controlling the audio of external swf's?
Posted by Polarbeast at 2/17/2004 9:45:55 PM
I can work with Sound objects with audio that exists in a movie's library, but
I have an .swf file that contains audio inside it (such as a music loop)
I'd like to load that external .swf file into my base movie using the
loadMovie command. Is there a way to access and control the audio pl... more >>
window size
Posted by s.park at 2/17/2004 9:31:51 PM
I am creating a button in flash to open a new window with no toolbar,no scrollbar and not resizable...
Can I do it with Action Script?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Vexing problem: gotoAndStop method not working
Posted by raylaur at 2/17/2004 9:28:15 PM
I'm using Flash 2004 Pro. Is this version buggy or what
In a frame action, I'm trying to tell a movie clip to go to a named frame
within the clip
mTextBlock.gotoAndStop("text2")
it worked once and then stopped working
I doublechecked the instance name and the frame name and I also ... more >>
refreshing scroll pane
Posted by cerebra at 2/17/2004 9:02:10 PM
Is there a way to dynamically refresh the scroll pane component to adjust to the size of a dynamically created movie clip. ... more >>
Interesting Pass Variables to Flash
Posted by DefaultDave at 2/17/2004 8:54:22 PM
What I am attempting to do in a whole is to create swf files that will be drawn
from several premaid swf's, alls I want to do is change the data (text, images)
inside of them. If I was placing these files online it wouldnt be a problem,
but I am playing them in a specialized program called Sca... more >>
External Actionscript Editor
Posted by Richard Atkins at 2/17/2004 8:11:51 PM
I'm moving into a Mac office where they use BBedit to edit their scripts.
But I'm PC based. What's the best / most common external editor going for
use with MX2004?
Thanks,
Rich
... more >>
help with loadMovieNum and loadMovie
Posted by amikin at 2/17/2004 7:29:28 PM
I've been able to target the items loaded with loadMovieNum by targeting the
level then the clip name, but i'm wondering how I would target functions within
the clip
I'm also wondering how i would target movie clips inside a loaded clip through
loadMovie. ie loadMovie("myClip.swf", "myHold... more >>
dynamic text multiline
Posted by jamesrallen at 2/17/2004 7:11:25 PM
I have text coming in via remoting. I can see the text, however it will not
multiline for some reason. I have checked the height of the text box and set
it to 500 which should be sufficient. Anyone got any ideas? Here is the code
// CREATING HEADLINE TEXT FORMAT /////////////////////////... more >>
help with making media components work with flv
Posted by rbgrrrrl at 2/17/2004 6:50:42 PM
I built a project in MX 6.0 that I published in a projector and burned to CD.
It contained a number of swfs with embedded video clips which the user accessed
by clicking on text in a scroll box in a main template. The text in the
scrollbox used asfunction commands to create links that then cal... more >>
checking concatenated variable's value
Posted by asiabackpacker at 2/17/2004 6:05:05 PM
i have an if statement that reads
if ( "answer" add i == "answered"
It is part of a for loop that is supposed to check the value of
answer1,answer2,answer3,etc.
However, I am unable to return the concatenated value as anything but a string
(ie: '"answer" add i' comes out as the string "ans... more >>
open html in target window from pop-up.
Posted by Jnglmn at 2/17/2004 3:59:04 PM
Ohkee.
Anyone...
I have a html page(mainpage.html) that will open a pop-up with flash inside.
My mainpage is a non frames page.
Now, when i click on a button in my flash, i want to open a new html page in
the mainpage.html, so how can i target a flash button so i opens the url in
a non f... more >>
Capital letter to small letter in Flash MX
Posted by Rokkuman at 2/17/2004 3:38:12 PM
Hi there
I am doing a search tool in Flash MX and using a .xml as the archive
containing the text
At the moment I am using "indexof" as the tool to find a word in the .xml (As
a string) and I can find coincidences using capital letters and small letters.
For example
"Hello my name ... more >>
Recording Audio with Flash?
Posted by grob at 2/17/2004 3:37:04 PM
I believe there is a way to record audio in a .swf file. Can anyone pont me
in a direction to learn how to do this?
Thanks
grob
... more >>
Buttons behaving stangely after ActionScript
Posted by Moemen at 2/17/2004 2:50:02 PM
Welcome...
My problem is this
I made a movie containing an island picture. I have 6 layers containing 6
buttons in this movie. at keyframe 200 , I added the following script for all
the buttons
On Rollover , goto and stop (Frame#
On Rollout , goto and stop (Frame 200
On Press , Got... more >>
Good Actionscript Book?
Posted by Emiliano RodrÃguez at 2/17/2004 2:21:11 PM
Hi!
Would you recommend me any good and updated actionscript book?
Thanks!
Emiliano
... more >>
Date Object
Posted by brokenboxx at 2/17/2004 1:44:28 PM
i was wondering if somebody can help me with the Date Object
i want to make 3 swf that will display (according with the user pc time) in
order from time to time (8 hours
mc1 04:00 to 12:0
mc2 12:00 to 20:0
mc3 20:00 to 04:0
how can i do this
i know that i have to use the date objec... more >>
Selection.setSelection not working
Posted by charleuts at 2/17/2004 1:40:16 PM
I had originally posted this message in the General Forum by accident, but have
not gotten a response. I cannot figure out why the text in my dynamic text
field won't highlight when focus is given to the field? Any help anyone can
offer is appreciated, please see the script below
myTextFi... more >>
Hit Area in Buttons
Posted by Mark at 2/17/2004 12:58:02 PM
I'm trying to build a configurable menu where the user can define buttons
with actions.
The buttons can be jpegs stored locally. Getting the image into the button
is fine but the hit area is not working at all so the cursor never changes
to the hand.
My tests indicate that unless the butto... more >>
PHP & MySQL
Posted by tigerbo at 2/17/2004 12:46:32 PM
Hi all :
I'm currently working on project which consists of a flash(mx) interface, php
server side scripts and a MySQL table. My problem is this: when I query the
databse from the UI, I am returned a number of records (number can vary
dependant on query), what I want to do is dynamically c... more >>
Use part of XML while rest Loads?
Posted by mr_nice_1973 NO[at]SPAM yahoo.com at 2/17/2004 12:24:58 PM
Is it possible to use part of one XML file while the rest of the same
XML file loads in the background? In case the XML is quite long, I'd
like to use the first 5 nodes to display something.
Thanks!... more >>
Load external movie
Posted by Duncan Shepherd at 2/17/2004 12:19:21 PM
I am new to flash and I have no previous experience of programming.
Consequently I am struggling to get my head around action scripting. My current
problem is that I want to use a button to load an external movie (this I have
achieved using 'behaviors'), but I wish the new swf to start part th... more >>
chat
Posted by root at 2/17/2004 10:48:39 AM
anybody have an example of any chat in flash???
or how uses the xmlSocket to do it???
thanks
... more >>
question con d'action script
Posted by Isa at 2/17/2004 10:35:12 AM
bonjour à tous,
j'ai un problème d'action script. J'ai une scène sur laquelle j'ai 5 clips.
Chaque clip est appelé par le précédent à l'aide d'un gotoandplay.
A la fin du dernier clip, j'ai mis un bouton pour rejouer l'anim. Ce que je
voudrais, c'est que ce bouton appelle sur la scène le clip ... more >>
moving box rollovers
Posted by ncartlidge80 at 2/17/2004 10:22:10 AM
I was after creating a menu similar to the one on
http://www.dnastudio.com/index_flash.htm
Where I have a box that moves over the menu buttons as you roll over them, and
also changes shape so it is the same size as the particular button
I am not to bovered about the elasticity effect, ... more >>
Insert break in XML document
Posted by johnny_XP at 2/17/2004 9:51:37 AM
Is there any way to insert a break <br> in xml document as in html? If no is there any other way to insert a new line when send a node value in Flash?... more >>
loading and scaling an external SWF into a movieclip?
Posted by Cindy at 2/17/2004 9:50:50 AM
Hi. I'm sure there's a way to do this easily with AS, but I don't know how.
I'm trying to load an SWF into an empty movieclip instance. I've got that part down pat.
But is there a way to have that mc scaled down using AS, at the same time that it loads? Right now, I have a mc with a
while b... more >>
Storing variables in text files?
Posted by Dello at 2/17/2004 9:19:06 AM
Hi
I'm trying to export variables to a text file, so that the user's settings can be reloaded when restarting the program.
Is this possible?... more >>
getURL
Posted by joonstar at 2/17/2004 8:48:43 AM
I made a button and add an action "getURL(test.html);
When I export it, it made an error saying " Statement must appear within on
handle
getURL(test.html);
What's wrong with it
( I am very new to flash!
Thans in advanc
... more >>
loadVariableNum
Posted by victor-ddt at 2/17/2004 8:24:17 AM
I try to load some variables from txt-file a use them:
loadVariableNum("1.txt", 0);
trace(_level0.var);
1.txt:
var=abc
"Trace" wrote me:
undefined
Why? How can I access variable?... more >>
an fscommand problem
Posted by ELTIGRE at 2/17/2004 7:29:51 AM
i have an .exe file that i want to launch from a swf page, when i use the
on (press)
fscommand ( "exec " , " name of the file.exe ")
nothing is happening and the program does not launch even so my script is fine
and does not contain syntax errors whyyyyyyyyyy
can someone help me ple... more >>
Clip position relative to _root
Posted by Pea at 2/17/2004 7:16:30 AM
Hi all
I have a clip buried deep within other clips, and I want to find its _x and _y
position relative to the _root clip. Is this possible
e.g. I have clips A, B, C and D, all nested within each other. If I find the
position of 'D' from within 'D', its 'D's position within 'C' that i... more >>
Fading In
Posted by TazJaali at 2/17/2004 7:06:46 AM
Hi All
I am reasonably new to Flash, and I am trying to fade some pictures in
gradually, instead of fading the whole picture in at once. It is a bit hard to
discribe what I am after, so I have done a quick diagram for you. Click here
to go and see what I mean
[L=www.jaali.com/images/fa... more >>
Create a MC object in actionscript
Posted by webdg at 2/17/2004 6:21:33 AM
Hi there;
I want create a movieClip in actionscript and load a jpg or swf file to it, ofcourse i can't create a MC in stage and must create it in actinScript.Please help me. (aghaee_webdg@yahoo.com)... more >>
Visual SourceSafe
Posted by arie.vanboxel NO[at]SPAM brightalley.nl at 2/17/2004 4:00:58 AM
We run into severe problems with the Flash MX2004/VSS combination.
It looks simple to set up a working configuration and all works as
expected, but only when there is ONE user.
Since we use the projects for a group of persons, we want to use this
combination also within our group.
Now we are ... more >>
5-second countdown timer
Posted by Hiltonkeith at 2/17/2004 3:40:32 AM
Hi All
I am trying to put a five-second countdown timer on a page that is going to be
redirected. I have seen lots of tutorials on how to read the system clock, but
I don't want the exact number of seconds left in the minute- just want to
display "5", "4", etc
This has proven to be mo... more >>
LoadMovie but keep original sound playing.
Posted by a little ant at 2/17/2004 3:40:04 AM
Hi
I have a flash movie which plays a music loop in the background
When i add a loadMovie ("movie2.swf", "holder"); (which contains no sound) it
stops the music above
I'm new - but can you please advise me how to keep the original music going so
it doesn't go silent when the loadmovie st... more >>
double click problem
Posted by eljefeloco101 at 2/17/2004 2:23:20 AM
I'm having a problem with swf's continuosly loading when a button is double
clicked. If the button is clicked once, it works fine.
When the button is clicked one of several content swfs are loaded into a
movieclip on the root timeline. If a user happens to double-click the button,
say the ... more >>
Strict Data Typing Problem
Posted by CSEd2 at 2/17/2004 1:30:23 AM
I have upgraded a large, old Flash MX movie to Flash MX 2004 Pro. Everything
worked fine until I begin to add data types to my variables. For example, var
x = 20; became var x:Number =20;. Now, nothing works and when I trace these
variables, I just get "undefined", even if I trace(x.toStrin... more >>
drag n drop if > else problems
Posted by cyberdiver at 2/17/2004 1:06:26 AM
I'm new to scripting, so this may be basic. Still I can't figure it out using
the available texts. This is for a drag and drop matching exercise, with
dynamic text feedback. There are multiple options as to where an object can be
placed, and many others where it can't
I just can't seem to ... more >>
I'm having trouble with simple actions (help me)
Posted by MattCthesnohomie at 2/17/2004 12:57:30 AM
First time using flash MX (not 2004
When I apply the Stop action to a frame, it doesnt stop, it just plays right
through it
(example: stop();
it just plays right through it. Als
When I apply the gotoandplay action it doesnt go to it
(example: gotoAndPlay(15);)
Am I missing something ... more >>
how to pass varaible from root to external swf
Posted by adi_c_adi at 2/17/2004 12:44:13 AM
Hello
I have a swf with use: Host.loadMovie("X.swf") to load inside it another swf file.
how can i pass variables form the host to X??
Thanks, Ido... more >>
Basic Script 5.0 vs MX
Posted by Chackazz at 2/17/2004 12:28:16 AM
I own a copy of 5.0 and like the ease of the basic actionscripting and
autocompleting it does (ie you click "onrelease, gotoandplay" it automatically
puts it in the proper syntax) however in the MX trial I recently downloaded it
seems that the action scripting is 100% *manual* having to put ... more >>
Really would like to know how this is done
Posted by SirJames9k at 2/17/2004 12:14:49 AM
[L=Need to know how they did this]http://www.panoramikka.com[/L
When you click on each new section, the new movie comes in over the old one,
but as it is coming in, the old one is still present until the new one has
filled up the screen making for a really nice seamless transition. I really... more >>
Can you overload methods with AS2.0?
Posted by Fallow Ground at 2/17/2004 12:04:27 AM
I was wondering if you could use overloaded methods with AS2.0. I wasn't sure if it just didn't work or I was coding it wrong somehow.
Thx,
Fallow
... more >>
|