all groups > flash actionscript > march 2005 > threads for wednesday march 2
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
Need some help with Actionscript for Timing Out
Posted by BillD222 at 3/2/2005 10:32:34 PM
Hi, I am developing a short interactive quiz. In the background I have an
actionscript running that is supposed to time out and restart the quiz within
60 seconds if the user doesnt answer the question or walks away or stops
playing. The time out part works, but the problem is that I cant sto... more >>
Get URL
Posted by PaulSch at 3/2/2005 10:22:18 PM
How do even begin to go about this? I know how to do this in Dreamweaver. I
have images that I will use as links to other pages. However I want these
pages to open within the main_frame of my Framed site. Do I write an action
script or is it a javascript and where would I do this? I would... more >>
using combo box
Posted by livingwithanangel at 3/2/2005 10:08:20 PM
I wish to create a combobox that lists street names. When a visitor to the site
clicks on the combobox and scrolls down to a street name and clicks, I want the
street name on the map below to be identified by a colour change. The way I see
doing this (and I may well be going the long route her... more >>
Color object
Posted by Sumit216 at 3/2/2005 9:58:41 PM
I can't seem to get the bkgd color to change using this code...it works when I
put a straight value setRGB() but doesn't if I use a variable or an
array...btw...first post on here. thanks!
var bkgd_color:Color = new Color(bkgd_mc);
color = Array(["0x000000"], ["0x4CA3FF"], ["0xCA0303"], ["... more >>
Countdown clock
Posted by rolorolo at 3/2/2005 9:37:15 PM
I'm looking for simple instructions on makeing a countdown clock that span 792 days 8 hours.Could you please give me instructions on how to do it and the actionscript.
Thanks:)... more >>
My code won't allow snap to for drag and drop
Posted by dustycoats at 3/2/2005 9:25:06 PM
Can someone please tell me why this code won't allow my object to snap
to??????????
on (press) {
startDrag(this, true, 0+this._width/2, 0+this._height/2, 550-this._width/2,
400-this._height/2);
}
on(release) {
stopDrag();
if(this.hitTest(_parent.correctSpot)){
this._x=parent... more >>
animated complex buttons not working
Posted by dajackboozer at 3/2/2005 9:08:18 PM
:beer;
i have a problem with my animated buttons. first off, heres the link to the
site
www.oswego.edu/~feeney/lab
-they dont always go back up when you roll off them.i use on this code:
on(rollOut){gotoAndStop("collapsed");
}
-that is for the invisible button that is used as a trigge... more >>
Buttons and the _invisible property
Posted by mmarq at 3/2/2005 9:07:39 PM
Hello, I need help. Im new to actionscript so I wouldnt know if this is a dumb
question or not. So here goes. From my understanding, a button can be hidden
by this statement: buttonName1._visible = false. My problem is this, what if
I store the name of the button to a variable i.e. var bu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Creating a form
Posted by trawie at 3/2/2005 9:05:16 PM
I know how to create a form, I just don't know where I should send the info too? What is the Actions script?... more >>
Code help needed for target drag and drop
Posted by kirknetiq at 3/2/2005 8:58:36 PM
I am using this code in one movieclip to snap one object to another - is this
correct? Lev1 is the name of the target object, (both objects are movieclips):
Actionscript:
on(press) {
this.x = this._x;
this.y = this._y;
startDrag(this);
_root.answer1="";... more >>
a button with two different fucntions
Posted by greatone305 at 3/2/2005 8:35:59 PM
hey is it possible to have a button do two different fucntions. for example:
on press fade in one mc and fade out another mc.
I have been trying to figure this out. I am new to AS so any help would
greatly appreciated.
Thanks in advanced.
... more >>
I need Key Listener active only for each frame
Posted by Laura Koenigs at 3/2/2005 8:19:17 PM
I am working on an emulator that requires navigation only through keystrokes.
The problem I am having is the key listener works, and keeps on working when I
want it to stop. I have tried disabling the key listener at the beginning of
the next frame's action script and that seems to work, bu... more >>
changing reg point of movie clips...
Posted by bso_71 at 3/2/2005 8:12:15 PM
I'm loading a jpg into a movie clip but I want to change my registration point to the center of my jpg file. How do I do this?
Thanks!
Brenda s.... more >>
Is this possible in Flash?
Posted by lint95 at 3/2/2005 7:53:17 PM
I'm using Flash MX 2004 Professional to create a computer based training
application. I'm having trouble programming some interactivity into my
application. I have to program 9 buttons on my screen with each of the 9
buttons configured to pop up some text on the screen when it's clicked. The
... more >>
loading faster
Posted by Carlos Gonçalves at 3/2/2005 7:20:42 PM
What Should I do to make my loading status bar starts faster? Put it into a
separated scene or in the same? If you can give me any tips to make it
faster, please....
Thanks a lot.
... more >>
Imported SWF and changing its placement
Posted by CreativeStudio12 at 3/2/2005 7:10:48 PM
Hello.
I am trying to work with an imported SWF file; however, the origin is set at
default and moves the swf to the top left corner. Any ideas on how to transform
the swf content to a particular location. I am implementing the following code:
on (press) {
loadMovie("_level3");
}
... more >>
call application
Posted by mireeyum at 3/2/2005 7:07:38 PM
Im wondering if it is possible to easily (without a secondary source) to run an
executable file from a standalone projector.
Im afraid im sh*t outta luck, but want to confirm before i continue.
thanks!
... more >>
Code Interaction
Posted by jfillman at 3/2/2005 7:07:19 PM
Please see the attached code as well. When I add the code that follows below,
my menu (attached code) no longer responded to click events. Can anyone please
tell me why? These are in a form application on two different screens.
Flashpaper code that stops the attached menu code from working: ... more >>
loading a movie into the root from a movie clip ?
Posted by circuitthinker at 3/2/2005 6:21:40 PM
Does anyone know how to load a movie into a movieholder in the root from within
a movieclip?
I have a button within a movie clip situated on the stage. On this movie clip,
I have actionscript that makes it act like a button, in that when you hover
over it, it plays forwards, and when you hav... more >>
horrible cocophony of soundz.......
Posted by vikta at 3/2/2005 6:21:14 PM
hey guys ....
whats up
ok i know this is probably somethin really simple but basically im having
trouble with different sound files clashing with each other....the sounds in
the buttons are clashing with the sounds in the frames..... causing a horrible
cocophony of sounds....
basical... more >>
Progress Bar - NOT for loading
Posted by FlashingLemur at 3/2/2005 4:31:24 PM
:confused; I have existing courses, but would like the student to know, via a
progress bar, how far they've progressed through the course. It can be done
manually, but I'm hoping there is a script or another method to accomplish
this. If possible, would someone provide an example? Thank yo... more >>
set text field to render HTML
Posted by rangewalker at 3/2/2005 4:01:48 PM
In FL MX 2004 Pro... I have a multiline dynamic text field that I have tried
set to show as HTML both in the properties inspector and with the
my_text_field.html = true and what appears is the tags rendered as text. ie, if
i try to write Dave what actually shows up in the text field is <b>Dav... more >>
loadMovie() can crash a client's browser
Posted by yiuiopeq at 3/2/2005 3:52:22 PM
This is a strange one. Behavior: Interrupt a loadMovie() command by closing
the browser window into which it is loading. Issue: In IE 6 Windows XP SP2
you will receive a page not found error when trying to refresh the page. NOT
ONLY THAT but you will receive a page not found error when tr... more >>
flash mx 2004 + database connectivity
Posted by atulp at 3/2/2005 3:43:55 PM
Hi,
I want to create an application for flash mx 2004 and any database
communication.
Could all of you plz suggest various options available for me.
I think for this we require middleware softwares like coldfusion tool.
Could you suggest any freeware softwares for this connectivity.
... more >>
counter - URGENT
Posted by Jimbo Higgins at 3/2/2005 3:42:29 PM
I am working on my school web page and i have created a banner that needs to
loop through itself about five times. I was wondering if you could create a
variable at frame one and have it increase by one every time it plays frame
one. If you know how please respond I need to figure this out ASA... more >>
movieclip
Posted by AaticuZ at 3/2/2005 3:21:54 PM
If I am making an intro within a movie clip which I put in frame 1 of the main
timeline, how do I specifie at the end of the movieclip for it to go to the
main timeline and play scene 2, any help please? thanks.
... more >>
Invoke an item in toolbar of flashplayer on MAC
Posted by techcloud at 3/2/2005 3:16:10 PM
Hello,
Does anyone know of a command in actionscript by which we can invoke and item on the toolbar of the flash player ( on MAC OS). Please help.
Thanks... more >>
can flash talk to a serial port?
Posted by sneakyimp at 3/2/2005 3:00:11 PM
is it possible for flash to talk to a serial port? somehow i doubt it...but given its network capabilities, it didn't seem impossible.
... more >>
Scroll undetermined length images
Posted by Tim Robertson at 3/2/2005 2:51:28 PM
I have a flash document which basically has a portofolio section with 10
separate projects. All the project information is kept in a database (7
images, title, body text). Is it possible or does anyone know of a tutorial
of how to have a movieclip line up the 7 images horizontally (each image i... more >>
height and width of dynamically loaded swfs
Posted by TheBimmer at 3/2/2005 12:18:33 PM
Hi again, I have a flash website that is built dynamically during run time...
At one stage I am creating an empty movie clip, and load it with a JPG, then I
am using an interval to check whether the bytes loaded = bytes total, if yes,
then get the height, then start drawing things after this ... more >>
play external jpg only when it is loaded
Posted by kliwei at 3/2/2005 11:31:42 AM
loadMovie("all-pics/test.jpg", "_root.placeholder_mc.oasis");
is placed on keyframe where the clip containing test.jpg starts.
the above is one of the 4 pics residing in a mc on the timeline.
my problem now is it starts to load before the the jpg has loaded completely
resulting in empty... more >>
Need help on loading data in a for loop from a text file
Posted by Shrijal at 3/2/2005 10:50:40 AM
I have created a program which loads data from a text file, but i can not
assign these values to a text field which is created through action script. Can
any body show me how to do that.....??
The text file contains data like
&soft1=xyz &path1=c:\downloads\photos.exe
&soft2=xyz &path2=c... more >>
Number() doesn't work?
Posted by orhor at 3/2/2005 10:31:24 AM
Hi, here's my problem:
I use loadVariables method to load variables from external file. The last
variable in my file is for checking if all variables are loaded. When I use
trace() the values are displayed OK, so variables are really loaded fine. But
when I try to use
variable=Number(... more >>
hitTest failure
Posted by Simon Jakobsson at 3/2/2005 10:21:20 AM
Hello, i'm doing a sort of modified pong game, just for learning.
Everything works fine except for one thing. The speed on the ball is 5 from
the beginning, but at every hit it increases with 0.25, and by the speed of 17,
it jumps straight thrue the bat.
Well, i know why: Because of th... more >>
Controlling flash paper once in flash
Posted by adam_bushnell at 3/2/2005 10:18:45 AM
Hello,
I've managed to sucessfully load a swf file into my flash movie using the
method explained here :
http://www.macromedia.com/devnet/flashpaper/articles/import_flpaper2.html
However what i really wanna do is to allow the user to select page numbers by
click on buttons i've created... more >>
ScrollPane component
Posted by seahr at 3/2/2005 9:43:18 AM
Hi, Please help me I am using scrollpane in my movie want to show some text
along with gif or jpg imges. The problem is when I use scrollpane more then one
time to show different links text on different frames none of them show content
except the first one. As far as I understand all the asse... more >>
Sanp to when draged and dropped
Posted by dustycoats at 3/2/2005 6:41:40 AM
How do I code a snapt to for a drag and drop object?... more >>
How to avoid Print Dialog
Posted by cultleader at 3/2/2005 6:18:49 AM
Hi.
I run a Flash aplication for an Information Kiosk. The problem is that I need
that people can print some information but without having to face the Print
Dialog, where you can select your printer and printing preferences. I don't
want to have that dialog because people can get confused ... more >>
centering a frame over a map image
Posted by napx at 3/2/2005 6:10:22 AM
Howdy.
I've got a map image that I'm trying to provide a simple navigation interface
for. It's a large image (2500 pixels wide) and the strategy is to create a sort
of picture frame that will show a section 800 pixels wide at a time, masking
the rest from view, and then allow the user to ... more >>
Pressing F6 works in flash and not in IE
Posted by kakas at 3/2/2005 6:04:26 AM
hi,
I have a code written for pressing F6 key on the key board. It works fine when
i have it in the flash player..but when i embed the swf file in html the the F6
code is not working.. what can be the problem and what is the solutions to
this..
Regards,
Umesh (kakas)
... more >>
button inside of a movieclip
Posted by industro at 3/2/2005 3:20:04 AM
I've got a movieclip with a button in it. This is the action I've placed
directly on the movieclip.
onClipEvent ( load ) {
this._visible = false;
this.onRollOver = function() {
this._visible = true;
this.gotoAndStop(10);
}
this.onRollOut = function() {
this._... more >>
Code in dynamic swf's causing movie to jump to random frame. Please help me!!!!
Posted by Spindrift at 3/2/2005 1:57:47 AM
Hi all, I've built a site in Flash MX and it's nearly done but there seems to
be some coding problems. If you can check it out at
www.spindriftmedia.com/aaronscott you should be able to see the problem. If you
click on a button on the main nav, and then when the section comes up (which is
... more >>
Changing keyframed menu animation into actionscript animation
Posted by fanmap81 at 3/2/2005 1:25:37 AM
Can anybody provide me with any code and technique that will succesfully allow
me to convert my menu from a keyframed animation into a dynamically generated
actionscript menu? I just realized that i might have to change the buttons
more often than not and i would like to future-proof this as ... more >>
Keyboard control
Posted by Prlem at 3/2/2005 1:16:51 AM
I want to use keyboard control in my presentation. If I press keyboard button
?N?, presentation should go to next scene (whatever scene i want to) or if I
press ?P? that should go to previous scene. How to do this???:clock;
... more >>
Help using scrollpanes and preloader
Posted by photo_jeff at 3/2/2005 12:58:26 AM
I have a series of thumbnail images inside a scrollpane. The main movie has a
preloader. However, because the scrollpane requires the referenced thumbnail
movie clip to be "exported in first frame", my preloader doesn't show up until
all those thumbnails have loaded! Is there any way around... more >>
how to use delegate? please help
Posted by C#Newbie at 3/2/2005 12:51:37 AM
Hi,
can any body help here?
two actionscript classes, when something happens in one class how to
trigger another function get called in the other class using delegate.
sample code will be really appreciated!!
Thanks
... more >>
Stopping all movies...help please.
Posted by Lynn at 3/2/2005 12:17:54 AM
Hello,
Am using MX 2004. I have a main movie (level0) that I am starting with.
When that movie reaches the last frame, I load another movie (level10). At
the end of that movie, I make the movie on level 10 invisible, and I load
another movie (level20).
Within each of these movies are vari... more >>
|