all groups > flash actionscript > march 2004 > threads for wednesday march 31
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
Removing Duplicated Clips?
Posted by grob at 3/31/2004 11:18:38 PM
Is there an easy way to remove all "duplicated" clips, i.e. those that have
been created using the
duplicateMovieClip() method from one or two master clips?
Until now I have tried to delete them one at a time.
Thanks
Geoff
... more >>
Changing the Instance in a Mc?
Posted by grob at 3/31/2004 11:07:59 PM
I want to swap an instance in a MovieClip. How do I go about scripting a
swap?
Thanks!
Geoff
... more >>
Manually Controlling Movie Objects
Posted by JazzinAl at 3/31/2004 11:01:17 PM
As part of a Flash presentation Im putting together, I'm including videos of
some rotating 3D objects Ive created. What I'm seeking is to have the user be
able to control the rotation of the objects. The movies are very simple 360
revolves around the object. I've achieved partial success just ... more >>
alt text on rollover
Posted by Donovan_R at 3/31/2004 9:59:43 PM
I have created a menu for a web page I am working on. The menu buttons react
to rollover and press (the text changes colors) but I also would like something
similar to HTML's alt tag so that I can put alt text in for these items. Is
this possible and if so how can I do this?
Thanks
D... more >>
javascript issue? object Window - mozilla browser
Posted by mediumbear at 3/31/2004 9:49:59 PM
okay, so i've got a problem. my button, which has this actionscript/javascript
attached:
(on(press){getURL("javascript: window.open('url',' ','width=800,
height=400,directories=no,status=no,menubar=no,scrollbars=no,toolbar=no,resizabl
e=yes');");}
and this works to open a new window wit... more >>
controlling MC
Posted by Vox at 3/31/2004 9:38:28 PM
Hello all,
Problem is, On a button, if i have code to load an external MC but also want a
movie clip thats already on the main movie timeline to do something for example
change to a different picture. how would I do this?
Any Help is greatly appreciated
thank you
PS: Im using mx2... more >>
Matts mailForm
Posted by jolyon_russ at 3/31/2004 9:09:24 PM
I have an interesting dilema.
I wish to create a flash webform.
I am familiar with actionscript, I know that I will could use the
LoadVars.sendAndLoad() method.
The problem I have is my web host has a copy of Matts formMail.php script on
the server which it suggests all users, use.
... more >>
HELP - xml not loading the second time
Posted by qo11746 at 3/31/2004 8:47:00 PM
Howdy all
First time poster long time listener... ha ha oh well, I have recently started
playing with flash and xml so please forgive me if ask a stupid question. I am
working on a project that seems to be functioning correctly the first time the
page is loaded (see: http://atgapp01.clarian... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multiple Combo Boxes with same data
Posted by DaOrangeMan at 3/31/2004 8:45:37 PM
I am trying to populate a large series of combo boxes(up to 60) on a page with
all the same values, initially.
I borrowed some code that suggests a list (array) approach and came up with
this:
SemLabels = ["--","FA/0","SU/04","SP/04","FA/03"];// combo labels
SemData = ["","FA/0","SU/04... more >>
***help with yet another very basic question
Posted by maria77 at 3/31/2004 8:38:31 PM
You people rock! Thanks for your help. Here's my current situation: when an
element on the stage is clicked it opens a movie in a separate window. I
haven't figured out how to make this new window be the exact size as the movie
(instead of default browser size), un-scaleable and without the to... more >>
Loading HTML formatted text
Posted by acornelio at 3/31/2004 7:39:48 PM
I am trying to load html formatted text into a dynamic text field using the
LoadVars function. The text does not seem to load. nothing displays in the text
field. This is the actionscript I am using. I have also turned the HTML format
button on in the properties inspector to see if this works... more >>
Parent blocking children from getting mouse events
Posted by jhurshman at 3/31/2004 7:30:09 PM
Hi all,
I'm relatively new at Flash, being more of a Javascript/DHTML/PHP/ASP kind of
guy. I hope someone here can help with this problem:
I have a clip which is a US map, into which I dynamically place a number of
points (using createEmptyMovieClip). These points have onPress, onRollOve... more >>
wrong URL in loadSound
Posted by einmong at 3/31/2004 7:13:32 PM
mySound= new Sound();
mySound.loadSound(myChilds[index].attributes["src1"], true);
.
.
in this code,
if the URL-myChilds[index].attributes["src1"]- is wrong
I want to run next Code,
mySound.loadSound(myChilds[index].attributes["src2"], true);
as this code,
try{
code 1
}
c... more >>
Scroll pane doesent work!!!
Posted by myckelh at 3/31/2004 7:11:16 PM
I can?t seem to get a response from this previous thread, so I started a new
one hopping someone has an answer.
I?m using 3 separate scroll panes on the main time line that load swf files.
The problem is that when the site is loaded, the scroll pans don?t work, until
you refresh the enti... more >>
Per frame functions
Posted by Andrew Hannon at 3/31/2004 6:41:14 PM
Is there a way to get a bit of code to execute each n frames (or per frame)?
Andrew Hannon... more >>
Graphic properties
Posted by Andrew Hannon at 3/31/2004 6:39:41 PM
Hello,
I would like to access the (x, y) values of the kind Graphic, but I'm not sure
this is possible. I tried things like:
trace(this._x()) => output was: "undefined"
trace(this._x) => on two seperate frames, where the graphic was in different
parts of the window, the output was: "0... more >>
getURL Help
Posted by Dichotmist at 3/31/2004 6:35:53 PM
Ok for testing I tried to get the Flash Movie I've been messing with to go to a
html file when it gets to the last frame. I put in the following code.
stop()
getURL("C:\Documents and Settings\tfaux\My
Documents\fauxden1\main\home.html"); This does nothing except stop the movie??
What am ... more >>
Print Job class - bitmap printing error
Posted by gcjong at 3/31/2004 6:20:35 PM
Whenever I try to print 2 pages with the option printAsBitmap:true, it will
print the first page as vector and then the following pages as bitmap (with all
pages set to print as bitmap). I've attached some sample code which prints the
first and second frame of the _root timeline.
Has anyo... more >>
setBufferTime() and media components
Posted by Star32809 at 3/31/2004 5:51:26 PM
I'm trying to get the setBufferTime() to work with the media display component.
I have the media player working fine using a combination of the controller
component and the media display component, but I need to increase the buffer
time before play begins. I have tried placing the command seve... more >>
emptyMovieClip -> loadMovie
Posted by Dennis Landi at 3/31/2004 5:06:33 PM
Can I do this?
<snip>
var myMC = _root.createEmptyMovie('mc01',1);
myMC.loadMovie('myMovie.swf');
</snip>
I know that I can load a JPG into an emptyMoveClip, but can I load an SWF?
Thanks,
-d
... more >>
Actionscript 2 Help
Posted by Quake_92 at 3/31/2004 5:01:43 PM
Hello, im new to actionscript, but not entirely to flash, and can somone please tell me a could online free course to help me with learning Actionscript 2 or just the basics at least to ActionScript 2... more >>
simple button problem
Posted by kellfire at 3/31/2004 4:55:32 PM
I have a situation where you mouse over a button and a MC plays creating a
dropdown menu. sometimes if you rollover it quick it plays and when you rollout
it doesn't go away it just stays open. is there a way to remedy? perhaps some
sort of mouseover timer? am I missing something? should Idrin... more >>
Loading an external movie on a specific frame.
Posted by kingato69 at 3/31/2004 4:11:22 PM
Noobie here....Simple but I don't get it
I am loading an external movie and I want it to load an specific frame of that
movie right at start.
I am using this
on (release) {
loadMovieNum("details.swf", 0);
}
I read about the _level so I added
on (release) {
loadMovieNum... more >>
Covered, but still clickable buttons
Posted by Shawnatmindcomet at 3/31/2004 4:06:56 PM
This is an old problem that I have never found a solution to and I'd like to
see if anyone has one. The problem is that when you have a buttton on the stage
and it gets covered by another movie clip...etc.. you can always still click on
the covered up button. I know I can manually hide each in... more >>
passing variables between 2 movies
Posted by Aglaranna at 3/31/2004 4:02:08 PM
I wanna pass variables between 2 movies, using loadMovie("url",0) Is it
possible to pass on a variable when I don't load the movie in a MC? The 'new'
movie loads in the same level as the old movie, cause I want it to 'replace'
the first movie. But I wanna pass on a variable as well, is that po... more >>
check if file loaded
Posted by abbot at 3/31/2004 3:58:42 PM
can anyone help me in writing an actionscript that will check if a file has
been loaded. My goal is to be able to check if the file has been loaded and
then skip the playhead ahead if it has, instead of having it preload everytime.
I found some very helpful code at www.flashguru.co.uk/000310... more >>
Dynamic text, duplicateMovieClip and SCROLLPANES.
Posted by pazzoboy at 3/31/2004 3:50:26 PM
Hello, I have a movie that has the code below, which works perfectly (I've
removed a lot of the code for the functions just to keep it short). What I'd
like to do is import this movie into a main movie and have it displayed in a
scrollpane. Ugh. It's just not working. I've tried putting th... more >>
enterFrame
Posted by fullyarmed at 3/31/2004 3:37:22 PM
Evening all,
Is one enterFrame script executing 10 lines of code easier on the Flash
Player than 10 enterFrame scripts each executing 1 line of code?
I'm building a game which currently has multiple enterFrame scripts on the
go, and I'm getting a lot of slowdown.
Any help much appreciated... more >>
[OT] To Macromedia : webversion vs. newsreader (again)
Posted by Laiverd.COM at 3/31/2004 2:41:46 PM
Please dear folks at macromedia, start taking care or a proper translation
of webforum posts to newsreader format. This is really becoming quite
irritating:
1. attached files once used to show up as link in the newsreader; now they
are gone; if someone attaches a file to a post in the webforums,... more >>
Dynamic Picture loading
Posted by Veritas13 at 3/31/2004 2:30:54 PM
I have a client that wishes to be able to have pictures loaded into the flash
site from an images folder. i tried using the loadmovie and load varribles
function to post a picture into a dynamic text feild, but nothing appears.
further more i would like the pictures to change randomly like a s... more >>
random numbers in an array
Posted by Manoj vn at 3/31/2004 1:52:09 PM
I want to get an array of numbers 1 to 100(without repeatation). While cliking
on a button the array shoud toggle . Thankful to have any code , as i dont
have that much programming knowledge.
Thanks
... more >>
Text color change
Posted by Mediagrin at 3/31/2004 1:49:25 PM
Hello,
Does anyone know how to change the individual character colours inputted into
a dynamic textfield?
For example if the user clicks a button labelled "A" a red "A" appears in the
textfield and then the user clicks a button labelled "B" and a black "B"
appears in the same textfield... more >>
Text in my movie from a text file
Posted by Salaro at 3/31/2004 1:37:25 PM
Hi
I have been away from Flash developments for 2 years and now with Flash 6 I
see so many changes.
I have requirement to do something very quickly and going through my old books
did not teach me how to link my text elements from text files.
Ideally, I want to create a flash movie th... more >>
combobox AddItem
Posted by ChrisLangstraat at 3/31/2004 1:20:48 PM
I have an combobox with 150 item's it's for a PDA. When I used the "normal"
combobox it filled in no time, but when i use the combobox from the device
component set it takes like 10 seconds before the list is generated. Is this a
bug or should i fill it in an other way.
Now i use this:
... more >>
embedding image in a text box?
Posted by master at 3/31/2004 1:14:55 PM
Hi !!
I want to display text and within the text, i want to display an external
image(loaded on the runtime). This image needs to be displayed with diffrent
text, at different location in the text. I wanted to know if there is any way
to do this.
Regards,
Gunjan Gupta
... more >>
embedding image in a text box?
Posted by master at 3/31/2004 1:14:07 PM
Hi !!
I want to display text and within the text, i want to display an external
text. This image needs to be displayed with diffrent text, at different
location in the text. I wanted to know if there is any solution to do this.
Regards,
Gunjan Gupta
... more >>
movieclip within movieclip not working
Posted by geut at 3/31/2004 12:26:06 PM
Hi,
I have this problem: I have two movie clips - [i]big_movie[/i] and
[i]small_movie[/i]. On the scene i put one instance of [i]big_movie[/i] and one
instance of [i]small_movie[/i]. The [i]small_movie [/i] clip has a 'mouse over'
effect applied to it. The [i]big_movie[/i] clip contains ... more >>
Shared Object: Mute sound over diff html page swfs
Posted by Nankypoo at 3/31/2004 12:19:15 PM
Hi all, I'm trying to set-up a site with separate swfs on separate html pages.
I would like the user to have the option to mute the sound. I can do this fine.
Problem is that as soon as you load a new page the sound by default is back on
again. I have tried to use a Shared Object to store a si... more >>
Radiobuttons and feedback
Posted by flipswitch at 3/31/2004 11:43:49 AM
I have created a questionnaire where the user can pick 1 of 3 alternatives
(radiobuttons). When the user submits the answer I want the submit button to
verify that the correct answer has been picked and IF correct answer an image
will show up.
radiobtn "answer1a"
radiobtn "answer1b"
ra... more >>
Importing problem
Posted by Manoj vn at 3/31/2004 11:38:05 AM
Hi forum,
I have a master fla file and two client fla files(c1.fla, c2.fla). My client
files contains some textboxes and buttons. While i am importing the clients
from the master fla, these text boxes are not visible and buttons are not
having their properties. Please give me a feasible sol... more >>
movieclip, slow start then smooth
Posted by savlanoot at 3/31/2004 11:21:35 AM
Hello,
I have created two movie clips, one moving up, the other down and each stops
at a certain point. It works, however both objects begin slowly and then smooth
at the end, like it's starts out at a jog and then runs smoothly at the end.
Any advice?
onClipEvent(load){
_y = 320.8;... more >>
Masking a line
Posted by tanhy at 3/31/2004 10:41:00 AM
HI,
How can I draw a line on a movie clip, and then mask the line so that the movie clip will look empty?
Thanks... more >>
Interesting: ActionScript and Sound()
Posted by Alex at 3/31/2004 10:27:52 AM
Usually to control a Sound() object via AS it's necessary to export the
sound for ActionScript with the result that first frame's weight grows very
much sometimes...
I tried to resolve the problem using this solution, which I don't understand
so much in some aspects:
1) create a movieclip o... more >>
Flash XML/AOL/WinXP slideshow problem
Posted by mcallari NO[at]SPAM comcast.net at 3/31/2004 10:13:50 AM
I developed a flash slideshow with three different sections that use
it's own xml file to call out to the images in the slideshow. When
each image loads an external preloader is attached in order to keep
flash from advancing until the image is fully loaded.
The slideshow works great on dial-up... more >>
localtoGlobal (again) HELP please
Posted by grob at 3/31/2004 10:12:51 AM
I thought this post may have been overlooked, as I've had no replies. Here
it is again..
................
I am working on a lesson test. I'm creating some new movieClips (they are
animated correction marks - ticks and crosses) via actionscript and placing
them beside some RadioButtons just... more >>
Combobox and Loader Class Issue : )
Posted by missing in ActionScript at 3/31/2004 7:53:34 AM
I am working on a project. However I am a bit stuck. Because the sexy halo
combobox isn't working.
The combobox is nested inside a swf file an loaded inside the Loader
component. If I assingn undefined to _parent._parent. Like this _parent._parent
= undefined (works with the window compon... more >>
The path of a Shared Object?
Posted by sunn.net at 3/31/2004 6:33:57 AM
When you run the getLocal method of a Shared Object object, there is an
optional path parameter, what kind of path can I put it there? Should it start
with a slash or not? Which slash do I use? Please give me an example and tell
me where the SOL file will be stored for that example, if it is p... more >>
LoadVars.send by method POST is doing GET!
Posted by sunn.net at 3/31/2004 6:26:42 AM
Here's the code:
send_btn.onRelease = function()
{
out.mmmtxt = mtxt.text;
out.send(_root.host + "/send.php", "", "POST");
mtxt.text = "";
loadMess();
};
When the page loads the url is has GET methods on the end:
?c=%5Btype%20Function%5D&mmmtxt=vcghvjggvkh
Where mtxt.te... more >>
Creating Components
Posted by Manoj vn at 3/31/2004 5:53:02 AM
Hi forum,
I am starting to develope a quiz in flash. I don't want to use the components
provided by macromedia, as it limits my veriety of questions. Can i make my own
components for the quiz template? Or what is the easy way to get clear this
problem. Itwill be time consuming to code for ... more >>
MovieClipLoader bug
Posted by sputnikenmeister at 3/31/2004 5:12:29 AM
// Can't load to _root, _level0, level1 with MovieClipLoader
// this works:
_root.loadMovie("index.swf");
// this doesn't:
var loader = new MovieClipLoader();
loader.loadClip("index.swf", _root);
// Another bug: Can't attach code with the "attach code" button on this forum:
I g... more >>
Persisting data for results page
Posted by DarkRide at 3/31/2004 3:38:08 AM
I have a pretty straightforward training project that consists of only one
scene, but many movie clips, timelines, object instances, etc. that have all
been scripted. How can I persist the data through this whole mess to pass the
results on to the user in the last frame of the main timeline?
... more >>
gotoandplay from a movieclip
Posted by paulsakebomb at 3/31/2004 3:27:43 AM
Even though this seem straight forward i can't seem to get it to work. I want
to target the main timeline and a certain scene and frame from a movieclip.
i've tried:
_root.gotoandplay("scene", 5);
and just plain
gotoandplay("scene", 5);
and neither seem to work. what am i doing ... more >>
Mouse Event
Posted by DarkRide at 3/31/2004 3:11:15 AM
Can anyone help me with this? I have a graphic that has 2 invisible buttons on
it. I need to let the user know when he clicks the button, but I also need to
provide feedback to him if he clicks anywhere else on the graphic. I've got
the text boxes all set, but I cannot seem to figure out ho... more >>
clipevent in stoped frame
Posted by paulsakebomb at 3/31/2004 2:27:41 AM
i have an audio file playing in a frame with a stop(); comand. the problem i'm
having is that i want a variable that comes from the audio to keep updating in
the frame but since it's stoped it doesn't. i've tried to add a looping movie
clip to the frame with a clipevent(enterframe) but the s... more >>
What's wrong with this syntax?
Posted by TomEnokR at 3/31/2004 2:24:37 AM
I am attempting to define a global function called triggerCancelEdit. But when
I define it in the root directory, it tells me there is a syntax error. Can
anyone tell me what the error is?
Here is the syntax:
function _global.triggerCancelEdit(){
trace("hello");
}
Thanks
... more >>
String Escape Sequences from External File
Posted by Nialsh at 3/31/2004 1:25:42 AM
Okay, I've got a movie that loads a variable (equal to a literal string) from
an external txt file. The file is accessed without any problems and the
variable is found, but any escape sequences (example: \r=carriage return) I
enter are overridden and come through as text when I set my_txt.tex... more >>
localToGlobal
Posted by grob at 3/31/2004 1:05:43 AM
I am working on a lesson test. I'm creating some new movieClips (they are
animated correction marks - ticks and crosses) via actionscript and placing
them beside some RadioButtons just as a teacher would mark a student's test.
These clips are are placed near the coordinates of the RadioButtons.... more >>
Dynamic menu
Posted by Marc Francey at 3/31/2004 12:57:04 AM
Hi!
Could someone help me about duplicating buttons.
1) I've a button _root.Menu0
2) I duplicate it=20
var NumberOfMenus=3D5;
var i=3D1;
var yPosition=3D71;
while (i<=3DNumberOfMenus) {
duplicateMovieClip("Menu0", "Menu"+i, i);
_root["Me... more >>
|