all groups > flash actionscript > may 2004 > threads for monday may 10
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
sliding a movie clip
Posted by Van Garnett at 5/10/2004 11:50:18 PM
how do i make a mc slide across the stage and stop at specified location?
what i have done is at http://www.blookie.com/blookie/helpVan.htm. It is an
fla file.
I just can't figure this thing out!
Thanks.
Van
... more >>
Selecting a movieClip?
Posted by R_Anthony at 5/10/2004 11:29:21 PM
Can someone explain how to do the following?
I have a series of movie clips on the stage, that contain images. I want to
select the clip using the mouse. Than using a button I want to capture the
movie clip name/ID and store it in an array, to be used in another part of the
movie. My questio... more >>
How do I make it wait?
Posted by zorgon at 5/10/2004 10:42:18 PM
I have a keyframe at the END of a scene (scene 1) with a "go to and play"
action that jumps to another scene (scene 2).
Problem: The audio from scene 2 starts playing before scene one is finished
playing.
Is there anyway to require that scene one is finished playing before the "go
to ... more >>
Game Help!
Posted by Space slag Zin at 5/10/2004 10:27:12 PM
I need to have a function that copies a movieclip (snow) every 500 milliseconds
and each new clip is a has a new instance name and the one before it stay on
the stage. When each clip enters the stage every 500 Ms, I want it to start
like this...
_x = xCloud
_y = yCloud
xCloud and yClo... more >>
controling horizontally scrolling movie clip
Posted by el scifo at 5/10/2004 8:57:15 PM
Hi,
ive run into a bit of a problem with a flash project im working on and could
really do with some help. I have a movie clip which I want to scroll
horizontally when a user clicks on a button. this horizontal scrolling image is
broken up into five different images each of which corresponds... more >>
Please Help. Preloader script trouble!
Posted by exor? at 5/10/2004 8:54:13 PM
hello all, hear my plea please.
my first preloader gave trouble so i decided to load my main movie as an
external .swf file. so now, the animation play, and the preload bar starts from
0 bytes. the way i wanted it. but now, it does not play the remaining animation
when i ask it to. this is... more >>
FlashKit.com Valid File?
Posted by Lisa Anderson at 5/10/2004 8:01:36 PM
I was wondering if others can verify that "tuccMask.FLA" is a valid file
(within the .ZIP download) at the following FlashKit.com web site:
http://www.flashkit.com/movies/Animations/Masking_-Lee_Brim-8860/index.php
I am trying to open this .FLA file in Flash MX 2004 without any luck. I keep
... more >>
gotoAndStop()
Posted by Derrick_DC at 5/10/2004 7:50:46 PM
Hi,
I have the following code in the first frame of my movie:
if (fileuploaded == 1) {
_root.gotoAndStop(5);
} else {
_root.gotoAndPlay(2);
}
The fileuploaded value is being passed into the swf from a ColdFusion page in
the querystring:
<param name="movie" value="SenateI... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Launching an EXE
Posted by rabblerouser at 5/10/2004 7:26:41 PM
Hi..
I'm working on a Flash-created EXE projector that serves as an application
screen to launch an installer called "setup.EXE". The user is to click a
button,with the command:
on (release) {
fscommand("exec", "setup.EXE");
this.gotoAndStop("quit");
}
However, the screen does ... more >>
pop up scene in new window?
Posted by dchan NO[at]SPAM cccis.com at 5/10/2004 7:15:00 PM
Please excuse my obvious newness to Flash as I pose this question: How do I
display a scene from a larger Flash presentation in a new window? I have a
scene that would appear out-of-context if played along with the other scenes,
so I though I could set up a button to present that scene in a n... more >>
Inverted cursor
Posted by red pencil at 5/10/2004 7:11:25 PM
How do program a cursor to move invertly to the mouse or to move very slowly?... more >>
creating components that use styles
Posted by jgaleazzi at 5/10/2004 7:04:14 PM
does anyone knows how to create a component that will behaves as the standard components, ie, use the style.setStyle ("backgroundColor","0xffffff"); so that it will change color. fonts and so on?... more >>
Preloading video?
Posted by dCsAitek at 5/10/2004 6:33:31 PM
Hello,
how can i preload some video that being pulled into a Target so that when
I want to view the video later in the site, it's already chached? Also, I don't
want to bog down the flash player. so perhaps after the loading animations? I
just want it to be loaded, not play. So, again,... more >>
Flash rounding/conversion bug?
Posted by Uncle Yosh at 5/10/2004 6:32:53 PM
Has anyone else run across this problem?
If I convert the string ".95" to a number, and then compare it to the number
..95, it says the two are unequal. Which of course is wrong. This is true for
using Number(x) or parseFloat(x).
I did some testing, and it turns out that out of the 100 n... more >>
another drag and drop question
Posted by confusedAgain at 5/10/2004 6:11:47 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 part of the timeline. Heres the code im using on the mc's
that are being ... more >>
moving on
Posted by edwinmerced at 5/10/2004 6:08:53 PM
Hi everyone.
Ive got a main movie onto which I load an swf via the loadMovie command.
I load it into an empty oveclip instance called blanka_mc
Thsi occurs int he firts frame of the movie with:
a_btn.onRelease = function(){
loadMovie("preliminares.swf", "blanka_mc")
}
avanzar_btn.onRelease =... more >>
Loading/Unloading MCs
Posted by steezj at 5/10/2004 5:52:09 PM
I would like to get the script to load/unload a number of movieclips throughout
my .fla.
For instance, a movie clip has been loaded, a button is pressed, this tells
the movieclip to exit (via a few frames to give it a nice fade out exit), then
it loads the desired movie clip.
If someone c... more >>
Drag and Drop- prevent more than one drag mc
Posted by ski_geek at 5/10/2004 5:45:09 PM
Hello all:
Does any one have any code that prevents more than one drag object (mc) per
target object (mc) in a drag and drop? So basically, when some drags a drag
object onto a target oibject, they will no longer be able to drag another obect
on that target. Make sense?
Thanks,
JK
... more >>
adding and removing listeners
Posted by aznan8 at 5/10/2004 5:29:42 PM
Hi!
Can anyone get this fla to work? I'm trying to first add a key listener and
trace if space is pressed, then I want to remove that listener and replace it
with another that traces if enter is pressed.
Thanks!
... more >>
Dynamic Text
Posted by wilsean at 5/10/2004 5:26:54 PM
Hi,
I was trying to display text on an angle dynamically (a rotated dynamic text
field) and discovered it doesn't work. I ended up making separate movie clips
for my 'dynamic' content and displaying the text with static text fields. Has
anyone else ever encountered this problem and come... more >>
Problems with xml tracklist not working!
Posted by Darran Jones at 5/10/2004 5:01:05 PM
Hi everyone,
Ive been trying to write an xml driven mp3 player, and I have a problem with
it I just cant figure out.
The object objTrackInfo contains the information for the tracks that is
loaded from the xml file, and then the object objTracks contains all the
objTrackInfo objects...kind o... more >>
Help with XML structure and display
Posted by javier34 at 5/10/2004 4:27:15 PM
Hi all,
I'm having sort of a problem with the display of an xml node.
My problems is that I'm using a set of nested tags and both have information
in it. The routine I have to process the xml works but it spits out the
information as separate lines. For example, on a line of text that says ... more >>
Flash IMG embed in htmlText
Posted by TedWhitton at 5/10/2004 4:18:30 PM
Hi, have a dynamic text box and use the following code:
ted.htmlText = "";
ted.htmlText += ted.htmlText + "<img
src='http://adl-db/dev/images/mm_s_fleece.jpg'>";
ted.htmlText += "this is a test";
I want the text to be below the image not next to it.
Tried all combinations of <p ali... more >>
How to change "../:var " from Flash 5 to Flash 7?
Posted by jezzthisisfull at 5/10/2004 3:42:17 PM
Hi, a .fla from Flash 5 does not work in Flash 7 due to this code...I think:
../:showed = Number(../:showed)+1;
and
set ("char" add i add "/letter:char", substring(text, i, 1));
How can it be converted for Flash 7 publication?
(I'm most unsure of how to change "../" and "/:var" in... more >>
xml or html external text with formatting
Posted by EdMX at 5/10/2004 3:37:17 PM
I need to produce a CD with formatted text in different languages. Using
Director I would hold all the external text in different XML docs, then use
bespoke tags and chunk formatting for bold, underlined etc. I understand flash
can format HTML text, which would, I imagine, do most of the hard ... more >>
Setting _x and _y properties on a loaded Movie
Posted by 914_6 at 5/10/2004 3:30:01 PM
Title says it all. How can i set _x and _y properties to a loadedMovie?
Thanks for helping.... more >>
keyboard onRelease accessibility BUG!!!
Posted by Siulca at 5/10/2004 3:22:39 PM
I am building a movie which must be accessible. One of the accessibility
features is that the user must be able to tab and select buttons using the
keyboard alone. I'm using Flash MX 2004 and publishing for Flash player 6 and
AS1.
I've got a simple custom scrollbar with up and down buttons... more >>
Manipulating XML
Posted by Buff Dogg at 5/10/2004 3:04:20 PM
Here is my delima. I'm loading an xml document into my movie. I'm loading it
into an XMLConnector component. Here is what the xml format looks like:
<JournalLinks>
<Link>
<heading>Something</heading>
<url>Something.htm</url>
</Link>
.
.
.
... more >>
MySQL - Highscore
Posted by MiniMurderdoll at 5/10/2004 2:51:51 PM
Ok, this is a bit challenging: I have a game, which times you how long it takes
you to complete. It records the time, in seconds, in the variable (time).
How can i make a high score table with MySQL so that it submits the time taken
(time) and there name which they can enter. Once submitted ... more >>
Security Sandbox Violation errors
Posted by Mark Redman at 5/10/2004 2:15:13 PM
Hi All
Here is a snippet from the output window of my flash app.
*** Security Sandbox Violation ***
SecurityDomain
'http://localhost/MediaServer/getImage/getImage.aspx?FileID=9c7ce140e3024d90
ad41606e25451d39&ImageType=Thumbnail&Page=1' tried to access incompatible
context 'file:///C|/Inet... more >>
adding onRollOver to dynamically loaded jpg
Posted by benihana at 5/10/2004 2:12:34 PM
im using actionscript to read a number from a text file, then loop through and
duplicate, position and size that number of movieclips, and load a jpg into
each. the jpgs are named 1,2,3 etc.
the positioning etc all works, but when i try to add an onRollOver action to
each mc, nothing happ... more >>
Mortgage calculator
Posted by totn at 5/10/2004 2:04:57 PM
I'm looking for the code for a mortgage/loan calculator written in Flash. hope this is the place to ask...
... more >>
Can you?
Posted by jump2 at 5/10/2004 1:36:26 PM
Hi
I'm making a CD to promote products built in html. I would like to create an
auto start facility using an inf file linked to an exe. I was going to make
the exe in Flash using action script's geturl to open the first html file.
This works fine, the problem I have is automatically clos... more >>
strange datagrid behaviour
Posted by sschofield123 at 5/10/2004 1:00:37 PM
I have 2 2d arrays, rsField containing students on a field trip, rsTask
containing students assigned to a task. On my stage I have 2 datagrids, dgField
and dgTask, and 4 buttons > (btnAddOne) >> (btnAddAll) << (btnRemoveAll)
< (btnRemoveOne) for the standard move selected and move all r... more >>
loadMovie...checking if loaded
Posted by Rooster60602 at 5/10/2004 12:31:55 PM
HI--
I'm loading a series of 20 jpegs into empty MCs ("slot1", "slot2"...), but
can't figure out an easy way to hide these until they've all been loaded in.
Any ideas?
for(var i = index; i < (index+20); i++ ) {
var j = eval("slot"+(i+1)); //slot MC name
k = myData[i].prodIcon==null ... more >>
normal or expert mode
Posted by plumpen at 5/10/2004 12:04:30 PM
hi!
in flash 6 and down I can choose expert or normal mode when I write
actionscript.
But in flash 7 it´s only expert, how can I choose normal mode???
please help me.
... more >>
Help with UI Components - ListBox
Posted by ALIQU at 5/10/2004 12:01:45 PM
Hello
I am new to Flash, so I am struggling a bit with the ActionScripts and UI
Components. My problem is the following:
I must create a listbox:
When the user clicks on an item in the listbox, the selected item (label) must
open an external swf movie into the current movie ? this c... more >>
Deiconify Flash Projector
Posted by hydrangea at 5/10/2004 10:54:41 AM
I have been programming a clock to remind me that there is food cooking, so
that it will not be spoiled. I am playing a song, when the time is over, and
that works OK. Normally I would iconify the running clock. But I dont't know
how to deiconfy the flash projector? I have tried
fscomman... more >>
drag/drop; random order, no repeats
Posted by 15266 at 5/10/2004 10:22:00 AM
I am producing a drag and drop exercise, where the user drags a description of
a word, and has to match it with the correct word.
The 7 descriptions appear at random, one at a time, each time the user clicks
on the 'generate description' button.
*The problem I am having is that I only ne... more >>
Fractal Animation
Posted by TushG at 5/10/2004 10:17:34 AM
Hi All
i wish to make fractal animation through script can anyone help me out is
getting fractal effect through actionscript....
if anyone know something in similar also let me know
please help me ..thanks .. Tushar
... more >>
Need help w/ dynamic resizing of component label
Posted by B at 5/10/2004 9:40:12 AM
Hello, I was wondering if it's possible to dynamically resize a component label
width based on the font size/number of characters. I know that I can use
setSize to set the initial size of a component, but what if the text changes
and it becomes too long/big for the width of the label? Which ... more >>
Generating Random Numbers
Posted by Husain at 5/10/2004 9:39:08 AM
Hi All,
I wish to move the playback head to a random frame number, each time the SWF
loads...I have the images on each frame, the total frames being 12...how do I
get a random number between 2 and 12..the first frame has the random generating
script:
randomFrame = Math.round ((Math.rando... more >>
Problem with LoadVarialbles Method
Posted by dhiru1 at 5/10/2004 9:36:46 AM
hi,
I have created an application for image display in Flash.
In this application i loadvariables from a txt file on very first frame. and
assigned it to one Dynamic text which is there in the application.
Now the problem is when i trace the variable value it displays me undefined
where as... more >>
Projector Movie Settings
Posted by Firestar_3x at 5/10/2004 8:40:50 AM
Hi guys,
As you can see i'm new here, i've created a flash movie for our company and
need to save it as an .exe, i have managed to do this and get it looking ok;
however when then movie is played i would like it to be centered on the screen
with no flash player boarders on it or any play /... more >>
Emptymovieclip positioning
Posted by cnynman at 5/10/2004 7:44:15 AM
Can anyone help me with this? I have created an emptymovie clip in an fla
called "timeline" using this code:
on (release) {
_root.createEmptyMovieClip("bubba", 1000);
_root.bubba._x = 300;
_root.bubba._y = 0;
_root.bubba.loadMovie("hello.swf");
}
I have the following code tha... more >>
?
Posted by 3/ 30 4TH at 5/10/2004 5:50:01 AM
How can I place a swf file in place of other by clicking btn which is in third swf like shown in fontsforflash.com??... more >>
continual scrolling of external text
Posted by javman at 5/10/2004 3:18:57 AM
I have used the loadVars() object for some time now to load external text.
Using components the movie user could scroll up and down and display the entire
and sometime lengthy text in this manner.
However I can not seem to find a method that allows the externally loaded text
to scroll cont... more >>
DeltaPacket not tracking changes to a DataSet
Posted by Geelen at 5/10/2004 2:53:18 AM
Hi there,
I've got a quick question. If I make changes to a DataSet by editing the
values of the CurrentItem, such as in the following code:
this._parent.myDataSet_ds.locateById(some_id);
this._parent.myDataSet_ds.currentItem.Price = "newValue";
The DataSet doesn't update a DeltaPack... more >>
DeltaPacket not tracking changes to a DataSet
Posted by Geelen at 5/10/2004 2:53:15 AM
Hi there,
I've got a quick question. If I make changes to a DataSet by editing the
values of the CurrentItem, such as in the following code:
this._parent.myDataSet_ds.locateById(some_id);
this._parent.myDataSet_ds.currentItem.Price = "newValue";
The DataSet doesn't update a DeltaPack... more >>
"random" script
Posted by tinkler00 at 5/10/2004 2:46:15 AM
Can anyone direct me to a tutorial that will help me solve this problem? I have
a button and on MouseUp I want 1 of 5 names to pop up at random. I can find
articles and tutorials on how to make numbers pop up as random, but never
anything else...if anyone could help I'd appreciate it.
... more >>
Trying to make next nound wait til current one is
Posted by KarolCostello at 5/10/2004 2:32:42 AM
Hi, I'm having a problem with a voting program for blind people I'm trying to
put together in flash. It's just the front end so it's not very complicated.
I'm trying to make two sounds play in sequence so people know what they have
voted for. One sound (justvoted) says "You have just voted for... more >>
Show/Hide a graphic with a CheckBox???
Posted by [fin]joho at 5/10/2004 12:55:44 AM
I want to be able to show or hide a picture with a checkbox. I have managed to
do so with two checkboxes (so that chkbox1 hides and shows chkbox2 when
selected and not selected) but can?t get it to work with a graphic (or
*.jpg/gif).
I used ....visible = true; and visible = false;
Am i st... more >>
TextArea component selectable text bug
Posted by vialis at 5/10/2004 12:03:33 AM
Hello,
I am using the TextArea component that loads the text from a txt file. When I
publish the movie by itself then everything works just fine. However, when I
load the movie into another movie then the TextArea component starts to behave
in a strange ways. When I click to scroll the text ... more >>
|