all groups > flash actionscript > september 2004 > threads for monday september 20
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
key.getcode() ??
Posted by dmcdonald at 9/20/2004 11:37:46 PM
I posted this to the wrong forum originally.
I'm trying to simulate a mainframe system in which the user types in a certain
code (in an input field) and then has to hit the tab key to get to the next
field. I need to see if they have typed in the right code, then if so, check to
see if the... more >>
Set .exe height & width - Resizing not allowed
Posted by rcabrera at 9/20/2004 11:08:26 PM
How can I set the height & width of a movie/projector and not allow the user to resize it?
Thanks.
Ray...... more >>
Load Variable from local drive?
Posted by mikeaturner25 at 9/20/2004 11:01:12 PM
Hi All,
I am trying to develop an import/export utility for a flash program, but I am
stuck on the importing part. Basically I can get any var in a file to load if
its on my webserver, but I cant get it to load from the users hard drive. So
my question would be, is this possible?
So ... more >>
how to stop movie clip element in timeline?
Posted by rollingmatt at 9/20/2004 10:56:46 PM
please forgive my ignorance.. I am new to flash.
I have a movie clip instance that is in a layer of a flash document (called
"shot7")
I have a stop button that stops playback of my flash file.
However, the stop button only stops the current timeline and not the movie
clip instance ("sh... more >>
Move an object with a button
Posted by Cliz at 9/20/2004 10:19:58 PM
I would like to be able to move one object on the stage up or down by clicking on a button. Does anyone know how to do this?... more >>
.swf intro that should open HTML
Posted by AndersR at 9/20/2004 10:16:22 PM
Im trying to make an intro, that when it's finished opens my Html website. i
know about geturl, but can't figure out how to make the intro dissapear.
Think the same problem will appear when i try to make a skip intro button,
which should shut down the movie and open the website.
... more >>
making stage/view center on most recently attached/created MC
Posted by Ken Fine at 9/20/2004 10:12:44 PM
I have a movie that attaches new movie clips at runtime in reponse to
changes in an XML file that it polls regularly. The clips are displaced
vertically based on how many clips have been generated; the effect is a
stack of textboxes in a listlike presentation.
I would like the "view" of the f... more >>
Isolating unique elements in an Array?
Posted by tweekerbythespeaker at 9/20/2004 9:51:58 PM
I am trying to output a number of unique elements in an array. For instance, If
I had the array:
colors=["0x000000","0xFF0000","0xFF0000","0xFFFFFF","0xFFFFFF"];
I want to run a function on the above array that spits out the number "3".
There are 5 indexs in there, but only 3 UNIQUE valu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Sound help needed
Posted by lickteig at 9/20/2004 9:50:33 PM
Hey all, I want the code below to play a sound and when that sound is done go
to frame to of a movieclip. I can get the audio to play but it does not go to
frame to when done. What's wrong with the code?
PLEASE HELP!
Thanks,
Russ
speech = new Sound(this);
speech.loadSound("au... more >>
question about variables
Posted by indyfro at 9/20/2004 9:47:54 PM
alright, this question is rather extensive....
I am developing a family feud type game, and I have run into the following
problem: I have an input text field, within a movie clip, for the answers.
the game board consists of answers hidden underneath covers. My goal is to
take the data f... more >>
Problem Creating Link
Posted by Sparky4 at 9/20/2004 9:35:04 PM
I'm using Flash 5 and this is driving me nuts... I'm trying to add a basic link
so that the whole movie links to a url. Easy, huh? Well, I create a layer,
create a symbol, add a big box to the "Hit" Keyframe, add the symbol to my new
layer on the main window and when I go to add an action to t... more >>
Upload Issue
Posted by chrism59 at 9/20/2004 8:43:03 PM
I have a frame form that has a filefield on the bottom. When I click the submit
I execute a upload.cfm to send the file to the server.
The process works with one exception. When the upload.cfm runs the progress
bar on the browser runs about a 1/4 of the way across and stops. The file
uplo... more >>
Script for stopping audio play
Posted by LordOfTheAcheron at 9/20/2004 7:54:18 PM
on (release) {
mySound = new Sound(this);
mySound.loadSound("PRGv2mp3/CONTROL-themeaningsofpain-mind&body.mp3",true);
mySound.play();
}
Above is my script for getting an MP3 file to play; what would I use to get
the audio to stop?
... more >>
Copy arrays
Posted by m1j at 9/20/2004 7:49:59 PM
How do I copy an array where I can change the data in the dup array with out altering the data in the original array. I tried using the concat tool with out parameters but it did not work.... more >>
Target CustomCellRenderer Component
Posted by jt230 at 9/20/2004 7:49:19 PM
I created a CellRenderer so I could insert a CheckBox into the DataGrid component. How do I reference the CheckBox now that it is in the DataGrid? Thanks... more >>
Resizing loaded movies
Posted by newernewguy at 9/20/2004 7:31:50 PM
I have two flash .swf files I previously completed for stand-alone
presentations. They are two seperate sizes and pretty basic. One is 600x800 and
the other is 1200x1600... I want to combine them and have one load the other on
a button release. The main.swf flash uses fscommand("fullscreen", "... more >>
Advance to next scene after playing loaded swf
Posted by loka at 9/20/2004 7:10:18 PM
I have dropped a 2nd .swf file into my main movie and I want to advance to the
next scene of the main movie after the clip finishes. I tried placing different
actions on the last frame of the 2nd swf and on frame 2 of the main movie, (go
to and play, and frame labels) I'm obviously lost. Pleas... more >>
help whith if(mytext.maxscroll<1){
Posted by Pluda at 9/20/2004 6:34:13 PM
Hello,
I need to check if my textfield maxscroll is or isn't <1, so I can say flash
to go to next frame, but I not gueting this to work...
this.onEnterFrame = function(){
if(texto.maxscroll < 1){
stop();
} else {
gotoAndStop(2);
}
}
He always goes to the second frame...
... more >>
write files to hard disk and manipulate
Posted by apache_ at 9/20/2004 5:57:05 PM
Just wondering if is possible create txt files and append data to it, manipulate, retrive etc etc, from a .swf files and how.
Thanks!... more >>
Navigating between movieclips without a button
Posted by Muhly at 9/20/2004 4:08:15 PM
I have 5 movie clips on the main timeline. Is there a way to play one after the
other without a button?
Maybe something like
onClipEvent (unload) {
mcPop.gotoAndPlay(2);
}
Any help would be appreciated...
Thanks,
Muhly
... more >>
Attaching events to a loaded MovieClips
Posted by vectorman69 at 9/20/2004 3:38:19 PM
Hi!
I'm loading a swf which contains 3 movieClips, when I load this swf, I try to
attach a release event function to each of the mc's inside the swf, It is
possible to do this?
thanks in advance
... more >>
Attaching events to a LoadedMovieClips
Posted by vectorman69 at 9/20/2004 3:38:04 PM
Hi!
I'm loading a swf which contains 3 movieClips, when I load this swf, I try to
attach a release event function to each of the mc's inside the swf, It is
possible to do this?
thanks in advance
... more >>
Referencing Button States
Posted by plecoguy at 9/20/2004 3:30:30 PM
Hello,
is it possible to reference a Button State.
I would like to be able to gotoAndStop on the 'Over State' after the button is
pressed. This will provide a sort of click history and higlight the section
that a user may be in. Any suggestions or options would be great,
Richard Ra... more >>
dynamically create text field
Posted by epnormann at 9/20/2004 3:15:24 PM
I need to dynamically create textfields, where the name of the textfied is
created in a for loop. For example:
for (i = 1; i < 6; i++) {
yPos = i * 20;
dateName = "date" + i;
_root.createTextField(dateName,i,10,-10+yPos,200,15);
The problem is that I now need t... more >>
rasterizing / breaking apart MCs w/ ActionScript
Posted by tweekerbythespeaker at 9/20/2004 3:12:00 PM
rasterizing / breaking apart MCs w/ ActionScript...
Is this possible? I am thinking "instanceName.break(); " or something. There
is no documentation on this but I have found that anything is possible one way
or another. Any thoughts?
thx
joe
... more >>
Creating an undo feature for a drawn line.
Posted by SoccerAndy at 9/20/2004 2:42:43 PM
Hi folks,
I've been working a movie for a while now that consists of a soccer pitch that
you can draw curved, arrowed lines on, drag player icons around etc.
What I want to be able to do is delete or 'undo' the last arrow and line
drawn. Here is the line & arrow drawing ActionScript:
... more >>
loadMovie issues
Posted by Nate Kadlac at 9/20/2004 2:31:17 PM
Ok, I have a main interface.swf that loads in an external newnav.swf into an
empty MC. Within newnav_shops.swf, I have 4 basic buttons within an MC that
when pressed, it loads an external newnav_shops.swf into an empty MC within
the main timeline. However, it loads properly, but it completely era... more >>
Movie controls in flash
Posted by sirenxoxo at 9/20/2004 2:13:28 PM
i know how to script buttons to allow a movie to play, stop, move ahead 1
frame, move back, and rewind completely. but im wondering if there is any way i
can use a slider instead to allow me to drag it and the movie would go forward
or backward a few frames.
... more >>
How can desable all buttons!!!
Posted by john kenni at 9/20/2004 2:09:59 PM
Hi
when I click in one button in sub movies in a project, I want disable all
button in project (include _root buttons) except button that I clicked.
note that my movie is a sub movie in main movie.
Thanks
... more >>
dynamic image loading from server
Posted by MikoMax at 9/20/2004 2:09:10 PM
Hi,
I would like to make an animation that dynamically loads images that are in a
serverside directory.
the aim of the operation is to load these images even if they are not declared
in the movie.
if I put n image files, the movie should detect, load and display these n
images.
an... more >>
Xml nodes finding problem
Posted by Luka at 9/20/2004 2:02:41 PM
How can i search for a node name in Xml file? Like if you have several nodes
named: Mark, John, Smith, Nikky, and you want to find John, but you don't
know his position in the Xml (0, 1, 2...). Something like:
objXml1 = new XML();
objXml1.ignorewhite = true;
currentNode = objXml.node[0]
whil... more >>
Oscar Bytes based preloader 2.1
Posted by Joey D at 9/20/2004 1:04:26 PM
Oscar's site seems to be malfunctioning. Been like this a few days now. Been
wanting to get the extension but the site is broken. Would anyone have a
copy of the MX version of Bytes-based Preloader, V2.1 they can send along?
Here is the link I am referring too.
http://www.oscartrelles.com/flas... more >>
download pdf from entire flash site
Posted by medicispirit at 9/20/2004 12:34:18 PM
Hi
I'm developing a site which is completely in Flash. There will be alot of pdfs
to download - I can click on the link to get the pdfs to open in a new window,
but I what I also want to be able to right-click the link to download without
having to open the file first. Does anyone know if... more >>
deadline is now and I can not find any dam- info.
Posted by ooba at 9/20/2004 12:10:53 PM
Can someone please tell me where I can find information on the 3d chart
components?
I have the following code bit and have tried using the basic information from
the help page but nothing will populate the chart.
LoadChartData();
function LoadChartData() {
var ChartData = new DataProvid... more >>
Path from one movie to another
Posted by mistainfa at 9/20/2004 12:06:06 PM
I have two flash movies, movie 1 has one scene and movie 2 has 2 scenes.
Now what I want to do is by clicking a button in movie one, I want to be able
to
go to scene 2 in movie two.
Can you right a an action that would show me how to do that. If you can
I need it asap for a project. ... more >>
windows projector and browser
Posted by ovioros at 9/20/2004 12:01:25 PM
Hello,
I`m making a CD in flash.
The CD will be exported in .exe format !
Inside of CD presentation I have a button what is linked to a web page (ex.
http://www.yahoo.com), but when I click this button the browser is open
automatically behind the projector what is fullscreen and nobody se... more >>
onEnterFrame for frame script?
Posted by Brian at 9/20/2004 11:31:44 AM
What's the simplest way to write a function that resides in a frame
script that gets called as Flash enters a frame (similar to the
onEnterFrame for movieClips)?
setInterval doesn't seem to be very consistent, at least I couldn't
figure out how to get it to call a function each time a new... more >>
Double click madness
Posted by Anth2003 at 9/20/2004 10:32:54 AM
hey all.
I am creating a little quiz thing. On each frame of the quiz there are three
buttons 'yes','no','maybe' and each of these buttons adds the relevant score to
the relevant variable and then calls a function that goes a little something
like this:
startFrame=4; // this is just t... more >>
Pop up image in html page from flash.
Posted by ....James Smith at 9/20/2004 10:16:19 AM
Hey people, was just wondering if anyone knows how to do the following.
What i want is have lets say have 100 different buttons in flash and one
blank html page. Now when i click any of these buttons the html page will
launch displaying the corrisponding image. So if i press button one the html... more >>
Set volume level to all sound files
Posted by vimalli at 9/20/2004 10:01:50 AM
Hi Guys,
In my projects i used more than 80 ".wav" files. so i used many variables.
like ( vi_snd=new Sound(); ).
there is any possible to set volume to all files in common coding.
i try to this Sound.prototype.setvolume(40); and Sound.prototype.volume=40;
but its not work. bec... more >>
Open exe file from flash
Posted by soulbath at 9/20/2004 9:49:11 AM
I just try to open an exe file by FS Command in flash MX v.6, but it didn't
work at all, I think it is a bug from Macromedia Flash MX version 6, any body
know how to fix it??
I put the following script on a button in flash:
on (release) {
fscommand("exec", "SkinTestGB.exe");
}
P... more >>
Navigating using frame labels
Posted by antipop at 9/20/2004 9:42:50 AM
Does anyone know how i might go about creating an ActionScript to go to next &
previous frame labels? I'm doing a presentation using Flash, and have got
navigation set up so that the left and right keys go back and forward by one
frame, but I'd like them ideally to jump to labels instead, left... more >>
files .swf
Posted by hmsg at 9/20/2004 9:34:51 AM
Hello!
I'm new in flash.
I'm building my site in flash, but i have this problem: I can't
put all the sections of my site in one .swf because the file will be to big to
be loaded, so i think the possibility is to create 2 or 3 files .swf and make
it load wh... more >>
loadMovie and stop action
Posted by Nate Kadlac at 9/20/2004 8:26:25 AM
On the last frame of an MC, I want to have a gotoAndPlay script that will
call a labeled frame on the main timeline to play. However, on the last
frame within the MC, I want it to stop as well, rather than continuously
looping. Do I need to add the stop action before or after the gotoAndPlay
act... more >>
Clicking problem
Posted by MathiasV at 9/20/2004 7:40:18 AM
Hi
this is the code inserted for the actions of a "submit" button:
on (release) {
if (msgb eq "") {
errormsg("Please enter a comment.");
} else if (nameb eq "") {
errormsg("Please enter a name.");
} else {
unknown = "NO";
gotoAndPlay("record");
}
}
The weird thing: ... more >>
Dynamic class confusion
Posted by maulia at 9/20/2004 7:11:27 AM
Is there any dynamic class tutorial over the web? Was trying to find in Google
but could not find any.
Most of the website are telling me that if I put a dynamic word in front of a
class, I can call a non-existent methods without any compilation error.
What they miss are:
- how do those ... more >>
Checking a random loaded movie clip
Posted by Arild RiP at 9/20/2004 7:07:28 AM
Hi!
I'm a bit new to actionscripting but I'll try to explain my problem.
I have 4 movie clips loaded into an array in my main movie clip. I want to
check if one of these movie clips have been played before starting a animation
i my main movie clip. I'm using the _currentFrame and totalFrames... more >>
reading javascript variables
Posted by e_jogendra at 9/20/2004 5:03:32 AM
Hi everybody,
Could any body suggest me how to read a javascript variable from flash mx.
In explanation i am developing a elearning project in which there are lot of
html pages with flash content. I want to exchange some data from one html page
to another. But dont know how to read data ... more >>
Save Data to disc
Posted by MacCpp at 9/20/2004 3:11:05 AM
Hi,
I am building a flash aplication (an executalbe) that will be delivered
on cd whit a xml profiles file. I can load the data from the xml file....
but.. how can I write data on It?
Thanks by your reply....
... more >>
LOADING VARIABLES from TEXT FILE
Posted by Adil Bamanbehram at 9/20/2004 12:39:39 AM
hi there,
i have 3 variables in an external text database file (myvariables.txt)
which are to be loaded in Flash MX- I even tried using "Render text as html"
option but it doesnt seem to work properly.
The text database has the following-
&news1=headline1&
&url1=mynews1.htm&
&news2=headline... more >>
kill audio stream
Posted by maxil at 9/20/2004 12:17:49 AM
Does anybody know how to kill an audio stream once it has started? I have tried
deleting the sound object and stopAllSounds, but these do not work, the audio
still streams, even if it is not playing. If you have a button, that starts an
audio stream and push it multiple times, it will start se... more >>
Load movie problem
Posted by Daro28 at 9/20/2004 12:09:25 AM
Hi there,
I have this problem that I just can't figure out.
I have a button and an empty movie clip on my main timeline, they are referred
to as:
button = btn
empty movie clip = content
I have the following code on my actions layer
btn.onRelease = function() {
loadMovie ("tes... more >>
|