all groups > flash actionscript > november 2005 > threads for monday november 28
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
Pause button doesn't pause music files
Posted by Lerbekmo at 11/28/2005 11:22:52 PM
I was able to create my pause button but I can't seem to get my music files
(.WAVs) to pause with the rest of the demo. I'm not sure if I'm going about
this the right way - I've created movie files that only contain the WAVs and
added those movie files into the script to pause, but that isn't ... more >>
Good place to start?
Posted by Cainman at 11/28/2005 11:04:55 PM
I know about http://www.actionscript.org, but are there any other places? I'm
a total newbie at the moment and want to make sure I find the "legitimate"
sites. Oh, sure, a Geocities site with the same information would be great,
too, but I'd rather do this the right way and not the wrong way... more >>
Using rollOver with attached movieClips
Posted by sowiebinich at 11/28/2005 10:59:38 PM
I'm attaching movieClips to a parent movieClip, and I'm incrementing the depth
at which the movieClips are attached. When I try to use the rollOver methods
of the children movie classes, they are unresponsive. I know that they're
being correctly set, because when I execute a call to
_level... more >>
key commands not working
Posted by stephan.k at 11/28/2005 10:39:26 PM
This is strange. When I export the project directly from flash (test movie)
the key listeners work. I hit the "0" key and something happens... When I
target the .swf file and launch iit in the flash player or in the browser, the
keylisteners seem to be disabled.
Any ideas?
... more >>
rerun part of a function
Posted by broken45 at 11/28/2005 10:24:39 PM
I am building a zoomable flash map that populates a map dynamically by
attaching houses(movieclips), using xml. I am then attaching small info bubbles
to the houses with the initial visiblility of the bubble to false, then when
you mouseover a house it toggles the visibility. I am attaching a ... more >>
Random Button
Posted by rolorolo at 11/28/2005 10:22:29 PM
Hello, On my stage I have a plain button and a dynamic text box with the
variable of 'score'. Each time the button is clicked the score goes up 7 and
one the score reaches 105 the game ends. What I need to know is how can I get
multiple buttons to ramdomly appear and dissapear on the stage? Th... more >>
saving the screen
Posted by jimmy_milk at 11/28/2005 9:30:55 PM
Hi,
I have a page where u can move items around to make a picture. Is there any
code that could be put on a button so the user can save thier custom picture
into a jpg.
I know you could just print the screen, but is there a more profssional way
Thanks for your time
Jimmy_milk
... more >>
Simpe "If" problem
Posted by S_anctified at 11/28/2005 9:26:11 PM
Hi,
I just have a simple problem. I want several buttons to trigger seperate
movieclips on rollover and rollout. I attached the code of what I have now and
it doesn't look good cause it triggers actions even if they don't need to be
triggered.
I just want to add an If statement so that... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
spContentHolder Problem
Posted by mcarlson at 11/28/2005 7:55:57 PM
I have a scrollpane instance called "newsPane_sp" which contains a movieclip.
That movieclip contains 3 text fields: "date_txt", "headline_txt" and
"body_txt".
The idea is that these three fields will change based on the news item a user
selects.
I am trying to update the fields by using... more >>
Another Nesting problem
Posted by nakedkafka at 11/28/2005 7:33:47 PM
Dear Developers,
I have had a great response here first time, We are stuck again.
I have created a movie that draws a few rectangles, text and images on the
screen. It's nice and easy. I am trying to load the movie dynamically, and move
it around the screen, all in actionScript (Amen, and p... more >>
script order
Posted by Vertine at 11/28/2005 7:25:54 PM
hey guys...just curious, but does it matter what order scripts are written in
AS. For example, if i have a function that calls another function, that calls
other functions, does it really matter at author time which one i write first?
funciton doThis(arg){
arg.onRollOver=function(){
... more >>
download class problem
Posted by timdiacon at 11/28/2005 7:21:30 PM
Hello,
I am generating PDF's dynamically and saving them to the server. I then want
flash to download the file to the users computer. Everything seems to work
however the download doesn't complete and I get an error message in the safari
activity monitor which says..
plug-in cancelled
... more >>
Is there a way to check if a text was clicked
Posted by Dario de Judicibus at 11/28/2005 7:10:21 PM
I have several dozens of read-only dynamic texts in my movie. I need to know
if user clicked on it. I cannot associate a onRelease method to a text and I
do not want to create a movieclip for each text, since they had been created
by actionscript. hitTest is of no use because I cannot continuosly... more >>
Activated Music across scenes
Posted by Natras at 11/28/2005 6:47:22 PM
Hello, this is my first post but i am an avid reader of these forums. I am
currently working on a site for a friends small business, i have created a
movie with 7 scenes in total, everything works fine as intended across a few
different browsers.
My problem is i want music on the site, th... more >>
My code doesn't work published for player 7
Posted by adrianTNT at 11/28/2005 5:28:57 PM
Hello.
I have a code for a menu, around 320 lines.
I had to change publish settigns from 6 to 7 so I can use aliass text.
Without changing the code, I get that error that says the script is slowing
down the computer when I puclish the file.
I think is because of the loops, I have some lo... more >>
MC Hierachy
Posted by Obelysk 2005 at 11/28/2005 5:03:20 PM
Ok, so i had a previous thread
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=288&thre
adid=1086418 about this problem but I think it all boils down to something
rather simple.
I think I have misunderstood how the movie clip hierarchy works.
My flash project is la... more >>
flash utf8 encoding
Posted by bos at 11/28/2005 4:41:39 PM
Hi
I've created a kind of CMS in PHP5 where the user can write some text etc. All
data will be utf8_encode saved in a XMl file
When I want to read the data back into flash I get all the html notations for
the accents.
For that I have found a solution EXCEPT for the " and the '
It isn... more >>
casting post data into numbers / floats
Posted by stephan.k at 11/28/2005 4:15:53 PM
I am getting numerical values from a database looking like this: 136.9357745
or 124.1254 (various amounts of decimal points). When I try to cast those
values into Numbers it fails.
xCoord = Number(xCoordXML.childNodes[11].childNodes) //this is the xml node
containing the numercial val... more >>
Flash Player slows down
Posted by hollywoodbb at 11/28/2005 4:04:11 PM
I'm loading several swf's into my main flash player and they seem to slow down
my main flash player (fps 35). Does anyone know why the player slows down in
the orginal timline of the movie. Would reading the swf's with XML help the
player to run faster or is their some actionscript that can bo... more >>
Problem with attaching onRelease functions to duplicated MCs - pls help
Posted by Cetrez at 11/28/2005 3:50:55 PM
Hi all
I needed to create a gallery consisting of thumbnails which you then could
click on and they would open a new window with the actual img. I decided to
load the thumbnails dynamically and place them and the MCs they're supposed to
be loaded into using actionscript. I've ran into a pr... more >>
Non-visible movies continue to play using Screens
Posted by Bill1001 at 11/28/2005 3:35:58 PM
I am using Flash MX with the new screens method ? automatically creating a
presentation. The problem is that all of the screens are at frame 1 and the
movie that I put in one of the screens continues to run even if I leave that
screen.
At first, I loaded the movie at startup but the m... more >>
For loops -almost doing the right thing
Posted by Vertine at 11/28/2005 2:51:26 PM
hey guys...once again, the FOR loop is getting me bad. Sorry my code is a bit
rough-I am trying to refrence instances on the stage, via an external text
file. The file looks as such: &menuVar=Sample1,,Sample2,,Sample3& --- except
consider that there are 20+ samples.
Ok, the instance names ... more >>
How to get component version
Posted by Dario de Judicibus at 11/28/2005 1:16:12 PM
Twofold question:
1. how to get the version number of a component? I tried
trace(myComponentIstanceID.version) but it does not work. I also tried to
get it while debugging, but I cannot find it?
2. how to get the latest version of a component from Macromedia site. I
cannot find the palce to... more >>
Macromedia should Fix this Problem
Posted by Devendran at 11/28/2005 12:27:22 PM
Hi all,
We specify the name of the new MovieClip when we duplicate or attach it.
Unfortunately attach movie is usefull for movies that inside the Library.
but we can't duplicate a movie to a specific target mc.
(i.e) We can't duplicate a movie source_mc to duplicated_mc.source_mc
That me... more >>
Button states that control the movieclip they're in
Posted by Oli_Wales at 11/28/2005 12:13:26 PM
Hi,
I've got a button in a movie clip, but how do i get that button (whilst in the
Over state) to control the movie clip it is in? any ideas guys.
I keep coming up with alternative ideas for what im trying to acheive but
still no closer to an answer. Check the link, the buttons need to ... more >>
Hey guys, can you help please?
Posted by Bandits Mercy at 11/28/2005 12:00:43 PM
Hey guys, how ya doing?
I have a bit of a problem, I am a Flash MX 2004 Pro user and I need a bit of
help, and I don't know how to fix it.
I am trying to link a button to a PDF file, I have looked about for the bit of
code to do it and come up with the following,
TRITON_btn.onRelea... more >>
Referencing a graphics file name...?
Posted by whaleyboy at 11/28/2005 11:59:03 AM
Hello, I was wondering if there was a way to reference a graphics file name.
Basically I have a movieclip in my library and on each of it's frames is a .gif
image. I wan't to be able to say "if the graphic on a particular frame has the
word 'tree' in the file name then do this..." Is this is ... more >>
variable into movieclip
Posted by nicchiet at 11/28/2005 11:51:42 AM
hi, got this problem:
I want to assigne a value to a variable contained in a mc.
the name of the mc if prefixxed as "g" followed by a number.
for example: the mc "g4" contains the variable "variable1"
on (release) {
active = 4
set("g"+active/:variable1,"pippo... more >>
loadMovie() loading white JPG
Posted by rodrom at 11/28/2005 11:27:21 AM
I want to load an image from an URL when a button is clicked. There is a
gray-colored placeholder movie clip in the stage called "prueba_mc", a button
called: "boton_btn". This is the code on frame 1:
boton_btn.onPress = function(){
trace("working");
loadMovie("http://www.jarclos.com/... more >>
dynamic text is not displayed
Posted by ayazz at 11/28/2005 11:26:28 AM
Hello and thank you for anyone would help me : )
I have a problem with the dynamic text ...it is not displayed. the text box
has a scroll bar beside and it's displayed.
I followed this
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16142
then not working....
please some... more >>
open file in new window
Posted by shalom, please help me! at 11/28/2005 9:45:47 AM
Hi,
i am creating a banner that has a link on iot to a .swf file.
on (release) {
getURL ("logo.swf", "_blank");
}
the file opens itself in a new window, but i want it to be a regular window,
not iexplorer window.
how do i do that?????
... more >>
unloadMovie question
Posted by chadric at 11/28/2005 3:14:45 AM
How do I endlessly "loop" a sequence of individual .swf files if each one is on
a separate level? (Plus, I want to avoid any delay or visual gap in the
sequence between the end of the top level and the beginning of the root level.)
So far I have tried this approach:
Once my root file has l... more >>
Slide down menu
Posted by Kazz82 at 11/28/2005 2:07:19 AM
Hi,
I'm trying to create a vertical menu that when you click on a button the sub
menu's slide down, and then retract when you click another button (i think
they're called tree/ accordion menus)
I don't really know actionscript .. so could someone please point me in the
right direction..
... more >>
MP3 only plays once in IE
Posted by JDRives at 11/28/2005 1:44:48 AM
Hi all, I have created a simple MP3 player for a website I am working on
http://www.shawnhaussler.com
The standard Macromedia component was 68 KB which is too much for modem users,
so I wanted something lighter. I created one that is only 7 KB and got
everything working fine using this basic... more >>
Controlling the main timeline from a movieclip
Posted by Obelysk 2005 at 11/28/2005 1:27:36 AM
Right here we go...
I'm making an interactive "world" type experience which is basic point and
click stuff.
I am using the following actionscript code which is inside a movieclip on the
last frame:
_level0.gotoAndPlay("player");
The idea being that when the movieclip is done play... more >>
looping scene 1 : struggling
Posted by searby at 11/28/2005 12:10:17 AM
I am using MX2004 7.01 and I'm really struggling to try to get scene 1 to loop
until scene 2 is loaded.
Nick suggested this:
"copy all the frames in the first scene, then paste them in a movie clip and
then delete all frames exept for the first and put the movie clip in that
frame. Open th... more >>
Stacking of Libary Movie Clips vs Loaded SWFs
Posted by JonathanPeters at 11/28/2005 12:00:00 AM
I load SWFs and attach library movieClips and assign depths according to desired stacking, but no matter, the SWFs alway show on top of the attached libary MovieClips. I don' t understand why.... more >>
Loaded External mc loses its interactivity???
Posted by Uncie T at 11/28/2005 12:00:00 AM
Hi All, if anyone has any clues on this please help.
I have a host movie which controls the whole page..into this is loaded a
variety of external swfs depending on the navigation selection. The problem I
am facing is the swf files work 100% when tested individually however when
loaded into t... more >>
Resetting the timeline of a movie
Posted by CrazyMerlin at 11/28/2005 12:00:00 AM
hey guys!
I have a movie clip that slides a control panel out.
When it's hidden, I have a bar at the end of it visible. The user clicks on
this bar and the movieclip is played, showing the control panel sliding out.
The user clicks on the same bar, and the control panel slides into hid... more >>
Sound wont stop playing
Posted by riichieg at 11/28/2005 12:00:00 AM
scene 1 is a preload. The music (frame label sound1) begins playing on frame
1 scene 2. It plays through and ends on scene 5, last frame. This is the
ending of the intro.
I tried setting the sync to start, event, stream. It seems to not make a
difference except that it wont play thr... more >>
positioning a loaded clip a specific x/y location
Posted by Uncie T at 11/28/2005 12:00:00 AM
What is the script for placing a loaded movie at a specific x/y coordinate.
I am using this script;
on (release) {
loadMovieNum("lighting_master.swf","1");
}
Question is how to locate the clip at a specific place on the stage...
Say for example x=0 y=238
... more >>
loaded SWF visible property?
Posted by JonathanPeters at 11/28/2005 12:00:00 AM
Have got an SWF that I must load due to size. I need to get it out of the way
at various time and am currently stuck with reloading it. Is it possible to
set a visible property on a loaded SWF (as with an attached movieClip from
Library) so I only need to load once? Thanks.
... more >>
Simple Newbie Question - Start a movie?
Posted by Angyl at 11/28/2005 12:00:00 AM
I'm creating a calendar for our church and my concept is to simply have all the
months as text buttons and as you mouse over them the appropriate information
for that month appears to the side.
I want to make each month's events a movie symbol so it can appear in a
strange or unusual way. ... more >>
How to bookmark a page in flash...
Posted by Global Extremes, Inc at 11/28/2005 12:00:00 AM
Ok. I have a button.
I want to have that button bookmark that page in a person's favorites when
they click on it.
It's not working.
Easy enough to understand? Cool!
I have THIS for script so far but can't figure out how to get it to work...
on (release) {
getURL("javascript:windo... more >>
|