all groups > flash actionscript > april 2004 > threads for thursday april 8
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
Help Please .... Loading Issue !
Posted by Stephan_1972 at 4/8/2004 11:12:18 PM
Implemented a pre-loader to main.swf to call a external.swf , now this works
great using the loadmovie() external.swf , 1.......... the problem I have the
pre-loader is loading the external movie into the main movie OK, but then
loading my next frames page on top of the external .swf or behind... more >>
Lost in External Files
Posted by urban65 at 4/8/2004 10:14:21 PM
Hi people,
Hope this question is easy for any actionscripters:
I created a site which consists of a main.swf file that hold two other
external swf files (portfolio.swf and random.swf)
Basically you click on portfolio and the portfolio.swf displays, within
portfolio is a link to load ... more >>
strip commas from VAR..
Posted by th3monk3y at 4/8/2004 10:06:38 PM
Hey all,
I have some numeric variables being pulled from a database via php.
I need to stip the commas from them so I can add them together... currently if
I try to add them, it just shows them as an "array"... _root.deeds.td1 +
_root.deeds.td2
ends up as: 140,000200,000
rather than: 3... more >>
Bug with external file
Posted by gertrude600 at 4/8/2004 9:59:24 PM
Hello everybody:
I'm trying to make my flash movie get external data from a txt format. The
movie arrives to get the data but when I write latin words like ?, ?, ?, the
..swf movie does not reconize then. Can someone help me?
Thanks
Gertrude
... more >>
doing a game
Posted by marcelozep at 4/8/2004 9:06:57 PM
Hello people, im doing a ski game , here it is
www.plan-play.com.br/marcelo/files/ski/
I need to do the follow thing:
Little flags in pairs have to appear in the stage for the dog to pass through,
and some holes and plants.
But, the holes cant appear inside the path made it by the flag... more >>
MouseOver Swap Instance - HELP!
Posted by cuttie at 4/8/2004 8:52:15 PM
Hi there
I have what I hope will be a pretty straightforward query you might be able to
help me out with.
I have an button. I want the button to perform a 'SwapImage' kind of function
(Dreamweaver users will know what I mean) to a seperate instance when rollover
occurs, then back to or... more >>
keep playing animation as a button over state
Posted by yofof at 4/8/2004 8:41:16 PM
i have an animation as button Over state. but when you get off the button and animation hasn't finished you go to Up state immidaitely. how to keep playing until the end after leaving the button?... more >>
Can't create a text field
Posted by Dinghus at 4/8/2004 8:22:26 PM
Okay. I've been round and round with this code. Same code (different names)
I've used many other places but this time it won't work. In another place, in
the same frame, similar code works fine.
When I check the status of tUser I get "undefined". The trace I have in there
shows 0,1 for ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Please Please help me ... ARGHHHH !!
Posted by allnicknamesgone at 4/8/2004 8:17:43 PM
Hi, apologies for the crazed title, but an actionscript problem I am
encountering is driving me crazy!
I am trying to reference a button based on a value passed to a function.
I have a series of buttons, called 'button1', 'button2' 'button3' etc...
When the button is clicked a series o... more >>
trouble with background sound - please help! :)
Posted by DT at 4/8/2004 7:33:12 PM
Hi,
I am working on my first flash site and as it stands right now, the movie
plays x number of frames before hitting a stop
action. The user can then choose the first navigation option - playhead
moves forward to next stop action - meanwhile
the background sound is still playing; good. But i... more >>
Cool effects with Actionscript
Posted by AutoGrooveInjector at 4/8/2004 7:32:17 PM
How would I make an instance of something disappear or dissolve away upon
rollover? Is there a way to reverse the instance's colors as well (negative
colors)? Could I make the instance strobe upon rollover?
There are several effects I want to achieve with this current project; if
there... more >>
simple roll over
Posted by timbo313 at 4/8/2004 7:23:33 PM
Hi,
I am new at action script. I have movie clip A and movie clip B. movie clip B
is invisible. when the mouse rolls over movie clip A, I want movie clip B be
visible. When the mouse leaves movie clip A, I want movie clip B to be
invisible again. Can anyone help me with this?
Thanks
... more >>
stop flv
Posted by big dd at 4/8/2004 7:18:39 PM
i have a 4 sec flv looping on my "master" page as a background element i created using slides.
i would like the loop to STOP once someone clicks on a button(S), i.e. "about us button"..
thanks,
... more >>
Hit Area still not working--what am i doing wrong
Posted by Kay Poe at 4/8/2004 6:36:45 PM
Hi, after being all cocky, John, I thought I had it correct and still cannot
get it. I have also gotten the same answers from two other posters and what is
says in my books (ahem). I guess I am not properly "drawing" the shape around
the text?
My text is in a rectangle, but the text come... more >>
removeMovieClip() not working
Posted by Mark Redman at 4/8/2004 5:50:56 PM
Hi All,
I have a MovieClip(say myMovieClip) which has a linked class behind it, this
class contains other MovieClips that get created dynamically and these also
have their own classes.
when I call for instance: "_root.myMovieClip.removeMovieClip();" It is not
removed from the stage.
If I... more >>
how to make an image persist in duplicated copies
Posted by Ed Massey at 4/8/2004 5:43:51 PM
Version: MX2004pro
FlashPlayer 6+
Problem:
I need to duplicate an image that has been downloaded using loadMovie();
So my approach has been:
Create an empty movieClip, called DZ
Then use DZ.loadMovie("myImage.jpg");
Test whether the image has loaded and, if true, attempt to duplicat... more >>
Problems loading XML into a tree component
Posted by gladden at 4/8/2004 5:24:57 PM
I?m trying to parse an XML file into a tree component. I instantiated an XML
object and set it as data provider in onLoad function.
But I am missing something I think I need to parse the file manually because
when I test I get what seems like an array of unparsed objects([type Function,
... more >>
Quick Array Question
Posted by jon j at 4/8/2004 4:51:29 PM
Hi,
how do you find an array's elements position within an array?
Like:
biggy = new Array
("slideZero.swf","slideOne.swf","slideTwo.swf","slaideThree.swf","slideFour.swf"
);
find what array number "slideTwo.swf" is, should be 3?
What I'm trying to do is a simple slide show, BUT...
... more >>
sleep() ????
Posted by cemack at 4/8/2004 4:26:36 PM
Is there a sleep() or wait() command in ActionScipt? Something to pause the
execution of the current Thread for a specified length of time?
Basically what I'm trying to do is create a synchronous wrapper method for
asynchronous web service calls. (so that a call to the wrapper only returns ... more >>
Another one for the textbox gurus
Posted by kosherMusic at 4/8/2004 4:24:55 PM
Hey everyone,
I've searched the forums with little luck on this, so I thought I'd toss it
out to all of you.....
I have this project I'm trying to finish up early next week, and I'm getting
stuck on something. I am loading in dynamic htmltext from external txt files
(which is working fin... more >>
Simulate holding a key down
Posted by gobi7 at 4/8/2004 4:21:57 PM
Hi
I'm making a small flash game and I have a problem with my character when
moving or slashing.
When I hold my slashing key down, my character starts with his movement, but
he doesn't complete it
and he freezes on the first frame of his movement until i let my key loose.
The same for ... more >>
setting boundaries
Posted by bhouse02 at 4/8/2004 4:20:48 PM
I have some navigation that has a little bar the scales and slides over
underneath the active item. I'm doing that with this on the bar itself:
onClipEvent (enterFrame) {
this._x = _root.nav.navslider._x + (_root.go - _root.nav.navslider._x ) / 8;
this._width = _root.nav.navslider._widt... more >>
Syntax
Posted by chrism59 at 4/8/2004 3:55:20 PM
I need to refer to a movie in a movie . this is done in a loop.
The movie has a name(number)_mc format ie movie1_mc, movie2_mc, etc.
This is the code line
Base_mc.movie(i)_mc.loadMovie("mve"+i+".swf");
I have tried the following:
Base_mc["movie"+i+"_mc"]loadMovie("mve"+i+".swf");
B... more >>
Scroll!
Posted by joo yeon at 4/8/2004 3:39:06 PM
i want to make Scroll bar
like this site.
http://www.fotoek.com/flash/flash.html
click profile. and then you can see it what i want to make it.
please help me!!... more >>
scripts
Posted by propatria at 4/8/2004 3:35:09 PM
can someone tell me where i can get scripts, maybe link me or something.. thanks lol... more >>
timelines, nested movie clips and navigation...
Posted by vancam at 4/8/2004 3:02:38 PM
Hello,
I'm a relatively new Flash user and am learning as I go along....so bare with
me.
I have a flash file that has 3 scenes and in each scene I have several movie
clips. For example, in one scene I have 3 different movie clips (each on its
own layer), a layer with a Next button, a... more >>
loadVariables()
Posted by Kamran Riaz at 4/8/2004 2:51:51 PM
loadVariables is not working. I have double and triple checked script and it is
simple as:
loadVariables("url","GET");
I have tried every other mehod like using POST instead of GET but didn't work.
Any help would be greatly appreciated.
... more >>
Buffer for FLV help please
Posted by rockstarTom at 4/8/2004 2:32:42 PM
Hi,
I have constructed a flah movie which pulls in a flv file. The flash file has
a scrubber and a loadbar. The scrubber can not be dragged beyond the loadbar. I
have set a buffer time of 5 seconds.
The problem is when the scrubber plays on its own and catches up with the
loadbar.
... more >>
a problem with loading 19 asp file every 5 sec.
Posted by ahmed_rushdy at 4/8/2004 1:50:13 PM
Hi, I have a problem with loading 19 asp every 5 seconds in one movie, when I
test the movie in flash it works fine for about half an hour then it starts to
give me an error on loading the asp files, so I check the asp files from the
browser or running the exe of the movie- while the movie is ... more >>
Minimize HTML window from Flash Movie?
Posted by charleuts at 4/8/2004 1:40:10 PM
I have read numerous postings and have even found a script that was widely
posted, that does not work. Before I pull all of my hair out trying to figure
it out, can somebody tell me if it is even possible to minimize an HTML window
from a Flash button. If so, how!?! I have no problems openi... more >>
change mouse cursor on roll over
Posted by timbo313 at 4/8/2004 1:36:30 PM
Hi,
I'm new at flash scripting. When the mouse cursor rolls over a particular
movie clip, I want the mouse cursor graphic to change but have no idea how to
do it. Can anyone help me?
Thanks,
Tim
... more >>
masking on levels
Posted by purple_am at 4/8/2004 12:53:54 PM
Hi
I was wondering if this is possible.
Can you load a few swf on level0 then mask it using script.
thx in advance.... more >>
Record Sound from flash button.
Posted by ChandanTrina at 4/8/2004 11:50:56 AM
Hi,
I have a requirment in flash (MX), where in the user has to click on a
perticular button to open a pop up ,the pop should have a record ,play option
,so when the user click on the record button he can record his voice and then
corrospondingly play it back when he clicks on the play butto... more >>
gotoandplay problem
Posted by Burak Delice at 4/8/2004 11:29:06 AM
hi,
when I call gotoandplay("off"), flash go there but not going on. waiting
there(on as "off" labeled frame.)
first frame include below code;
if (a1==1) {
gotoAndPlay("off");
}
and I have only a single "off" labled frame
why flash is waiting? I also use frame number, and shift label, ... more >>
Reversing a slide show with fades
Posted by consecutiveut at 4/8/2004 11:17:22 AM
I've made a slide show in 2004Professional that fades from slide to slide using
nested slides with transitions as behaviours. But if the speaker makes a
mistake and wants to go back he can only go straight to the previous one. I
want to make it possible to undo a mistake in the show subtly, by... more >>
Dynamic text - HTML not working
Posted by grob at 4/8/2004 11:13:01 AM
I have a dynamic text field linked toa .txt file which is generally working
fine. However, I wish to include some HTML in the text, so have selected
the "Render Text as HTML" button in the Properties window. I am trying to
use simple <b> ...</b> tags in my .txt file, but it is displaying the ma... more >>
droptarget path problem
Posted by jacubu2 at 4/8/2004 10:41:05 AM
Hello all
I have some drop target action that works fine in its own swf,
however I now load it into a master swf and the paths dont work.
The hierarchy is as follows
master movie loads other movie into instance "level2"
the"target" instance is on the root of my other movie
... more >>
Loadvars problem... urgent help here!
Posted by dj-pirra at 4/8/2004 10:30:35 AM
Hi there,
I am trying to send an load vars from a php webpage...and see a progress bar!
How can i do that???
i am trying to do something like this:
first keyframe of the movie:
var dados = new LoadVars();
this.perc.mask._xscale=0;
_root.loading=false;
onEnterFrame = f... more >>
tabstops and loaded variable
Posted by fozzie at 4/8/2004 9:01:37 AM
hi all,
Why does "tabstops" not work when i load the variable from ASP?
the following works:
receivedVar = "Tim\t20\tsomewhere"
content.txt.htmlText = "<textformat tabstops='[50, 200]'>";
content.txt.htmlText += receivedVar;
content.txt.htmlText += "</textformat>";
output =
... more >>
loadMovie - Unexpected behaviour (*not* scope related)
Posted by Peter Blumenthal at 4/8/2004 8:57:03 AM
....or at least I hope not.
I'm experiencing an odd phenomena when loading movies - it has nothing to do
with incorrectly referencing _root in the loaded movie though. Hopefully I'm
being stupid and missing something obvious. I'll try and be as succinct as
possible in my description.
I have... more >>
Can a button be made to swap its own up-state?
Posted by SaaraGlad at 4/8/2004 8:39:47 AM
I'm new to Flash, and would like to put several checkbox-like buttons with
different appearances (completely different, not just theme variations) in the
same file.
In fact, I would be happy if I could make ony one function happen: could a
button swap the content of its up-state on releas... more >>
replacement for wait(), delay(), etc
Posted by geut at 4/8/2004 7:50:00 AM
Hi all,
I have, for example, some code in frame 2 and some code in frame 3 and i
want the program to just simply STOP for let's say 10 seconds after executing
the code in frame 2 and only AFTER THAT to go to the code in frame 3.
If there would have been something like wait(10.000) or... more >>
Att. Mr. Chemey
Posted by Manoj vn at 4/8/2004 6:57:28 AM
[Q]I'd suspect the easiest route is to combine two Learning Interactions[/Q]
Sir,
Can u provide any example file, which implements two learning interactions
combined together. I am not able to control the answer checking with my button.
Thanking you,
MVN
... more >>
fade movie clip in script
Posted by upshotvideo at 4/8/2004 6:28:08 AM
Hi all,
I need help.
I have a movie clip cuttng out when certain buttons are presssed, but I want
it to fade.
Here is my script for having it cut. Thanks if anyone can help.
search_btn.onPress = fuction(){
for(i=100; i>=0; i--0{
elliottPic_mc._alpha = i;
}
... more >>
dynamic instance names
Posted by jmoggio at 4/8/2004 6:07:46 AM
Inside movie clip X I have a variable (var) whose value (movieClipName) is the
same as the instance name of a movie clip on my main timeline.
From inside movie clip X, I can say
_root.movieClipName.play();
This works because it looks on the main timeline for movieClipName, finds an
i... more >>
Escape Key
Posted by EliteMX at 4/8/2004 3:16:39 AM
I'm using Flash Mx 2004 and a SMART OFFICE KEYBOARD EZ-8000.
Key.ESCAPE and Key.ENTER (maybe others too) don't work. Could it be the
keyboard. Anybody else have this problem or a solution. These keys also don't
return any ascii or code values. The other keys work fine. Please Help!
... more >>
trace full path
Posted by paul pheonix at 4/8/2004 2:31:40 AM
trace (this._name);
If I use the above line in my code it returns the instance name right..
How can I return the instance name and the path form the root timeline?
eg
_root.1stmovieName.2ndmovieName.targetmovieName
Thanks..
... more >>
Mouse is out of flash, detection
Posted by SimonBoris at 4/8/2004 2:20:29 AM
i want to know when the mouse of the user is not over the swf in the browser...
The only way , and it's a cheesy one, is by creating a button the size of my
swf. When i do that, i am able to have an action on the
onRollOut/onReleaseOutside even if the mouse is outside the flash.
Since the ... more >>
need help with a script, please...(im new)
Posted by danago at 4/8/2004 1:42:02 AM
on my first scene, i have an imput text field and a go button. the button takes me to my next scene. how do i use the text the user has imputed on the second scene. ... more >>
getBounds()
Posted by marcelozep at 4/8/2004 1:06:41 AM
Any one can tell me what and for what ill use or i can use "getBounds()"?
Thanks
marcelozep[E=my email, marcelozep@hotmail.com]marcelozep@hotmail.com[/E]... more >>
controlling attached movie clips
Posted by jmoggio at 4/8/2004 12:52:35 AM
In MX 2004, can I control a dynamically created (attached) movie clip by
referring to its instance name?
On the main timeline, I have a manually created movie clip with instance name
"testClip", another manually created clip with instance name"queue", and
another clip, created dynamically ... more >>
Listeners
Posted by jacksiegel at 4/8/2004 12:22:00 AM
I am new to Flash and having trouble with event listeners. I want to check the
key board choices when a user enters data into a text field.
My basic script looks like this
pageNumber_txt.onKeyDown = function() {
trace("Test");
//Code that would look at the ascii ... more >>
Srtip zero from string..
Posted by th3monk3y at 4/8/2004 12:17:08 AM
Hi all,
I am using php to load my comboBoxes for day, month, year... problem is...
php/MySql returns the day as "07" rather than "7"
Inside of flash i am using...... from_month.setSelectedIndex(myVarFromPhp);
to set the comboBox
works fine if I hard code my variable inside flash...
... more >>
|