all groups > flash actionscript > december 2004 > threads for thursday december 16
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
Addressing Symbols Help
Posted by HenryPr at 12/16/2004 11:56:31 PM
Is there any way one Clip/Button instance can ask another Clip/Button instance
what symbol it contains, and then load a different symbol into that instance
ONLY if it contains a certain symbol? So: MovieClip 'Dog' asks asks another
MovieClip (X) whether it contains a 'Cat' or a 'Mouse'. If i... more >>
clicking on dynamic text field to select
Posted by Andy Petroski at 12/16/2004 11:54:35 PM
How do I program a dynamic text field so that if it's clicked on I can get
the text and/or the line number that's clicked. I'm familiar with doing
this in Director, but can't find a good way to get started in Flash.
Thanks for any info you can give me.
Windows XP
Flash MX
... more >>
Checking the validity of a mobile number
Posted by alwaysabitlost at 12/16/2004 11:53:35 PM
I have
if (!Name.length) {
feedback = 'Put your name';
}
How would I check to make sure the number someone inputs is 11 digits long and begins with 07?
... more >>
Loading Slides problem (flash pro)
Posted by Special-k at 12/16/2004 11:32:01 PM
Good evening,
I'm having some issues with flash as I try to integrate my slide presentation
into my master loader.
Basically I use the movieclip loader class to load all movies (the background,
the interface and the content). All content are made from slides.
while in the onLoadInit ... more >>
Dynamic duplicatemovieclip ???
Posted by Icep87 at 12/16/2004 11:03:21 PM
Can anybody help me how i can make a movieclip that duplicates blue ipod mini
after a variabler (nubmer of used ipods)
http://www.icep-design.com/Ipod%20Mini%20Piotr%20Fond.jpg
http://www.icep-design.com/Ipod%20Mini%20Piotr%20Fond.jpg
... more >>
On press fade movie clip
Posted by windsor at 12/16/2004 10:57:14 PM
Hi Im a complete novice when it comes to flash and I need some help. I have a
button and a moviclip. When I press the button I want the movieclips opacity to
gradually fade out. How would you accomplish this. Any help would be greatly
appreciated thanks
... more >>
Help with game please
Posted by megafon at 12/16/2004 10:42:30 PM
this is my code. it is a frame code.
count++;
if ((count > 1) )
{
count = 1;
}
Xpos = Xpos + ((_xmouse - Xpos) / delay);
Ypos = Ypos + 3
duplicateMovieClip ("particle", "particle" add count, count);
this["particle" + count ]._x = Xpos ;
this["particle" + count ]._y = Ypos ;
... more >>
What happened to idiot mode in Actionscripts?
Posted by Fatmat at 12/16/2004 10:07:51 PM
In flash 5 there was a novice mode or something that would stich together code for you. However in Flash MX there's none.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Loading sound
Posted by Fatmat at 12/16/2004 9:50:09 PM
My flash files is about 500k and the sound doesn't start rigth away and waits
till the whole song is loaded. Is there a way to 'stream' the sound, or create
a preloader? Right now I have a very simple preloader, all the objects are
behind a mask in the first frame. Any help? Need to get this ... more >>
Graph in text box
Posted by Coyle at 12/16/2004 9:47:37 PM
I have a text box. The different 'pages' of text itself is contained in
multiple frames in the actionscript. I want to put an image in the text box
with the text in just one of the frames. I have tried using the code: <img
src='http://www.ltdcompanyinc.com/catamount/articlegraph.jpg'> but... more >>
Bullets don't show up in my movie when used in dynamic text
Posted by Doug8867 at 12/16/2004 9:18:26 PM
I've got bulleted items in a dynamic text field, but when the .swf file is
previewed they do not show up and nothing is in their place. FYI, the render as
html option is selected on the dynamic text field. Is there some special code
that I need to include? Thanks for any help.
... more >>
global variables: is the following possible?
Posted by penciline at 12/16/2004 8:48:56 PM
Dear Users: In the following code I am defining a bunch of global variables
when the Movie Clip loads. I am then trying to access these variables in an
onEnterFrame event handler. My Output Window is tracing that the variable is
'undefined'. So my question is, how can I define variables onl... more >>
Creating movieclip instance name from variable
Posted by Mike7222 at 12/16/2004 8:47:35 PM
I Have a draggable movieclip on the stage. When I drop it, I want a new
instance (of the same movieclip) to be made with a unquie instance name and
depth. The new instances dont have to be draggable. The user can then go back
to draggint he origins clip and dropiing it again. If they did anoth... more >>
where's my sound?
Posted by gerzornenplat at 12/16/2004 8:30:35 PM
When I run my file first.swf, it loads on level 0 and its only job is to load
in
another SWF onto level 10. Its single line reads:
loadMovie("second.swf", 10);
The content of second.fla is:
createNewMovieClip("music_mc", 15);
var music_sound:Sound = new Sound(music_mc);
music_... more >>
Load Sound sync problem
Posted by rsmith31 at 12/16/2004 8:26:57 PM
I am creating a virtual tour with a voice over as the guide. Obviously the
spoken words need to match up with the movie that is being played. Here is my
code in frame 1 of the movie: //stop the main movie from playing & load the
sound main.stop(); movLoading = 'audio'; voiceOver = new So... more >>
Fading Movie Clip
Posted by Nebpro at 12/16/2004 8:08:14 PM
I am having problems in creating a fading effect of a movie clip. For example,
there is a movie clip with a black rectangle inside it. If the movie clip is
clicked, the black rectangle will gradually become white.
movieClipInstance.onRelease = function (){
while(this._alpha > 0){
this._a... more >>
Movie Function Problem
Posted by samuelfuller at 12/16/2004 7:33:56 PM
I have a simple program that loads two external movies onto the stage into a
parent clip called StagePictures. I want to be able to go through each frame of
the movies by pressing key commands. I have created a basic model of the
program itself, and need to know what I am doing wrong. When t... more >>
Sound Restarts Problem
Posted by AndyLearningFlash at 12/16/2004 6:43:35 PM
The visual part of the movie is 20 frames long and repeats itself forever.
That is what is should do.
How do I stop the mp3 file from starting again each time the move restarts?
In other words, I wish to have the movie repeat forever but the mp3 file only
play one time then stop. The mp... more >>
hold on frame
Posted by Chris J at 12/16/2004 6:38:20 PM
I know you can do, I can't find how anywhere (I HATE macromedia's "online"
documentation)
anyway, how do you hold the play head on a frame for a number of ticks?
thanks,
cj
... more >>
Radio Button problems
Posted by Kagsy at 12/16/2004 6:28:28 PM
Dear All,
Can someone please help me? I have added 4 RadioButtons to a movie clip to
be subsequently added to an animation, but when I run the swf I don't see
the components, rather I see a rectangle bounding the individual 4
RadioButtons. In the movie I have a button that works properly an... more >>
Repeating Array?
Posted by Kiyokai42 at 12/16/2004 5:49:19 PM
I have a series of movie clips in the library that I want to load on the
stage. All the clips are labeled quote1, quote 2 and so on. The problem is that
I will have like 100 of this movie clips. Is there anyway to place a wildcard
in the array script so it pulls all of the movie clips ? Tha... more >>
function call returns "NaN"
Posted by penciline at 12/16/2004 5:23:18 PM
Dear Users: Thanks for the previous help with constructing a simple function.
Now, I've created a function in a script and called it but for some reason a
variable that I'm referencing returns NaN instead of incrementing as I would
expect. Can anyone tell me what I did wrong? The variable i... more >>
Tracking Video Timecode/position
Posted by jmmaurer at 12/16/2004 5:07:19 PM
:confused;I have a project with several videos that the user can choose
between. I want to track where the user is in the video and have Text and
graphics change based on their present position. I have seen some discussions
about Cue points but none on how you create and set them. If there ... more >>
Is possible to load multiple images to Ram memory?
Posted by Deco Oliveira at 12/16/2004 4:50:08 PM
I need to load multiple images and later theses pictures must be inside the SWF
or Projector until be called for the application. In other words I mean to say
that the first step is to load all jpg images. In second moment I need to
fulfill a grid with some of these loaded pictures. Here it's ... more >>
Loading Multiple Instances of the same SWF File
Posted by gary_stewart at 12/16/2004 4:12:07 PM
Hi there,
I have a SWF file that loads if an event on a form fires, it works just fine
if one event is fired, but on a second form firing the event the first instance
disappears and the second one appears (in the correct place). I tried
duplicating the item once on the form but to no avail... more >>
HELP: flash application failed to connect via socket sometimes
Posted by Wing at 12/16/2004 3:42:20 PM
Hi all,
I've a flash application connect to a server A via socket, if I load
that flash application in my flash website (located in server B),
sometimes it's failed to connect the socket server. but if I load the
application standalone, everytime the connection is successful.
I suspect i... more >>
getURL from a movie?
Posted by Vampmaster at 12/16/2004 3:41:43 PM
I have this men?, I'm trying to modify, but i can't seem to find the gotoURL
within the site. If I publish the movie it works, but it's not done with
buttons ... though it works like if it is, it's done with movies... does anyone
knows how do they embed button characteristics/procedures within... more >>
function won't work
Posted by penciline at 12/16/2004 3:06:36 PM
Dear Users: I have glanced at a couple of tutorials and tried to write my own
function but can't seem to get it to work. What am I doing wrong? Following is
the function I wrote and the error in the Output Window. ----script in frame
1 of main timeline---- function myMove(myParam:String){ ... more >>
Highlighting Text for user
Posted by Crystal Chadwick at 12/16/2004 1:28:33 PM
I have a function written to select the text in a textbox when the user clicks
a certain button. The function is below...
function selections(){
Selection.setFocus(windspeed);
windspeed.Selection.setSelection(0, windspeed.length);
}
The windspeed items is an input textbox that by def... more >>
Stop Streaming FLV File?
Posted by richcoy at 12/16/2004 1:01:17 PM
Hello,
I am creating a Flash site that has one section with streaming flv files. This
is the problem:
The site is built with several swf files, one main one that loads others on
top, one for each section. The video runs in the media player controller just
fine but if you click to go to... more >>
slider map viewer
Posted by subspawn at 12/16/2004 11:50:04 AM
Hi all I'm a designer learning actionscript, and have recently bought Colin
Moocks Actionscript for Flash MX. I have two questions: 1. Is the following
logic sound and efficient? 2. and how do i proportionally resize a movieClip by
percentage? Ok here we go. I'm creating a little map view... more >>
how to control a MovieClip in a Loaded SWF?
Posted by Godinmankeeer at 12/16/2004 11:05:51 AM
Hi Guys, I need your help ...
When i load an external SWF File into a container SWF file, the ext. movie
plays correctly in its own targeted movieclip but all of movie clips inside
external swf doesn't work. I used action ("With") to play them as rolling mouse
over.
Please tell me what sho... more >>
Controlling XML placed co-ordinates
Posted by moondial at 12/16/2004 10:33:07 AM
Hi, I've created a map for a client which plots points on it using pulled in
XML data. At the moment the points are overlapping each other and I need them
to spread out the closer you zoom in which I'm at a total loss with. Ideally it
should do what this map does http://archive.greenpeace.o... more >>
Help with preloading
Posted by gma216 at 12/16/2004 10:05:23 AM
i am currently using this piece of code for my preloader:
stop();
my1Interval = setInterval(preloader1, 10);
function preloader1() {
if (getBytesLoaded() >= getBytesTotal()) {
play();
clearInterval(my1Interval);
}
progressBar._xscale = (getBytesLoaded()/getBytesTotal())*100;... more >>
XMLconnector with PhP
Posted by gratiscam.nl at 12/16/2004 9:13:17 AM
Hi,
I hope someone can enlighten me.
I create a new test.fla with a Label component called SB and an XMLconnector
called Test_sql.
I call the first and only frame Actions and insert the Action script code as
follows.
On a local web server I install the do_mysql.php script in the html... more >>
beginer question
Posted by fleart1 at 12/16/2004 3:42:39 AM
Hi, I have a really great javascript that makes snow. I wanted to put it into
my flash movie. I have a picture I wanted to use of a house and then make snow
fall on it in a swf movie. I need to know how to add the large javascript and
snow flake image to the picture. thanks :cool;
... more >>
tree events not firing
Posted by sneakyimp at 12/16/2004 3:13:36 AM
according to this page, certain events are supposed to be inherited by the tree:
like this:
UIObject.draw
Broadcast when an object is about to draw its graphics.
UIObject.hide
Broadcast when an object's state changes from visible to invisible.
UIObject.load
Broadcast whe... more >>
Optional Arguments?
Posted by lancelott at 12/16/2004 3:06:33 AM
If I have such a function: myFunction(function1, p1, function2, p2,
function3, p3) { function1 (p1); function2 (p2); function3 (p3); } The thing
is, I don't always need to pass all the 3 functions to myFunction, for exmaple,
sometimes I only need to pass function2 and p2 to it. But I don't ... more >>
Add a preloader???
Posted by drasticvm at 12/16/2004 2:50:39 AM
I have a basic loading animation that i want to use as a preloader. Please tell me the easiest way to set up the action script and all that stuff.
-Kyle... more >>
Loading Text File into Dynamic Field
Posted by xtudios at 12/16/2004 2:50:10 AM
I need to know how could I load a text file into a dynamic text field, but that this text field could have html format, links, etc..
Also how can I scroll this text field.
Thanks... more >>
Urgent: Please help me fix this simple preloader
Posted by beema at 12/16/2004 2:24:28 AM
I wrote "urgent" since this project is due tomorrow.
I built a relatively simple preloader for a flash portfolio I am making.
Essentiall, all the preloader does is show a vertically-growing percent loaded
bar and display the percent loaded in text underneathe it.
When I try to play the mov... more >>
setInterval process after movieClip object removed
Posted by jongwon at 12/16/2004 2:20:50 AM
--------------------------------------------------------------------------
class Test extends MovieClip { function traceout():Void { trace('test'); } }
test = new Test(); id = setInterval(test, 'traceout', 100); // returns 5
test.removeMovieClip();
-----------------------------------------... more >>
Video Chat site
Posted by Stevenandai at 12/16/2004 1:45:51 AM
Worldclass V.C is building a new Video chat dating site using Flashcom 1.5
You can see one of our other sites at www.worldclassvideochat.com
We need one very talented action script programmer to develope the front and
backend.
Also will require data base design and working with billin... more >>
Set of seemingly random NaN's
Posted by Horace Freely at 12/16/2004 1:04:33 AM
I'm writing my first flash movie with any real actionscript and this has been
driving me crazy. II'm trying to make a digital clock, and so each segment will
have its own movie clip of the digits.
here's the code. It's not pretty but I really don't understand why getting
through the first ... more >>
One problem down, one to go
Posted by Kiyokai42 at 12/16/2004 12:52:55 AM
I solved the random movie clip problem, but it created another. I want Flash to another random clip after so much time, like on a timer.
Thanks... more >>
|