all groups > flash actionscript > july 2005 > threads for monday july 25
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
loadSound problem
Posted by Panchez at 7/25/2005 10:43:10 PM
I got a sound object loading an mp3 file... and the code is like this:
loadSound(folder/sound.mp3)
so it work on my mac... but once i upload the sfw file to a serve (and the mp3
file inside a folder with the same name as on my mac) it doesnt...
i've tried using both absolute and relat... more >>
making a game
Posted by Jimmathy at 7/25/2005 10:41:39 PM
I'm no a pro at actionScript & I'm making a game. Basically I want to know how
to make it so if one movie clip was hit by an other movie clip the clip that
got hit would react or dissapear. I've tried every thing!!! Help!!!
:Q
... more >>
Invoking Event Handlers
Posted by craigkaminsky at 7/25/2005 10:25:14 PM
I'm wondering if there is a way to manually (i.e., progamatically) invoke an
event handler. I wanted to invoke an onRelease handler for a specific movie
clip in the swf after the movie has totally loaded. Is this even possible?
Thanks very much!
Craig
... more >>
Problems when input number= 4.15 in AS
Posted by ThomasA05 at 7/25/2005 9:56:43 PM
Greetings all,
I'm developing a math activity where a user inputs a number and actionscript
determines if it is correct or incorrect and responds accordingly. However
there is a problem when the number/correct answer is "4.15" Flash will not
recogize it as a correct answer. After doing a l... more >>
back and forward in instances of a movie clip
Posted by iuliad at 7/25/2005 8:39:35 PM
Hello.
I have a movie clip that is instantiated a lot of times on one frame.
This movie clip has 3 frames (much like a button with 3 states).
There is a button on the frame that when it is clicked should change the state
of a particular instance of that movie clip.
So lets say that mc_in... more >>
Frame label in conditional logic
Posted by -anne-marie- at 7/25/2005 8:17:13 PM
I am creating a feature where I load a movie at level5, and let the user click
a button labelled "Next picture" to see pictures in the newlyu loaded movie.
When they click the button after having seen the last picture, I want the movie
to unlad, so that they go back to the root movie.
Cou... more >>
Multiple SWF going at once
Posted by radicalrob at 7/25/2005 7:56:34 PM
I'm having a small problem, I'm a relative newbie when it comes to Flash
development but through a series of tutorials I was able to create a basic
site. For the navigation of the site I used the loadMovie function and thus
far it works flawlessly. My problem occurs when I create another swf... more >>
continuous loop on vertically scrolling mc
Posted by rwills at 7/25/2005 7:50:38 PM
I have a clip that is a long list of text. I'd like it to scroll downward
vertically in a continuous, repeating loop such that before the top end of the
text list is visible past the mask, the clip is duplicated and continues
scrolling seamlessly. The dimensions of the visible area are 434 x 2... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Array with instance names
Posted by JFalk1 at 7/25/2005 7:08:48 PM
I want to change the visible property of a group of mcs all at once (photo1_mc
- photo2_mc). I was thinking I could put all the instance names in an array,
and loop through it changing each one's property. But I can't get it to work.
Is this possible? Could somebody help me with the actionscri... more >>
Finding out whether a link was clicked
Posted by Jazzerboo at 7/25/2005 6:55:49 PM
I have a link on my site, and I want it to do something when the user clicks
it(besides opening up a window to the link). Is there any way Flash can tell if
a hyperlink was clicked? And if so how do you do it?
... more >>
Creating a dataProvider for DataGrid
Posted by tillurdizzy at 7/25/2005 6:42:29 PM
Background:
I am parsing and XML file to an Array, then based on user input I want to
display a sub-set of this Array into a DataGrid component. All documentation I
can find has the dataProvider for the DataGrid in this format:
myDP = new Array({name:"Chris", price:"Priceless"}, {name:"Ni... more >>
onEnterFrame doesn't run
Posted by ceeblet at 7/25/2005 6:24:05 PM
HI,
I'm sure someone here can tell me what is wrong here. I've attached the action
script below. I have a photo album that displays pictures designated from an
array. The problem I am having is that I want to have the pictures fade in and
fade out. I've tried so many different ways of doin... more >>
application timer
Posted by iuliad at 7/25/2005 5:57:50 PM
Hello,
I would like to have a timer in my application and every 10 minutes I would like a small animation to happen on all frames of the movie. How can I do this?
thanks
... more >>
printing current time
Posted by iuliad at 7/25/2005 5:56:43 PM
Hello.
I would like to show on screen the current time in a text field and the
current date in a different text field.
I would like it to update itself every few minutes. Does anyone know how?
Thanks.
... more >>
Functions in a sequence
Posted by cmdsonline at 7/25/2005 5:56:34 PM
Hi all,
I've got a function that moves my mc. What I'm trying to do is tell it to fire
another function that will tell a movie clip to fade in over top once that
destination is acheived. This will load a different mc for all my buttons. I'm
not quite sure how to approach it. I've tried the i... more >>
global variable
Posted by iuliad at 7/25/2005 5:46:24 PM
hello. I have a fairly easy problem, but I haven't worked with flash in a very
long time and I have hardly any experience with action script so I need a
little bit of help.
I have a flash animation with just a few frames. I want to have a global
variable initialized to 0 on the first frame. ... more >>
Quitting from StandAlone Application
Posted by paulpsd7 at 7/25/2005 5:41:57 PM
I have a Flash presentation which will be displayed on the web as well as on
CD-ROM. On the CD, this will be a stand-alone application for both Windows and
Mac.
The presentation currently as a "QUIT" button. On the web version, this merely
closes the window in which the presentation appear... more >>
The plus character
Posted by pnur at 7/25/2005 12:46:00 PM
I have a guestbook in flash, which uses php to communicate with a database.
Whenever someone types a plus character, it shows up fine in the database and
in the php page, but in Flash it is replaces with a space. Code sample:
var gbLV:LoadVars = new LoadVars();
var url:String = "http://son... more >>
External Text
Posted by ActionScripter1 at 7/25/2005 12:36:49 PM
Hi Guys,
I have a little issue with loading in external text.
I want to switch this internal html to a external text file can anyone please
help.
Code:
//Create a new style sheet object
var myCSS = new TextField.StyleSheet();
//Specify the location of the CSS file that you cr... more >>
Help with a sound pause
Posted by Lumiere Studios at 7/25/2005 11:51:19 AM
Hello, I need a little help to create a pause on a loopsound event
My movie has a MC called "sonar" that at the end has this script to create a
pause:
stop();
pauseI=setInterval(pauseF,0.5*1000);
function pauseF(){
clearInterval(pauseI);
play();
}
On the first frame of my ... more >>
changing links withing flash menu bar
Posted by akirauk at 7/25/2005 11:50:25 AM
hi all, ive been tearing my hair out trying to change the links within my flash
menu which i downloaded as part of a website template. ive tried editing the
action scripts for the buttons but somewhere its still giving the link as
/index.html , what i want to change it to is
http://www.hack-... more >>
Dynamic Buttons
Posted by wally_errrr at 7/25/2005 11:37:47 AM
Hi there,
I want to generate a list of dynamic buttons whose names are loaded from an
array at run time. I figure that I have a generic button in my library, is
there some way of instantiating a button and specifying the text it should
display inside maybe a dynamic text instance??
Doe... more >>
flash and XML
Posted by designdeeva at 7/25/2005 10:01:02 AM
ok - i have a flash file and i'm not a big actionscriptor - i don't really want
to do much with the xml - so heres the story i have 4 buttons - so on release -
i want to get url from an xml file - as the url's will need to be updated
regularly - please if someone knows the easiest way of doing... more >>
determine _level for buttons
Posted by dwahlrab at 7/25/2005 9:34:55 AM
I have two buttons which on press load an external swf menu. rolling over that
menu keeps it visible, but that means rolling from the button to the swf menu
needs to be seamless. This works if the swf loads into a space that completely
covers the button, but I want the buttons to appear like t... more >>
scroll content error
Posted by dwahlrab at 7/25/2005 9:24:51 AM
I have an mc with a list of buttons, and on the main timeline script that
scrolls this "contentd_mc" but it only will scroll starting three lines into my
list of buttons. Any ideas? Also, there seems to be an unecessary amount of
empty space at the end of the scroll pane.
... more >>
Flash and Firefox
Posted by andrewbyles at 7/25/2005 8:05:45 AM
I have tested my flash project in Firefox and it breaks every time but not in
IE. The problem is that if the web site is larger than the browser window and
the user scrolls down to the bottom of the page, and back to the top of the
page the buttons "hot area" stays as if the user was still scr... more >>
might be in over my head PLEASE HELP
Posted by batgirl_Sa at 7/25/2005 7:56:54 AM
hello,
i am desperate for guidence because i am trying to do something and i think i
am doing it a little too complicted and i need help or guidence on how i should
do it or where to look
the project is an interactive story maker.. basically the user drags and drops
the images on to the st... more >>
Text loading delay
Posted by phillyj at 7/25/2005 6:27:21 AM
I am using the following code to load from a .txt file into my flash movie:
myText = new LoadVars();
myText.onLoad = function() {
_root.fader_mc.bio_txt.htmlText = this.content;
_root.fader_mc.gotoAndPlay(10);
};
myText.load("bio.txt");
When I click on the button this code ... more >>
print the content of a scrollpane
Posted by Manoj vn at 7/25/2005 6:02:02 AM
I want to print the content (only text) of a scrollpane in Flash MX. If anyone has attempted this kind of a functionality, please let me know the code.
MVN... more >>
Newbie Please Help!
Posted by LatinStyle at 7/25/2005 12:23:15 AM
Ok, I hope this makes sense. I'm altering an existing Flash website. It has
several buttons that are animated (movies). When I try to hyper link the
button, the animation stops to work. This is what code I'm using:
on (release) {
getURL("mailto:info@marycourtneyrealestate.com");
... more >>
image gallery grid
Posted by Bal1977 at 7/25/2005 12:00:00 AM
Hi. Im having problems creating a simple gallery grid. I want to do this
entirely in actionscript. So far Ive created a emptyMovieClip and added
linestyles to create a simple box (150, 150).
Now what I want to do is duplicate this movie to form a grid, (4 horizontal
and 4 vertical), I w... more >>
Searching for code in ActionScript
Posted by theSaj at 7/25/2005 12:00:00 AM
Greetings...
I am working in Flash 6 legacy code of another programmer. I find that there
are many times in which I have a variable and need to find out where it is
being passed from. However, it seems that Flash is incapable of globally
searching a .FLA for code in ActionScript.
(i... more >>
Adding a multi-line item to listbox
Posted by coconuthead at 7/25/2005 12:00:00 AM
I am trying to add an item to a listbox. I want the item to be on seperate
lines, but when you click on the item it acts as a single item. The code I
tried was:
lbox2.additem = [variabel_firstline]+"\n"+[variable_secondline];
doesn't work. Anyone know if this is possible?
... more >>
mc depth
Posted by dwahlrab at 7/25/2005 12:00:00 AM
i have a flash site with three main buttons that should always remain in FRONT.
However, I am doing a lot of loading external swf's or flv's which means I'm
messing with the _levels a lot. I have grouped the three main buttons into an
mc for cleanliness, and want to designate the highest depth... more >>
Function Problem
Posted by weanderson at 7/25/2005 12:00:00 AM
I am trying to call some basic functions on _mc's, but the actions of the
function are applied to the entire main movie and all clips. Here is what I
have -
On a actions layer in the main movie.
function doSomething () {
this._xscale = 65;
this._yscale = 150;
this._x += 10;
... more >>
Where Have All The Guru's Gone?
Posted by pswtv at 7/25/2005 12:00:00 AM
Dazed and :confused; Hello Fellow Flashers. Am I doing something wrong or is
there a glitch with Flash and multiple dynamic text fields. I place one dynamic
text box on layer " box A", one dynamic text box on layer " box B". I'm
attempting to load the dynamic text boxes with data from extern... more >>
copying and then dragging a movieclip woes
Posted by cognitia at 7/25/2005 12:00:00 AM
Hi,
I'm loading an external movieclip into my document with the
MovieClipLoader.loadClip() method which works fine. I then use a function for
an onPress on the loaded clip to try to effectively duplicate the movieclip and
make it immediately dragable so the user can click on the original a... more >>
batch publish
Posted by Directorgirl at 7/25/2005 12:00:00 AM
anyone know how to batch publish flash mx files?
ive been told the best way is to write my own script for it. any ideas where to get started ??? ... more >>
animated line drawing
Posted by abbot at 7/25/2005 12:00:00 AM
I am using the moveTo and lineTo code to draw a line in my flash movie and I
want to know if there is a way to slow down the appearance of the line on the
screen using these commands. I want the line to be drawn across the screen
like an animated line, not just to appear on the screen suddenl... more >>
wave like effect menu
Posted by JC74 at 7/25/2005 12:00:00 AM
Hi,
I need to create a horizontal menu....when you rollover one button, that
button will enlarge while others will shrink, so it will sort of create a wave
like effect when you move your mouse across the buttons.
Can anyone point me to a place where I can download the fla.
Any help a... more >>
MAKING A GAME
Posted by addicted ta mx at 7/25/2005 12:00:00 AM
ok,
right now i have a ship with velocity but i want to add gravity but have no
idea how to do that.
i have two frames, on the first i have the code :
_root.speedX = 0;
_root.speedY = 0;
and on the second frame i have the code :
stop();
ok, inside the second frame i have four butto... more >>
Less than & greater than...
Posted by e-eye-e-eye-oh at 7/25/2005 12:00:00 AM
if (Val1+Val2+Val3+Val4+Val5+Val6+Val7+Val8+Val9+Val10+Val11+Val12 <16){
gotoAndStop(10);
}else if (Val1+Val2+Val3+Val4+Val5+Val6+Val7+Val8+Val9+Val10+Val11+Val12 >=17
<=21){
gotoAndStop(15);
The above is a small part of the script I am trying to write. I am totalling
12 values and h... more >>
Using Flashvars
Posted by Conrad Cranfield at 7/25/2005 12:00:00 AM
Hi There,
I am a beginner when it comes to actionscript and I am trying to use
flashvars to load variables from an asp page. I have the following code in
my flashmap file:
onframe(1) {
if(vars_loaded=="ok") {
gotoandplay(3);
}
}
onframe(2) {
prevframeandplay();
}
onframe(3) {
map._x... more >>
Moving w/ arrow keys
Posted by Jimmathy at 7/25/2005 12:00:00 AM
I am not very good with acionscript, but I want to make a movieclip move
with the arrow keys. I have a 2005 handbook but the actionscript it gives me
doesn't work. Please post the code I should use to do this.
... more >>
Preserving movie clip inside an object
Posted by J Dev at 7/25/2005 12:00:00 AM
I'm trying to write a class that creates a forest out of many tree movie clips.
Everything seems to be working alright, but when i duplicate the tree clip and
push it into an array i lose the refference and the clip disapears. I can not
figure out for the life of me why this would happen. Her... more >>
Mailto in a template
Posted by hainwilson at 7/25/2005 12:00:00 AM
I am using a template I am trying to modify. It is a newsletter sign up box
and subscribe button. I want to have this form send me the person's email
address to my email address so I can add them to the newsletter list. I can
only find code for the subscribe button.
on (rollOver) {
... more >>
|