all groups > flash actionscript > august 2004 > threads for tuesday august 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
mouse detected scrolling interface
Posted by farts a lot at 8/10/2004 11:09:21 PM
Using this script to provide a auto scrolling interface. Need an area in the
center that does not scroll. Also wanted to add the _ymouse scroll too.
onClipEvent (enterFrame) {
shift = ((400-_root._xmouse)/20);
if (((this._x>=1300) && (shift>0)) || ((this._x<=-500) && (shift<0))) {
shift ... more >>
Trace actions not working in Flash MX 2004
Posted by casbeck at 8/10/2004 10:38:27 PM
I can't get trace actions of any kind to work ever in flash MX 2004! I made
sure the omit trace actions button was not pressed. I made a new file, and put
a trace in it, still nothing. Has anyone else had this problem? I did a search
and somebody had this problem with the trial, but I have the... more >>
create function to control multiple movie clips
Posted by schum043 at 8/10/2004 10:10:58 PM
I am an Action Script newbie trying to create an interactive flowchart in Flash
MX. Each of the steps in the flowchart is a movie clip with a unique instance
name. I am trying to create a function that will run when a step is clicked. I
want the function to take the instance name of the clicke... more >>
multiple sets of cue points one listener
Posted by cletus_snow at 8/10/2004 9:51:10 PM
Hi -
I have a movie that plays a progressive video. When certain cue point
comes it changes a slide (powerpoint graphic).
I have the exact same video on a different movie with closed captions. They
both work fine when the cue points are listening to one broadcaster, but when
I try... more >>
EmptyMovieClip Size
Posted by djmdevelopment at 8/10/2004 9:00:04 PM
I am currently loading an external jpeg image into an empty movie clip by using
the below script:
this.createEmptyMovieClip("myImage", 0);
myImage.loadMovie("images/main_image.jpg");
The problem is when I view the movie the jpg image is very small. My question:
Is there a way to create... more >>
jumping ahead multiple frames instead of just nextFrame()?
Posted by Kristan at 8/10/2004 8:39:08 PM
Hi, I need to have a button move the timeline not to the next frame but at
least two frames ahead and I can't use labels or specify frame numbers. Is
there any way to do this with actions script?
here's what i need to do (but move it ahead more than one frame):
on (rollOut){
this.myMovieCl... more >>
movie only playing once per day on open
Posted by ChrisAudano at 8/10/2004 8:34:22 PM
I have a Flash Nav Bar on my intranet home page with music added as well as a
skip/replay button. Since it's an intranet, employees will close and open the
browser several times a day. I would like the Flash movie/music to play once
per day without having the employee click on the skip butto... more >>
Using getURL to open new pages in the same window
Posted by larkydoo at 8/10/2004 8:27:48 PM
I'm using the following actionscript in a flash movie:
getURL("help/help" + helpFileNum + ".html", "helpWindow");
It opens the browser and loads the file correctly, depending on the value of
helpFileNum, but opens a fresh window with each new instance of helpFileNum.
That is, it will ope... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
finding future date
Posted by rezun8 at 8/10/2004 8:24:54 PM
hey guys,
I am using a standard date/time component that I found. I want to be able to
have 2 dates displayed. the fiirst being the current date. and the second date
being 6 weeks from the current date. Any ideas on where to find info on how to
do this??
Thanks board !
... more >>
Modularized Flash Presentation
Posted by erussellatwork at 8/10/2004 6:54:00 PM
I want to develop a modular Flash Presentation where I have a main slide
presentation that loads and runs external presentations. So the main
presentation is pretty much just a menu. When you click a menu item, an
external presentation is loaded and run (loadMovie). But I have a couple of
... more >>
Downloadable links??? Please Help!
Posted by bobmorgan at 8/10/2004 5:05:42 PM
OK, I've got a "Download PDF" button on the stage with no action assigned to
it. I've got a pdf called "Instructions.pdf" located in the same folder as all
of my site files. In the final website, I want the end user to click on the
button and have the file automatically be downloaded to the th... more >>
Stop and Play Buttons
Posted by TKW at 8/10/2004 5:02:16 PM
Hi.
A newbie question.
I want music to play on load. Which I can set up without actionscript. I
also want a play and a stop button viewable at all times. I can get the stop
button to work with: on (press, release) {
stopAllSounds();
}. But I can not get the play button to play... more >>
Flash preloader
Posted by spawn2004 at 8/10/2004 5:00:08 PM
Ok.Here is my problem:
Let's just say i have in flah mx 2004 a dynamic text (with the variable named
"txt") and a movieclip (with the instance name "my_mov").This movie clip is
loading an image and in the same time i want the dynamic text to show the
percentage of the movie clip that is loa... more >>
I need help understanding attachMovie()
Posted by joe at 8/10/2004 4:53:48 PM
I am having difficulty controlling a clip that is generated using
attachMovie(). To better understand this, I built a simple flash doc with 3
buttons labeled red_btn, blue_btn and green_btn. Each of these calls the
playButton() function and passes the name of a movie clip. There are also
STOP an... more >>
Can I duplicate an EmptyMovieClip w/ a JPG in it?
Posted by danoliv at 8/10/2004 4:43:30 PM
I've created an empty movie clip with a jpeg in it, so that I can manipulate
the movie clip/image as a movie clip button. However, when I try to duplicate
it, it doesn't work. Here's the code... The last line duplicates the movie clip
but doesn't include the image in it. Could anyone help?
... more >>
obliteration
Posted by Edwin Merced at 8/10/2004 3:33:34 PM
How can I totally obliterate and exterminate this Frankenstein I have
created in one frame?
this.createEmptyMovieClip("bookhere_mc", 1);
loadMovie("pageflip_v2.swf", "bookhere_mc");
... more >>
textformat.bold
Posted by Alikat at 8/10/2004 3:15:50 PM
I am trying to use textformat.bold to make text bold when it is rolled over.
Here is my actionscript but i'm not sure how to add the bold part:
portfolio_mc.onRollOver = all_mc.onRollOver = software_mc.onRollOver =
market_mc.onRollOver = recruit_mc.onRollOver = publish_mc.onRollOver =
edu... more >>
when i try to add a gotoandplay(); error
Posted by Foomanlinux at 8/10/2004 3:01:32 PM
**Error** Scene=Scene 1, layer=Work Area, frame=1:Line 1: Statement must appear
within on handler
gotoAndPlay(15);
Total ActionScript Errors: 1 Reported Errors: 1
I just have this one button on the screen. I actully going though the flash
lession for creating buttons and im get... more >>
ftp from flash
Posted by Germán Fonseca P. at 8/10/2004 2:55:58 PM
Thats all guys i need to do a button instance and when a user do click over,
start to download a file from the server, any ideas, comments will be
appreciate
... more >>
Removing movie clip - Imported .swf fie
Posted by Flu Films at 8/10/2004 2:52:38 PM
I have a project which loads a .swf file into the stage, this works perfectly.
So you click on a certain symbol and flash loads sun1.swf into the project...
sun1.swf - which I created has the start & stop drag feature succesfully
scripted into it and it works fine, I want to add the feature ... more >>
"Key" object?help me PLEASE
Posted by Mr Bliksem at 8/10/2004 2:46:24 PM
Hello,
I am trying to get flash to respond to presses of specific keys, by selecting
the first frame of the Main Timeline, and ActionScripting
(for example) " if (Key.isDown (Key.SPACE)) {gotoAndPlay (2)
} "
According to my (very limited) knowledge, this should produce the desired
r... more >>
Setting the depth of a text box
Posted by chrscote at 8/10/2004 2:45:42 PM
I am using a text box in my flash movie as a tooltip-like movie clip. The
problem I'm having is that because the tooltip textbox is in the _root level,
it appears below some of the movie clips I've attached the tooltip code to. Is
there a way to set the depth of the textbox or, if I have the... more >>
root.gotoAndPlay Query!
Posted by Paul Herbert at 8/10/2004 2:33:37 PM
Hello Flash Folks!
Please come to the rescue of a graphic designer playing around with Flash
Actionscript!
I have created six scenes and want a navigation button to sequence through the
scenes one by one. I have two buttons (next) and (previous) and have added a
frame label to the ope... more >>
Flash reformats HTML tags
Posted by Denbear at 8/10/2004 1:57:54 PM
I have HTML text formatted in an external XML file. When I parse the XML nodes
and assign the HTML formatted text a text field generated with createTextField,
some of the HTML tags are changed. For example, one nodes contains the
following:
<p><b>The Task List Text Box</b></p>
<br />... more >>
go to end of input text
Posted by asilter at 8/10/2004 12:33:16 PM
when a character entered in a textfield, i do some formatting operations but i
want the cursor always stay at the right of the last character, at the end of
the word entered.
how do i handle? because after formatting cursor stays somewhere in the middle
of the word entered.
... more >>
Please Help~~! Navigation Problem~!!
Posted by Ericlim at 8/10/2004 12:31:28 PM
Hi All,
I'm facing a big problems which need your helping hands. Let me explain...upon
clicking the Menu, the subtitle will be shown. The table line shown bold border
with 1 pixel gap in between. Below are my Actionscript, if my eplanation is
confusing plz refer my attached file. Thank you
... more >>
Giving MC a tail.................How?
Posted by Lucy4 at 8/10/2004 12:27:03 PM
Please can you help? I'm working on a flash site and have created a dragable
menu (a movie clip that has a button with a startDrag/stopDrag command). Want I
would like is when somebody clicks and drags the menu it is 100% visible, but
there's a duplicate underneath that gradually get fainter; ... more >>
Opening a new HTML file in a seperate frame...
Posted by Dr Dav at 8/10/2004 11:57:58 AM
Hi,
I got a simple problem for u guys, I created a menu bar in flash, however, i
want to open the new link in the frame below the one containg the flash-menu,
can anyone help me with this, this is for my dissertation.. I hope someone
outhere can help.. the link at the bottom is to what i h... more >>
Dynamic Text File within a movie clip
Posted by Danny S at 8/10/2004 11:51:00 AM
I am trying to load a text file into a dynamic text box in Flash MX. I can get
this to work on the timeline, but i need it to work from within a movie clip.
Here is my code taken from Laiverd.com tutorial -
// create a new loadVars object
mySimpleText = new LoadVars();
// use the loadVar... more >>
Need help controlling attached movie clip.
Posted by joe at 8/10/2004 10:35:14 AM
I've got a function that load a movie clip. I don't want the clip to play
until an event calls it. I've tried putting the stop() on the first frame of
the attached movie and putting gotoAndPlay(2) on my event trigger.
I took the stop() off the clip and tried telling it to stop when it loads.
T... more >>
Help with placing a symbol randomly on the stage
Posted by Clifford Boobyer at 8/10/2004 9:57:45 AM
Hi,
Anverc kindly provided some feedback from my earlier post, would anyone have
feedback why this might be causing errors? I have subsituted the "symbol"
for the name of my symbol and have placed this script on the first frame of
my movie. See error and earlier post below.
Thanks,
Cliff
... more >>
Flash and XML
Posted by nvinod at 8/10/2004 9:57:26 AM
Hi,
This is reagrding Flash and XML. I have a flash application which requests
some information (XML data) from a remote server and presents the data after
processing the xml data. I have managed to get the data and process it and got
it working in Flash. After publishing, when I tried th... more >>
load from servlet
Posted by loressatm at 8/10/2004 9:57:07 AM
Can anyone to tell me how to load varibles from a servlet on server Tomcat4.0... more >>
ftp from flash
Posted by Germán Fonseca P. at 8/10/2004 9:47:05 AM
Hi guys, I need to download files from flash, any can give me some ideas how
to do this, or refer webpages....
Tx
Germán Fonseca P.
... more >>
stop duplicated movie clips
Posted by Git at 8/10/2004 9:11:16 AM
Hi, I am trying to stop a series of duplicated movie clips playing.
The movie clips are duplicated using this A/S:
if (i<10 && _root.stopmovie != 2) {
duplicateMovieClip("fl", "fl" add i, i);
setProperty("fl" add i, _alpha, i*8);
setProperty("fl" add i, _x, random(3)+xx);
i = i+1;
}
... more >>
Start drag/Stop drag/ Remove
Posted by Flu Films at 8/10/2004 9:06:16 AM
I have a move-symbol which is draggable, I would like it to be removable I
thought the below script would do it but obviously not - any ideas anyone? -
The dragging all works, it's just the removing that is faulty
on (press) {
startDrag("");
}
on (release) {
stopDrag();
}
on (k... more >>
Send values to a txt file
Posted by loressatm at 8/10/2004 8:31:12 AM
Hi everybody!
How is possible to send data to a file?I try to load data from a file,process
it and theb send it to the same file.My problem is that I can't save data.
Here is my code:
myURL = "D:/wrk/lorc/Flash/Aplicatii/Joc/variabile.txt";
myObject = new LoadVars();
myObject.load(m... more >>
Can Actionscript calls client side OCX/Dlls?
Posted by janice_2k at 8/10/2004 8:02:35 AM
Dear gurus/ members,
I am very new in actionscript and internet security members. I would like to
know whether is it posible that Actionscript launch OCX/Dll files that is
stored in the user's computer, from my website? I have a button on my website
that will launch an application that is ... more >>
Urgent help needed on actionscript
Posted by imlazuli at 8/10/2004 7:41:55 AM
Hello there!
i am new to action script with a poor background of scripting :) i need to do
simple scoring for 3 questions each on different frame given with multiple
answers with total score to be showed on another new frame.how can i do that?
plz plz help me
any help would be appreciata... more >>
Flash buttons linking problem
Posted by chrisis timer at 8/10/2004 7:17:49 AM
I'm busy making a site with Flash pieces and then in dreamwaver, I've made my
buttons etc. in flash, but how should I do the linking, if I import them to
dreamwaver and place them uppon mly site, my lay-out seems nice, (For me ;))
but now the linking thing won't work. Should I do that linkning... more >>
making movie executable
Posted by tan_sh at 8/10/2004 5:40:23 AM
Hi all,
Please help me with this..as am badly stuck up...
understand this...
i have different swf files which i want to invoke it internally.
so what parameters should i pass so it makes my movie executable?
Pls help me as it is very very urgent
lol
tanvi
... more >>
speeding up XML
Posted by Whittaker007 at 8/10/2004 4:50:10 AM
Hi there,
I am well underway on a project that loads data from external XML files into
Flash templates. It works well, and does everything I need from loading images
and text to creating buttons and menus. However I am a bit concerned about the
speed of loading the data. My XML files are a... more >>
dynamically replace part of statement
Posted by ohmlpc at 8/10/2004 4:23:48 AM
how do I dynamically change part of this statement:
_root.mClip1._alpha += 5; //I want to dynamically change just mclip1 to
say mClip2, etc.
I have the following:
movie instances named mClip1, mClip2.
onClipEvent(load){
clipNo = (Math.floor(Math.random()*2+1));
th... more >>
Datagrid sort number
Posted by maulia at 8/10/2004 3:56:23 AM
How do you do a number sort in a datagrid? (everything is taken as a string).
I've done a research around and found
http://oddhammer.com/blog/comments.php?id=82_0_1_0_C ,
but don't really understand the algorithm. Any one else has any solution?
It's kinda annoying when
3500
51
80000... more >>
Playing Movie Clip in Press Event of Button
Posted by Jimco at 8/10/2004 3:11:54 AM
I would like to play a movie clip (one that's in my library) when a button on
the stage is clicked. I originally had simply placed this movie clip in the
Down state for the button, but I actually want the clip to play when the button
is clicked, not when the mouse is held down on the button.
... more >>
Problem with Duplicating Movie Clip
Posted by jthereliable at 8/10/2004 1:26:27 AM
I can't make duplicate my bullet! The bullet name is "normbullet". It is in the
"_root" area. "this.barrel" is the shooting thing for the tank. If you can help
me thanks.
Here is the code:
onClipEvent(load)
{
speed=0
n=0
thisx=0
thisy=0
rotat=0
}
onClipEvent(enterFra... more >>
Fade-in and out effect on new site
Posted by tengan at 8/10/2004 1:13:00 AM
Hi m8s!
Need help with creating an fade-in and out effect when you press a link,
on(release). But, the fade is not gonna look normal. It shall fade-out
different pixels (more like cubes with different measurements) at different
times. So the whole page doesn't fade at the same time, but di... more >>
TARGET Error Message?
Posted by kevin_tx at 8/10/2004 1:01:11 AM
Can anyone in here make sense out of this error message?
Target not found: Target="mc_glossary" Base="_level0.instance2"
What is the _level0.instance2 in reference to?
Thanks in advance for your help -
Sincerely,
Kevin
McKinney, TX
... more >>
|