all groups > flash actionscript > march 2004 > threads for monday march 15
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
load XML file?
Posted by benmaldonado at 3/15/2004 11:24:31 PM
I am trying to get this script to work.
class manager {
var _myXML:XML;
function manager() {
trace("Manager Created");
this._myXML = new XML();
this._myXML.ignoreWhite = true;
this._myXML.onLoad = XMLloaded;
this._myXML.load("images.xml");
}
function X... more >>
HELP! with Flash MX Pop up Menu
Posted by nawic NO[at]SPAM nawic.org at 3/15/2004 11:09:50 PM
I've been working on this pop up menu for two days and I'm going crazy. I
followed the instructions and have started from scratch twice can someone
please look at this file and let me know why the sub menus are not popping up?
Any help is very much appreciated! Here is the file it is name 312.... more >>
movie clip _level?
Posted by Cloud_Strife-013 at 3/15/2004 9:58:16 PM
Hi,
I'm a new flash user and I didn't find out how to change a movie clip level. I know how to change a loaded movie level, but is it possible with a movie clip? Thanks...... more >>
passing variables through standAlone player
Posted by andros at 3/15/2004 9:57:05 PM
I have a SWF which loads another SWF from the same directory on the server into
a movieClip.
loadMovie("dog.swf", holder)
The Holder MC has a variable I wish to pass onto the dog movie which was
loaded into it.
This works fine when using it Online but not in the standAlone player.
Th... more >>
Reverse/Fwd movie clip using mouse drags
Posted by Dustpan at 3/15/2004 9:08:17 PM
Hello,
I am trying to develop a custom application where a user can control a movie
clip via mouse gestures. I am currently looking into which language(s) would
be best to code this in. Can something similar to the requirements listed
below be done using Flash, ActionScript, etc...? If... more >>
Flash ActionScript 2.0
Posted by Stefan Theusner at 3/15/2004 8:52:12 PM
Hi,
i'm looking for some pratical knowledge about the new ActionScript 2.0?
Is it allready applicable for greater application development or should
we use the 'old' ActionScript?
Thanks in advance for any hint.
Stefan... more >>
Duplicating a movie clip
Posted by mdawg999 at 3/15/2004 8:26:37 PM
Ok, this sounds easy but I'm having a tough time making it work:
I am:
- attaching an empty movie clip from the library
- loading media in this mc using loadMovie()
- now, I want to duplicate that movie clip - but duplicateMovieClip() doesn't
seem to work w/attached movie clips.
ha... more >>
scrollbar
Posted by lukeclark at 3/15/2004 7:58:24 PM
Can someone please help me, I need to know to create a scrollbar in flash mx 2004 professional. I really need help with this.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
loadSound plays too fast!
Posted by tygr at 3/15/2004 7:02:07 PM
I'm dynamically loading an event sound and it plays too fast. What am I doing
wrong? Here's the script:
mySound = new Sound();
mySound.loadSound("MySound.mp3", false);
while (mySound.getBytesLoaded() < mySound.getBytesTotal()) {}
mySound.start();
I've tried adjusting export setting... more >>
no dynamic text in movie clip
Posted by lucky_loser at 3/15/2004 6:49:18 PM
(COMPLETE BEGINNER)
I recently got the guide-book Studio mx 2004 - It was going so well until I
hit page331
In the flash section I' ve created html text in a dynamic text field
(quickTip_txt) inside a movie-clip, (quickTip_mc )but after I written the code
& tested it, the movie-clip a... more >>
URGENT: Artificial Intelligence programming
Posted by VG Samy at 3/15/2004 6:47:12 PM
Hi,
Can you please suggest sites where I can get some information (source code
samples, techniques, etc) related to Artificial Intelligence programming in
Flash ActionScripting using Object Oriented programming? It is fine if the
site deals with AS2 also. I want to program some science experim... more >>
Using OnClipEvent() with attachMovie()
Posted by Scott Stroz at 3/15/2004 6:42:25 PM
I have a movie that contains a map. On this map are many instances of a
movieClip. These instances statically placed on the main movie. Each of these
instances has onClipEvent() handlers.
My client wants the ability to remove and add items to be displayed on the
map. The only way I can... more >>
Keys Not Workin/Key shortcuts?
Posted by Heros_Darkness at 3/15/2004 6:34:35 PM
Im am currently working on a project in flash mx and I have a movie clip on the
screen that moves when the arrow keys are pressed but i also want it to move a
certain way within the movie clip when another key is down. But only the arrow
keys and enter are working. I want it to play the movie... more >>
cant get "with" to work with MX
Posted by AlexRae-GD at 3/15/2004 6:31:16 PM
hi, im running a flash 5 tutorial but when i try to apply a "with" statement
to an existing "if" statment it wont let me.
on (press) {
startDrag(this);
}
on (release) {
stopDrag();
if (_root.circle.hitTest(_root.bag)) {
setProperty(this, _width, 100);
... more >>
GET and POST
Posted by LEK0621 at 3/15/2004 6:10:07 PM
hello, can any of u kindly brief me on the GET and POST method? i m quite confused with it.
thankx... more >>
repeating an action
Posted by bibback at 3/15/2004 5:47:54 PM
I want to place a sequence of movie clips on the main timeline and have the
movie play each movie clip in its entirety before moving on to the next movie
clip.
For example, I have a movie clip "CR" on frame 2 of the main timeline. CR is
110 frames in length. I want all 110 frames of CR to ... more >>
How to deactivate a button under a image por example
Posted by Carlos Gonçalves at 3/15/2004 5:37:42 PM
When I click a button, a image cover all screen and there are one button to
close this image. But if you put mouse over some parts where there are
button under, the mouse runs link if you click it. How can I deactivate this
button when It is under other things?
... more >>
restart movie clip
Posted by jrlysinger at 3/15/2004 4:55:37 PM
I need help on restarting a movie clip when the same button is presed to start
it. Say you press a button to goto the movie clip, then inside the movie clip
there are other buttons you press to goto other areas. Now when you press the
button that started the movie clip it stays where you left ... more >>
Conversion of code from Flash 4 to MX
Posted by javman at 3/15/2004 4:54:13 PM
I have to insert a set of code (flash 4) developed by an earlier employee long
since gone into a new flash movie
developed for a flash 6 player.
The old program works just fine but when inserted into the new movie will not
work.
When the publish settings for the old movie are set to Flash ... more >>
Stupid question
Posted by Uzuul at 3/15/2004 4:38:30 PM
I can not figure this one and it is probably very stupid.
I have an array (MyArray) containing several numeric values; when I use
MyArray.sort(), the array gets sorted but the method returns semi sorted data
like 146,175,199,227,251,27,45,71,78,94.
Obviously, the three digits numbers are cor... more >>
Loading external text in presentation slides
Posted by shwebdev at 3/15/2004 4:33:36 PM
Hi everyone,
I have searched thru this forum as well as several others to find an answer to
my question, but have had no luck. I am posting something here in hopes
someone can shed some light on the subject.
I have a client who wants a tutorial built in Flash, including audio voiceover ... more >>
Stop animation on screens
Posted by zmfirstrain at 3/15/2004 4:17:49 PM
Hello,
I'm doing a Web site using screens (Flash 2004 Pro) where each slide has a
little animation which should play only when the screen is revealed.
Unfortunately, all the animations play although their corresponding screens are
not revealed, so when I click on the link to a screen, the an... more >>
Loading SWF into MC by using HTML on same page.
Posted by Spinethetic at 3/15/2004 4:02:39 PM
I have the main movie (name: interface) embedded on the html page with a MC
named "Load". I also have a set of html links towards the bottom of the page
(not in swf) that when clicked on, will tell the MC named "Load" to load an
external movie named home.swf. I have seen this done with the FS ... more >>
Access variable where playhead hasnot yet reachd?
Posted by Chayah at 3/15/2004 3:44:19 PM
Is it possible to access the value of a variable that is located in a place in
the flash movie that has not been reached yet by the playhead.
I am actually trying to access a number of dynamic text boxes throughout the
flash movie, all from the first frame of the flash movie, which i think ... more >>
shifting and zooming
Posted by lingoingo at 3/15/2004 3:10:20 PM
Hi,
in my flash-application I use a shift and a zoom function to navigate
through an area. My problem is how I zoom the movieclip that contains
the area with keeping the middle at the same position. I zoom the clip
and of course moves, depending on the current position, from the
zero-posi... more >>
Flash swf + Swish swf = @#$%&*?!
Posted by AJayL at 3/15/2004 2:59:26 PM
Someone created a cool swf file in SWISH ( Logo ) and I would like to place it
within a swf file to be displayed as one swf file. I have been able to get
this done ( With guidance ), but when the file is tested ( Published ) the logo
is not displayed. When the result swf file is displayed, t... more >>
loadMovie with variable as part of it's name..
Posted by lucy2 at 3/15/2004 2:59:07 PM
How do I load a movie into my movie that has to use a variable as part of it's
name...
for example I have lots of movies each called movie1.swf, movie2.swf,
movie3.swf...and so on. Then I'm generating a variable which is a number lets
call it - myNumber - and I'm trying to say something li... more >>
key event
Posted by fito_fito at 3/15/2004 2:35:37 PM
Hi,
Have a problem with function keys in flash MX. The problem doesn't really come
from flash but from the browser supproting it (IE). Is it possible to
disactivate function key like F5(refresh)? I tried a solution with javascript.
It works well, but only when the focus is on the HTML page... more >>
variables
Posted by ldebono at 3/15/2004 2:27:12 PM
If you have a variable in a text file (which I attribute to a dynamic text box)
for example:
staff1= Doe, John
222 223-4354
and u want to add another variable afterwards (ie)
staff2= Doe, Jane
222 223-4355
how do u terminate the first? I tried using a semicolon but no luck. it ju... more >>
Checking the value of a password field.
Posted by Spinethetic at 3/15/2004 2:09:07 PM
Ok iam trying a different way of a login system. Heres the deal:
I have 1 password field on the stage named "passWord", and i want to have
actionscript that will check what the user types into the password input text
and if it is correct to the password i have stored within the actionscript th... more >>
kglad, how do I get label6 contents into...
Posted by trints at 3/15/2004 2:07:44 PM
How do I get label3 contents into anotherStringVar
This is what you gave me, except I added the .txt?
mystring="http://www.tribidz.com/"+anotherStringVar+".txt?nocache="+random(65000
);
dateVars.load(mystring);
If I do this:
<PARAM NAME="Movie" VALUE="highbid.swf?anotherStringVar=123... more >>
Newbie help with slash notation in mx2004
Posted by JohnnieMiami99 at 3/15/2004 1:57:20 PM
Hi!
I have moved to mx2004 and made some changes to a few of my flash files.
Once I did that it asked me to save in Flash 2004mx format which I did. Since
doing that, I now get errors on my pages. These are the 2 types of errors I'm
getting:
1. **Error** C:\Documents and Settings... more >>
Random - 1 Mc duplicated 256 x - How to random pl
Posted by Pluda at 3/15/2004 1:51:13 PM
Hello,
I've made a "grid" of using 256 instances of one Mc (10 frames).
Now, I need it to play randomly, how do I do that?
Thanks :-)
Pluda... more >>
calling up random movie clips
Posted by lucy2 at 3/15/2004 1:47:27 PM
I'm trying to call up random movie clips into my movie, each movie is named
12.swf, 13.swf, 14.swf and so on. I need to randomly call up any swf between
the numbers 10 to 20, for example...
Can anyone help?
... more >>
Help with sound files
Posted by westi at 3/15/2004 1:37:36 PM
Please can someone help me with the following problem. I am using actionscript
to link sounds to particular events and on buttons using the following code:
Music= new Sound();
Music.attachSound("MySound");
Music.stop();
Music.start();
Everthing works except when the user clicks the b... more >>
Plizz help me - windows & flash parameters..
Posted by Illusion2004 at 3/15/2004 1:10:06 PM
Question 1:
How can I set for a button variables, like window width & height?
well the script looks so:
on (release) {
getURL("something.htm", "_blank");
}
Question 2:
Is it Possible to set buttons background transparent?
Thanks for the answer!
... more >>
How to Display Line Numbers in Action Window
Posted by andyulrika at 3/15/2004 12:36:02 PM
Could someone please tell me how to display the line numbers inside the actions window - Mine seems to have been turned off.
Thanks
Andy... more >>
Swf communication probs, changing scenes
Posted by Helen_Hackwell at 3/15/2004 12:32:32 PM
Hi, having a problem trying to get one swf to cummunicate with another on the
html page and get it to change scenes, I can get it to change frames using the
code below, but can anyone tell me how to make it play a new scene instead?
Code from "movie1":
button1.onRelease = function() {sen... more >>
Where is the error?
Posted by Carlos Gonçalves at 3/15/2004 12:22:20 PM
I have three movies:
- First is the movie to show pictures (is a movieclip called "manualmc"
into loaded movie in _level9)
-Second is the movieclip with this big pictures (is a movieclip called
"zoomfoto" into movieclip in _level9)
-Three is the button to show this picture in big size (is ... more >>
buying actionscript
Posted by nellytheelephant at 3/15/2004 12:18:10 PM
Hello, I have some knowledge of using flash but would like to learn flash mx actionscript much better.
What book would anyone recommend to learn acionscript for a beginner?... more >>
flash base web application
Posted by srinth at 3/15/2004 12:17:02 PM
hi all
Links, flash base web Application,
srinath... more >>
Drawing circle with ActionScript 2.0
Posted by hegus at 3/15/2004 12:14:21 PM
Does anyone now how I can draw a circle with ActionScript 2.0? I also wonder how to pick a random element from an array?... more >>
calling .txt files to check passwords
Posted by cromelek at 3/15/2004 12:05:27 PM
please help me to create a script to multiple passwords and users calling a
..txt file.
i know how to create a password and user but i need to do that for 1000 users
and i can?t put 1000 users and passwords in the script like most of the
tuturials do, to include the password and the user in ... more >>
restrict the drag area
Posted by chrisjmcqueen at 3/15/2004 11:27:07 AM
I have found this code, I want to restrict the user from draggin the mc outside
a set area.
startDrag(target,[lock ,left ,top ,right,bottom]);
I dont know how to stipulate the coordinates, can anyone give me an example.
Thanks - you would know I was a newbie ;)
... more >>
step for switch
Posted by framond at 3/15/2004 10:39:42 AM
Dear all,
I have a button that call a function that containt a switch statement and
i'm a bit surprize. The strange things is that the output is giving me :
1
3
2
and for me when flash is executing the case statement is should execute
taxload before ending the case statement. Where... more >>
scroll bar
Posted by nellytheelephant at 3/15/2004 10:34:34 AM
Can anyone give me a reference to change the appearance of a scrollbar.
Cheers!... more >>
Seems easy... reference an input field and assign
Posted by Shiney Lips at 3/15/2004 10:09:23 AM
I've been racking my head... is there a way to dynamically reference the input
field by a dynamically created name and then populated it with ANY text????
~ START, THIS DOES NOT WORK ~
// 2 input text fields on the stage, named inputBox1 and inputBox2
for (i=1; i<=2; i=i+1) {
vTe... more >>
autoscale / fullscreen
Posted by nellytheelephant at 3/15/2004 9:59:03 AM
I'm stuck, I have created a program that goes on a stand alone player for the
mac. This means I have had to use the autoscale and fullscreen in order for my
program to fill the screen. However when I do this these commands do not seem
to apply for each swf movie that I load, unless I load movi... more >>
Audio VU Meter in Flash. How to?
Posted by becko2 at 3/15/2004 9:53:33 AM
Hello Everybody!
I am not a coder in actionscript. I am interested to make a vu meter that
works in Flash MX Pro 2004. I'v found a piece of code on the Internet, but it
only works when exported to Flash Player 6 and I target Flash Player 7.
Bellow is the code and I also attached the FLA... more >>
using random things
Posted by lucy2 at 3/15/2004 9:26:22 AM
I have a quiz of 50 questions, and now the client wants to choose 5 randon questions at a time, but how can I ensure that they never get the same question twice?
Any ideas?... more >>
formatting tips?
Posted by Todd Coulson at 3/15/2004 8:44:44 AM
I have been running into a lot of problems with line breaks, formatting
characters in the middle of sentences, and embedding fonts of text brought
in from outside Flash in a sql database. I was just wondering what
techniques you all are using to cause line breaks, fomat text (ie. html vs.
regul... more >>
how do you make "if's" work?
Posted by DEJ885 at 3/15/2004 8:12:31 AM
I am new to flash and actionscripting. I want to add something like this to a
button's rollover:
if movie "a" is not at a specified frame # then make movie "b" do nothing
but if movie "a" at [i]is[/i] a specific frame # then make it gotoAndPlay
do you know what I'm trying to say?
... more >>
flash php mail problem
Posted by iamyhs at 3/15/2004 7:56:32 AM
today i've mad flash+php mail form, but problem is, when i put 'ENTER'(carrige
return) in the text field(Input text) and send, then check email box, i got
only one long string text.
i already search this forum, and one guy had same problem but can't find any
solution.
(i also tested, ... more >>
Actionscript to track a movie clip
Posted by Danny S at 3/15/2004 7:39:59 AM
I have a 300 frame movie clip in a frame. I want to assign a variable to track
where i am up to with that movi clip. For example if the user views 200 frames
of the movie clip and then clicks the next button to view the next section,
when they click to go back to the previous frame the variabl... more >>
Preloaders in Player V 6.0
Posted by rors18 at 3/15/2004 7:15:29 AM
i have a massive problem with my [h]preloader[/h] messing up my movie clips!
2 Scenes:
Scene 1 - Preloader
Scene 2 - Main
With the preloader intiated and completed the movie clip in my main scene
doesn't work nor do anything for that matter.
other instances work and the timeline sti... more >>
forward and backward button
Posted by showtimemary at 3/15/2004 5:33:10 AM
Hey,
Do u guys know how to create a forward button and a backward one?
Say, I have 8 Mc to show, but I would rather show them one by one through the
two buttons. So, any suggestions?
Thank you!
... more >>
controlling voice
Posted by jungly boy at 3/15/2004 5:28:33 AM
hi,
i would like to know how to pause and play a voice over in a flash using interactive buttons.
thanks
guru... more >>
HTML or ASP Label.Text to flash variable?
Posted by trints at 3/15/2004 5:11:23 AM
My page loads everything about an item...In an html label, Label6, is the item
number.
I want that string to also load into this flash variable --
|
... more >>
Loading one SWF into another - problems
Posted by pwiop at 3/15/2004 5:06:43 AM
Hi All
I have one swf called 'Main.swf' and a number of other swfs called
'myMC1.swf', 'myMC2.swf' etc
Withinn the 'Main.swf' i have created a number of movie clips in which to
import the external swfs. These have instance names of 'mc1', 'mc2' etc.
I load the external swfs into the ... more >>
eval does not work with flashmx 2004
Posted by javman at 3/15/2004 4:06:08 AM
I am just learning flash 2004 and really do not know what to think about it
yet. I suppose it is better but different to some extents too.
I have the following code that worked well with FLASH 4 but not with this
newer version
if (location == "new") {
yltr = starty;
xltrcur = endx;
... more >>
Loading an external HTML doc and CSS
Posted by Xccelerant2 at 3/15/2004 2:17:26 AM
Trying to load an external html doc and have it display the text as formated
from a loaded CSS doc. Works if I embed the html but not when I load it
externally.
Just started trying to use the CSS feature in Flash MX 2004. Files at,
http://www.xccelerant.com/HTML_CSS_load.zip
Thanks i... more >>
Parameters Pane
Posted by melissa99 at 3/15/2004 12:42:03 AM
I am new to using Flash MX Professional 2004. I have been unable to find out
where the parameters pane is. I have been told to select Normal Mode form the
Options menu, however the Normal Mode option is not there as well. Could
someone please tell me how to activate the Parameters Pane?
... more >>
Script To Change Color Shade
Posted by mattsooy at 3/15/2004 12:23:19 AM
I have been having some difficulty recently with a script I have.
The script should be instructed to change colors of an object, based on a
random number generated earlier in a script.
I thought that this should be relatively simple to do, because of the RGB
controllers in each object,... more >>
How to read a directory?
Posted by bulletta at 3/15/2004 12:09:10 AM
Can I read a directory list only with Actionscript? or I have to create a text file using a PHP or ASP script?... more >>
|