all groups > flash actionscript > april 2007 > threads for wednesday april 4
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
active content update
Posted by jonnybennett at 4/4/2007 11:37:57 PM
I have downloaded and installed the active content update to publish my flash.
However I can't get the swf to be center aligned to the browser. I can get it
left and right, but not center.
the part of the code that holds the details on the swf are as follows....
PLease note this is how it de... more >>
Volume Slider
Posted by soodonimus at 4/4/2007 11:31:09 PM
Hello, I have created a volume slider with a button that starts in the center.
When I drag the button left, the volume increases. When I drag right the volume
decreases. How do I change the volume so that dragging left will decrease the
sound and dragging right will increase the sound?
onC... more >>
creating and using custom class
Posted by small_guy at 4/4/2007 11:08:47 PM
Can someone point me towards any good tutorials on creating custom classes? I
have created some code to move a character around in a game. I would like to
set it up as a custom class so that I can import it when I need it again. I
have (sort of) a theoretical idea of how this works but not the... more >>
Simple Calculation (for anyone other than me)
Posted by swodiddy at 4/4/2007 10:50:35 PM
I cant beleive I am posting this but I have fallen and can't get up...
I'm trying to calculate (2) dollar amounts for this 401(k) calculator I am
creating.
Can someone assist? I am trying to add the 'Your Investment' value to the
'Company Contribution' value to get the total combined... ... more >>
More than one right answer for input text
Posted by elearningdiva at 4/4/2007 9:47:04 PM
How can I set up my input text box to accept more than one answer? For
example, right now it accepts "checking", but I also want it to accept,
"Checking" with a capital C.
Here's my actionscript that I'm using:
var type1_str:String="checking";
submittype1_btn.onRelease=function() {
... more >>
Control Text Field
Posted by pcst88 at 4/4/2007 9:41:38 PM
I have a ComboBox instance named: imageCb and a Dynamic Text Field named:
matric_txt.
I want the matric_txt text to be read from a an external file (that is on the
same location). But that file is different for every value of the combo box,
the names of the files are the same as the cmoboB... more >>
Unable to expand movie clip inside of scroll
Posted by toucansu at 4/4/2007 9:33:10 PM
I inherited a .fla file with a scrolling thumbnail image movie clip that moves
horizontally inside of a "scroll" behind a mask, with the use of right and left
buttons. < > The thumbnail movie clip is much wider than the movie's
dimensions. I think it was made in Flash 5. I added about 30 new ... more >>
Reflective Movie
Posted by pacep at 4/4/2007 9:22:23 PM
I'm looking for a way to mirror a movie's playback,like a faded reflection.
Without adding a copy of the said movie or increasing file size. I want it to
do this with any call to play movie. Any ideas?
Thanks in advance.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
any way to for a class instance to ask what its instance name is?
Posted by DZ-015 at 4/4/2007 9:16:58 PM
Hey. I have a class which needs to create a movie clip on the stage. Since
each instance of the class will only ever have 1 movie clip on the stage at a
time, it seems reasonable that I have the instance create a movie clip with its
own name, prefixed with "mc_" or something of the sort.
... more >>
getURL - Button question
Posted by steve in houston at 4/4/2007 8:54:23 PM
I just made my first flash file, a banner for my website.
It pulls stats from my forum and displays them at the bottom.
I wan't sure how to make the banner 'clickable' so I put a button on it.
I used on(release) with getURL to a _blank page. It works great in Flash
when I test it, but whe... more >>
tracing loaded external SWF bytes
Posted by mheddle at 4/4/2007 8:25:17 PM
I have a file that loads 13 external Swfs into a shell. When they are all
loaded, the shell plays the files in succession. That works fine, but I a
trying to show the progress of the loading process, but the flash pretty much
freezes until all of the files are loaded then jumps my progress b... more >>
Text over button state
Posted by supdun at 4/4/2007 8:13:45 PM
I have a text field over a button. but I can not interact with the button with the text layered above. How could I fix this?
thanks,
Anthony... more >>
Call Javascript function with getURL
Posted by mkcol at 4/4/2007 7:56:03 PM
I can either open a new window using the getURL(javascript:function()) or I can
open a new page and pass a variable using getURL("yourpage.aspx", "Get") but I
really need to open the pop up with the javascript:function AND bring the
information from the variable into an HTML form field within ... more >>
Preloader doesn't work right in all browsers but Safari
Posted by nemesis_256 at 4/4/2007 7:44:52 PM
I have this preloader that takes a long time to start moving. It stays stuck
on 0% for a long time, and then starts moving. The browsers that I tested this
in are Firefox (win and mac), IE (win), mozilla (win), camino (mac) and the
only one that works, Safari (it also works correctly in flas... more >>
Help w/ Drag and Drop in Quiz Template
Posted by elearningdiva at 4/4/2007 7:21:06 PM
I want to be able to have several draggable objects be dragged into the same
target. More specifically, I'm trying to create an activity where the user
drags things into a "trash can" (the target). I am familiar with the quiz
template in Flash and I'm playing around w/ the Drag and Drop feat... more >>
Load and pause progressive FLV video
Posted by sh0wn at 4/4/2007 6:59:03 PM
We have a custom video player that plays progressive download videos. Some of
the videos we are using in a blog (see link below) start in black and fade into
view. I'm trying to figure out a way to have the video load a few seconds and
then pause on a frame that has an image (the interviewee).... more >>
Smileys in Textarea
Posted by Hope1983 at 4/4/2007 6:46:50 PM
Hellow
i don't know if i can write in German so i wrote in English( its not very well
:) )
I think the title says my problem. I want to join smiley in my textarea. But
there is a Problem with flash 8 pro!
this Code:
var newChat:String = so.data.chatMessage;
newChat = newCh... more >>
Multiple click points for one button and movie clip
Posted by aishaeb at 4/4/2007 6:35:21 PM
I am trying to make a single button into a multiple click point. I have a movie
clip on the stage and I have an invisible button over it. The movie clip
consists of a single timeline that has an ambient animation running and looping
intially. I have three more labeled sections of that timeline... more >>
2 digits in an on(keyPress "") ActionScript command??
Posted by joed8349 at 4/4/2007 6:14:26 PM
Is there any way to use the keyboard to type in 2 digits in an on(keyPress "")
command?
For example:
on(keyPress"21"){this.gotoAndStop(21);
}
to jump to frame 21?
I am trying to create a slideshow style presentation, but have the ability to
jump to various frames (more than 9 frames).... more >>
Code not accepting correct entry in input text field
Posted by Denatram at 4/4/2007 5:55:07 PM
Can anyone tell me why this code does not proceed to "correct" when 133 is
entered into the input text field titled "input_txt3"? I've used this code
elsewhere with different text entry with success.
keyListener = new Object();
keyListener.onKeyUp = function() {
if (input_txt3.text == "... more >>
Draw a line by key presses, or by following an object
Posted by adamlewen at 4/4/2007 5:18:23 PM
Hi There
I got a lot of help in my last few posts here, learned about the drawing API,
which is another step towards a solution.
I am trying to be able to move an object on the screen (key presses, already
working and moving)
but to have a line follow it.
now I found this cool piece (a... more >>
red screen of doom??
Posted by Mr Helpy mcHelpson at 4/4/2007 4:41:11 PM
So I have an app I've built that runs very successfully for 4 days straight
before it starts giving me a bright red screen. This app runs 24 hours a day,
7 days a week, etc. loading jpg's and swfs every 20 seconds or so.
After 4 days, it doesn't just turn red, but the background loader I've... more >>
Please Help Me On This
Posted by mkayyali at 4/4/2007 3:32:29 PM
Hellos All,
i have a problem in my as in this flash (http://kayyali.dnh.sk/final.html )
this is map , and u cant zoom out in first level , u can zoomin as u wish and
zoom out
THE PROBLEM IS : when the user open this map and drag to down he can also drag
it left and right,( look ba... more >>
Using buttons to call javascript function
Posted by designermonkey04817 at 4/4/2007 3:21:18 PM
I am trying to get 4 buttons in a flash movie to call different javascript
functions in my html page that load another flash movie into a <div> tag on the
page.
Button 1 example:
The function I am trying to load is: showGallery();
this function is stored in a .js file correctly linked... more >>
PreLoader causing component problem
Posted by sbryner at 4/4/2007 3:16:39 PM
Hey all,
I have a created a site that has a scene preloader that preloads my main.swf.
My main.swf then has a preloader for each external .swf file loaded into it.
Everything seems to work it preloads my main.swf showing the percent loaded.
Once it's loaded it appears and then loads an .... more >>
Alpha tweening with actionscript
Posted by MoonPilot at 4/4/2007 3:12:46 PM
I have a MC on stage that I have scripted to an alpha value of 0. I want the
alpha value of the image to tween from 0 to 40 (in 1 or 2 seconds)when a button
on stage is pressed. How should I go about this with actionscript?
The MC has a instance name of "MC2" and button has an instance name ... more >>
the simple way to link scenes?
Posted by damiendillard66 at 4/4/2007 2:51:05 PM
:disgust;ready to upload and now I am having all kinds of issues as to the best way just to get the site to flow from one scene to the next too many options and I do not know the way to go... more >>
Get the "line clicked"
Posted by rc3rdmd at 4/4/2007 2:43:43 PM
I have a dynamic text field which contains clickable text. I would like to highlight the line clicked. Can I get the line clicked ?
Thanks.
Rob Childress... more >>
really sliding slide show
Posted by Steve Zavodny at 4/4/2007 2:28:05 PM
Can anyone tell me how this is done, or send me to a tutorial? I would like to
use one long horizontal picture where only 800 pixels shows. When the user
presses advance, the picture slides to the left 800 (1000?, my choice) pixels
to reveal the next segment, and so on. Ease the start and e... more >>
line break
Posted by Help_Laura at 4/4/2007 1:57:24 PM
Hi,
Just a simple question really, but what is the syntax for a line break in
flash. I have an array with a large amount of text and within the text i want
to insert a break to make it go to the next line.
Thanks In Advance
... more >>
How attach movie using varable
Posted by CheapHardwarez at 4/4/2007 1:21:37 PM
I need to know how to attach a movie to a movie whos name is stored in a
varable.
First I dynamically attach a movie then I need to attach another movie inside
that movie. The problem is I can not discover how to attach a movie whos name
is store in a var into another movie.
First I a... more >>
GetURL and ASP
Posted by morst at 4/4/2007 6:23:41 AM
Hi
Newbie to flash and I have been lumbered to finish a project.
I jabe the following
on (release) {
//Goto Webpage Behavior
getURL("c:/inetpub/wwwroot/XXX_BACKUP/website/collection.asp","_blank");
//End Behavior
}
(I have used different path structure)
When this is... more >>
Tree component index confusion
Posted by incomt65 at 4/4/2007 4:59:55 AM
Hello,
I have a Tree component and need to access some nodes by its index. This is to
make a "move up/down" control. My idea, after trying many, is to duplicate the
selected (current) node up or down, then replace the content of the original
with the previous node content.
I wish not t... more >>
if statement help (beginner)
Posted by MoonPilot at 4/4/2007 4:30:34 AM
Hey folks, need a little help with an if statement.
I have a MC that has a two second tween, but a "stop ()" placed in the first
frame to prevent the tween from playing when the MC in activated. I'm trying to
use an if statement to trigger a gotoAndPlay event in the second frame, hence
sta... more >>
toggling sound without vars (flash 4)
Posted by JohnAtYM at 4/4/2007 2:49:30 AM
I'm doing an ad for a client that will be hosted on MSN. The client wants
sound. MSN says ok, as long as it only plays if the user switches it on.
OK, fine, no problem, think I all innocence. Then I notice the MSN small print
- must be compatible with flash 4.
So I change my publish sett... more >>
How to load all the images from a directory
Posted by Rory Carlton at 4/4/2007 12:49:56 AM
I have a directory with several JPGs inside. Is there a way to get my Flash
movie to load them into an array without knowing in advance how many inages
there are?
I have been doing this with an XML file that contains the image file names.
Read the file, then use the list of names to load t... more >>
"this." inside as2 classes
Posted by sajeev at 4/4/2007 12:00:00 AM
Can any one say, if i should use "this." inside my classes to refer class
variables and methods? What is its advantage and disadvantage? Does this
help compiler/flash player in any way.
please provide some useful links which explain more.
Cheers,
Sajeev
... more >>
Use a Movie Clip as the Preloader
Posted by IDM New Media at 4/4/2007 12:00:00 AM
I have been looking online for a way to use a Movie Clip as a preloader rather
than the standard bar. So based on the percentage that is loaded I want to be
a that same frame in my Movie Clip. Does anyone know of any tutorials for this?
I was thinking and is the only way to make the Movie ... more >>
|