all groups > flash actionscript > october 2004
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
Stop Action
Posted by DOC7-12 at 10/31/2004 11:32:23 PM
When i attach a stop action to a playback button in the main timeline, how do I get it to stop any movieclip that might also be playing at the moment that the user clicks to stop the action?... more >>
ComboBox select Item by value
Posted by Nixy at 10/31/2004 10:37:29 PM
I need to set show the form with the user info already there. I can load info
of the user but if I have a drop down, I can't tell it to display the user
choice usign the value of it.
IE. A province dropdown. If the user select Quebec. The value is QC. Next time
hi comes to the form page, ... more >>
Combo box or listbox with actionscript
Posted by kwp at 10/31/2004 10:33:10 PM
I am looking for an actionscript I can use in combination with a listbox or
combo box. I wan the user to be able to click on a selected file name from my
list box and be able to launch a word doc, an html file an exe file or a pdf
file in a browser window or in the new application by selecting... more >>
scrolling text dynamicly loaded with loop
Posted by yofof at 10/31/2004 9:52:41 PM
I'm loading a text from external txt file to dynamic text field in swf. what i
need to help with is that i'd like to loop the text countinously. can somebody
help with that? it would be the bes if after last line was a line free and then
first line would follow again.....i would appreciate a ... more >>
Action Script Calling Director Lingo Function
Posted by sinclair_lewis at 10/31/2004 8:49:26 PM
A customer gave me an extensive Flash presentation to publish to a web page.
The problem is that thw SWF's were desiged for use in a Director exe projection
and some Lingo functions are called via Action Script "getURL" (getURL: lingo:
setSound). I can't get the FLA's or Director files -- is ... more >>
actionscript tutorial
Posted by Ska Boss 610 at 10/31/2004 6:20:10 PM
I am brand new to flash and i dont really know anything about actionscript, does anyone know a good website that i could learn action script from.... more >>
Html in Flash : Will all tags work?
Posted by mandycool at 10/31/2004 1:48:58 PM
I just have one question Will all html tags work in flash when loaded to a
dynamic texfield with html text prop enabled? coz when i loaded a html with
table tags in to the Text Enhancements example the tables were not visible.
Thanx in advance.
... more >>
Using variable in GotoAndStop
Posted by Tiller at 10/31/2004 1:43:12 PM
Hi, I'm trying to use the number stored in a variable called 'picpage' to
control where the playhead goes. (See code below). I'm guessing because I want
to go to a frame label (they're called pics1, pics2 etc.) everything in the
gotoAndStop brackets need to be in quotes? This is probably re... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
loader component with content path as variable
Posted by phelyer at 10/31/2004 10:20:29 AM
Hi all, Flash MX2004 Professional / CFMX I am trying to create loader
component which will load an image. This much I can do when I enter the image
path in the component properties contentPath field. My aim is to load the
image based on a variable passed from a ColdFusion page. The variab... more >>
load movie from folder
Posted by Dier02 at 10/31/2004 8:25:26 AM
How do you load a movie from a folder on your computer to another flash movie
using the loadmovie() ? Also how would you do this on a cd-rom - user inserts
cd-rom and it autoplays. Opens up on a menu page. the buttons on this page
are linked to another scene where I want the swf (stored on ... more >>
setVolume problem
Posted by mitcho at 10/31/2004 7:20:24 AM
hey guys, im having little trouble with the setVolume property. in the first
frame of my movie i have this script stop(); var r = new Sound();
r.attachSound("restauraunt2"); r.setVolume(50); r.start(0, 999); r1
= new Sound(); r1.attachSound ("ch ching"); the problem is ... more >>
controlling timelines of seperate swf files
Posted by roodboy at 10/31/2004 3:42:39 AM
I have a question regarding the control of multiple timelines in seperate swf
files. Here is what I need to do:
I have a main parent movie on level 0 and into that movie I am loading
"main.swf" into level 1. From the timeline of level 1 I have a link that
forwards the timeline in level 1 t... more >>
Movie Slider Control
Posted by profesora22 at 10/31/2004 12:12:09 AM
:confused;
I need help creating a slider that controls an imported movie. I am
completely lost. The actionscript book that I have only talks about volume
control. I thank you in advance for any help that you can offer :)
... more >>
Drag Behavior with Load Movie Behavior
Posted by rgerber at 10/30/2004 11:17:26 PM
Hi guys, I've been stuck with the duty of finishing up where a coder left off,
unfortunately, Im not a coder. :) That said, onto my question. I created a
movie clip in which to load an external swf. (using the behaviors in 2004) I
then attached a drag behavior to that movie clip to make it dr... more >>
Scrolling Trouble
Posted by rgerber at 10/30/2004 11:08:03 PM
Hi Guys, Im pulling at my hair right now trying to get a scroller to work. I
downloaded an FLA, with a fairly basic scroller for use. This is the swf,
working: http://www.loadedboards.com/newsite_v1/images/tech_pane.swf under
CAMBER & FLEX and MATERIALS. The problem is that when I have... more >>
for-in loop
Posted by iaustin at 10/30/2004 9:53:17 PM
I'm working on a nice bit of code utilizing the for-in loop. This should
prevent me from manually coding a hundred buttons. The idea here is to
abstract a movie clips name|buton name, pass it to an array then of course
perform a search of the arry then perform some action, in this case a syst... more >>
Mouse Follow
Posted by knucklenutz at 10/30/2004 9:14:29 PM
Good afternoon, I am currently trying to get a movie clip to follow my mouse
along an x axis and ease or slow up as it approaches the _xmouse. Right now I
am using a clip event onEnterframe to make constant calculations with this
code: onClipEvent(enterFrame) { distance = Number(_xmouse - ... more >>
url filename from array help
Posted by aj_fa at 10/30/2004 8:29:11 PM
Hi,
I am trying to use a loadMovie command to get external pictures to load into
an empty mc. When I try to use an array to determine the file name of the pic I
want to load, I keep getting an NaN error.
menuHolder["btn"+k].onRelease = function() {
_level0.loader_mc.loadMovie("pics/"+... more >>
Browser Shake
Posted by UnclePuppy at 10/30/2004 6:59:31 PM
Hi, This obviously a very easy question for you guys but it has been bugging me
for a few days. I created a movie, where an engine falls into the scene with a
big thud. I want the broswer to shake upon impact. I found the attached code
on another website. When I use <A HREF =
"jav... more >>
Pendulum Math
Posted by Beppe_the_builder at 10/30/2004 5:10:12 PM
I am trying to create an animated pendulum that I can alter the radius of the
swing with a slider to se the effect, but the "bob" weight never seems to be
exactly where it should. I need to get this right before moving on to the
slider. Any help much appreciated. Action script below.
onC... more >>
retrieve mouse x,y co-ords when dbl-clicked on image
Posted by DazT at 10/30/2004 4:51:56 PM
Hi, can someone guide me to a tutorial on how to retrieve the current mouse x,y co-ords when the user dbl-clicks the mouse ?... more >>
question about: Button.trackAsMenu
Posted by johnvsc at 10/30/2004 4:24:29 PM
Hey everyone :) I am looking for a way to disable any "onRelease"
commands for any buttons in my site while the any transitions/animations are
active. I found the Button.trackAsMenu property from Flash 6, but all
documentation I could find was wanting... Is this a possible answer ... more >>
movie(with preloader) on movie
Posted by confusedAgain at 10/30/2004 4:22:55 PM
Hello. I have a movie with a preloader mc that has this script:
onClipEvent(load) { // initialize variables bytesLoaded = 0; bytesTotal =
_root.getBytesTotal(); } onClipEvent(enterFrame) { if (bytesLoaded <
bytesTotal) { bytesLoaded = _root.getBytesLoaded(); percentLoaded =
Math.round... more >>
Dynamic buttons
Posted by Cuddapah at 10/30/2004 2:07:59 PM
I am new to Flash/ActionScript. I have a MySQL database. I want to build buttons depending on choices available in MySQL table. Please let me know how to do this. ... more >>
How to create
Posted by monna at 10/30/2004 1:39:34 PM
Hello,
How to create a movie clip which position in browser window always will be
the same: in the right down corner and after browser window resizing MC
moves according the window size, but always stays in the same position of
the browser window.
Monna
... more >>
show image in dynamic text
Posted by hamid_m at 10/30/2004 9:41:14 AM
hi, i want show image in dynamic text?! in fact i have a text like as
this s my pic <img border="2" src="pic.jpg"> ok
and i want show them in flash like as html :)... more >>
How to use AS to ceate a submenu
Posted by keiyi at 10/30/2004 9:21:37 AM
When rightclicking , a contextmenu will appear.
I use the order "CustomItems" to create some items inside it, but
the mount of the items
that I can create is limited. Therefore ,I want to create
a submenu inside an item.
I wonde... more >>
enabled property
Posted by Neil Smith at 10/30/2004 8:30:59 AM
Dear All,
can anyone tell me why this script, attached to the button B1 does not
work? Specifically I wnat to disable the rollover state.
... more >>
targeting of duplicated movie clips.
Posted by imanru at 10/30/2004 7:33:32 AM
Thank to _jrh_ for the hint on duplication
Okay now i have duplicated my movie clip, how do I target them. In say i have
this code
for (k=0;k<40;k++) {
newSquare = square_mc.duplicateMovieClip("square_mc"+i,k);
newSquare.onRollOver = function () {
// change color code
this._alpha ... more >>
dynamically adding compnents @ runtime
Posted by CodeWizardry at 10/30/2004 7:15:43 AM
Hi All,
I am trying to add a large number of components to a flash movie @ run time
and am having no success. I've checked the documentation and found it woefully
inadequate in this area.
The crux of what I am trying to do it create an array of components that I can
then easily load in... more >>
Reset movie on mouse event
Posted by miguel007 at 10/30/2004 6:40:14 AM
How do I send the movie I just played back to frame 1 when I click on any new
button?
I want to do this to clear my screen after each button is selected.
I have 4 buttons, each button is a paragraph of text that fades in when
selected and disapears when selected again.
I want it to disapea... more >>
Web Reporting...how?
Posted by roxandy at 10/30/2004 3:05:41 AM
Hi, I am somewhat of a novice and was wondering if anyone knew of a good
resource to find out best practices for generating user behavior reports in
Flash, similar to traditional html tools. Thanks!
... more >>
what's wrong
Posted by kimber13 at 10/30/2004 1:27:27 AM
What's wrong with this script?? It doesn't work right after I added more
images. It no longer cahnges the alpha of the images, they jut opo in an
unsightly fashion. HELP!! onClipEvent (enterFrame) { // find alpha of new pic
picalpha = Math.round(getProperty(picnum, _alpha)); // find alpha ... more >>
get the stage size of loaded mc
Posted by kufu22 at 10/30/2004 12:06:49 AM
Can anyone help. How can i get the stage.height and stage.width of a loaded
movie, NOT the root stage. If i call stage.height and width within the loaded
movie it gives me the root stage height/width not the loaded movie stage
height/width. I found something on this in the actionscript forum ... more >>
Assigning values in 2d array
Posted by MGladstone at 10/29/2004 10:35:11 PM
I'm using AS 1.0 and have a problem with a 2d array. How do I set a certain
coordinate in the array to a value? Here is some simplified code that doesn't
work. Basically it should set each element in an array to a random value of
1-4. gridArray is already defined, unless I have to do it a spec... more >>
Fs Command in Mac OSX
Posted by monoflash at 10/29/2004 10:07:36 PM
I made a multimedia in a C.D in Flash Mx and Mac OSX , but the FsCommand (in a
Projector) when try to load an external SWF return to original size(SWF?s size)
and the FS Command doesn?t work, i try with allowscale etc... and nothing
happen, but in windows work correctly everithing.:disgust;
... more >>
Iterating through XML
Posted by Mattdog at 10/29/2004 9:46:41 PM
I'm pulling my hair out on this one. I need to be able to search for words in
the XML data I have. Since there appears to be no built in fucntion for this I
just need a loop function that will iterate through the XML. All my attempts
at a recrusive function have resulted in the NEVERENDING ... more >>
I know this is simple but........deleting text in input text box with scroll bar
Posted by Jacg at 10/29/2004 9:32:18 PM
I know this is simple but I can not find it anywhere. I have an input text box
for the user to simply jot notes to themselves. It is not used for triggering
any other function. It has a scrollbar because I want the user to write as much
as they want. I have a reset button that clears the te... more >>
SOAPAction http header
Posted by justme999 at 10/29/2004 8:58:27 PM
Greetings.
Is there a way to set SOAPAction http header on an SOAPCall or PendingCall object?
I've been struggling with this for a couple of days - no luck.
Please help.
Thanks.... more >>
Problems with scroll bar in Dinamic Text Window don´t work!
Posted by Catarina Fernandez at 10/29/2004 8:52:52 PM
I´m trying to put a scroll bar component to a Dinamic Text Window,
but the content of this window is in a php file called by
loadVariables("http://www.site.com/text.php", "", "GET");
The text loads, but the scroll bar don´t work...why?!
Also, if you all could help me to "GET" from a .txt or ... more >>
how is this done?
Posted by bernwa at 10/29/2004 8:37:47 PM
I'm trying to figure out how to create this back and forth scrolling effect.
It's at http://www.arcadiafinearts.com/works_adel.html Any help would be so
appreciated. Bernie C bchiaravalle@comcast.net
http://www.arcadiafinearts.com/works_adel.html
... more >>
.flv streaming video problems on IIS 5 on Windows Server 2000
Posted by thx2001r at 10/29/2004 7:58:01 PM
I am having trouble streaming .flv files from IIS 5 on Windows 2000 Server (it
works fine from Apache 1.x or 2.x, but they are not an option for this
project). Basically, it starts playing, then, after several hundred KB of the
file download (total of 4 MB file) it stops playing.
http://w... more >>
Playing Backwards?
Posted by Ska Boss 610 at 10/29/2004 7:49:03 PM
I am a beginier at macromedia flash and i am attempting to make a site in flash
and i was trying to have it move backwards through the timeline when you click
a button i got it to move thorough the timeline forword and have the stuff fade
in to the new page and then i wanted it to move backwar... more >>
Load Problem
Posted by Oleynik Denis at 10/29/2004 7:37:12 PM
Hi,
Could enybody help me!!!! Please.
I've made an menu in Flash which loads other movieClip if pressing the button.
It works while i'm playing it in Flash Player, but when I'm doing the Publish
to the .html, it doesn't works.
here is the Script:
b.onRelease = function(){
mc.loadMovie(... more >>
naming issue with movie clips
Posted by imanru at 10/29/2004 7:19:12 PM
Hello,
I got a simple question. I am creating a movie clip thats just a square, then
in the main time line I place AS for it to change color when the user rolls
over it. This part works like a charm; however, i am wonder if i duplicate and
give it a basic name + a #, then make the AS chang... more >>
Resetting Quizzes
Posted by JPippin at 10/29/2004 7:16:31 PM
I have a component quiz on frame one of root. When the user selects an answer,
they get feedback and go to the 2nd frame of root where I've placed a button
giving them the option to retake the quiz (goto Frame 1)... however, when they
have made a selection, the quiz gets grayed out and at Fra... more >>
MovieClip Bounds stop changing on Drag&Drop
Posted by mverleger at 10/29/2004 7:06:56 PM
I have a movieclip subclass (called "SequenceString") that I'm using
"startDrag" and "stopDrag" on and for some reason, after I've dragged the clip
over another clip (movieclip subclass type "CatalogEntry"), my bounds of the
SequenceString no longer update. The image itself will still move wh... more >>
Debugging
Posted by Neil Smith at 10/29/2004 6:14:40 PM
Dear All,
I am having great difficulty implementing a situation where buttons in
seperate movieclips can communicate to each other. In a simple example I can
do what I want, but I am having problems implementing in a more complex
situation. Any suggestions abouy how I could track down the pro... more >>
Array problem
Posted by MGladstone at 10/29/2004 4:49:16 PM
Can someone tell me why this very simple code isn't working? It just spits out "undefined."
var my_array:Array = new Array();
my_array[0] = "January";
trace(my_array[0]);... more >>
Convert various jpg's into MovieClips
Posted by afroma_n at 10/29/2004 4:46:34 PM
Hi . I have a combobox listed with many type of products. I want that when a
user chooses a product, the image is loaded on screen, make it a movie clip ,
so I can drag and drop it . What I have until now, is that all the jpg's are
already converted by actionscript into movieclips with mc._v... more >>
|