all groups > flash actionscript > july 2005 > threads for thursday july 21
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
attachMovie(eval("t"+1),"t1",1);
Posted by aa at 7/21/2005 11:18:54 PM
The following code does not work:
attachMovie(eval("t"+1),"t1",1);
whereas
attachMovie("t1","t1",1);
is still OK
does attachMovie reject eval() as an argument, or I am doing something
wrong?
... more >>
navigation help with actionscript
Posted by Bloke at 7/21/2005 10:44:21 PM
Using Flash MX. I need some help with this action script. I have a main movie
and on the stage is a MC called "images".
Inside this MC is a simple movie that goes through a series of pictures and
stops on each one. But I want to add an extra section. So when I click this
button it jumps to t... more >>
to restart the whole swf
Posted by aa at 7/21/2005 10:20:52 PM
Is there a function to restart the whole swf is if it has been closed down
and loaded again ?
... more >>
PrintJob
Posted by Scottsman at 7/21/2005 9:15:06 PM
I am currently using Flash MX 2004 to output a projector that uses the
PrintJob function. I am creating a kiosk that runs off of a Mac, but when the
user presses the print button the OS kicks in and the "page setup" window opens
and then the "print window" opens to confirm. Is there any actio... more >>
gotoAndStop if all mc's _visible = true
Posted by andy ga at 7/21/2005 9:08:43 PM
hello,
i have 8 movie clips that are all set to be invisible on the first frame, and
their _visible state changes to the opposite state whenever you press a button
over them. how can i make it so that the movie does a gotoAndStop action on
another frame if & only if all 8 movie clips are s... more >>
Forms
Posted by Royal Oaks Media at 7/21/2005 8:44:17 PM
HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I need some serious help figuring out how to edit the actionscript below so
that it will send the... more >>
controlling _alpha values with actionscript
Posted by Robner at 7/21/2005 8:39:26 PM
I have searched seemingly everywhere and cannot find any information on how to
control fade ins and fade outs over time using _alpha in action script.
Can anyone tell me where to find documentation on timing fade ins and outs
with actionscript??
Thanks,
Rob
... more >>
Flash/ASP --> email to server to web page
Posted by janericster at 7/21/2005 8:24:10 PM
:confused;
ActionScript newbie here....with no idea how to do the following:
Scenario: my client (using ASP on their web site) sends out emails to
prospects and wants to include a link for them to click that will open a
dynamic page on their web server. The page will have a Flash animat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Button in MovieClip???
Posted by -ToTi- at 7/21/2005 8:12:05 PM
hi, how can I set an action to a button that is inside a movie clip but that the actions happens in the main timline, not in the movie clip???
thanks... more >>
Extreme Flash Bug
Posted by ASThompson at 7/21/2005 7:15:33 PM
Greetings,
It seems that loading information from an external web server is bugged in
Flash. I believe that it is broken and cannot be worked around using code. I
have has the same issue since Flash MX (Flash 6) and the problem is continueing
into Flash MX 2004 Pro (Flash 7).
When lo... more >>
Override keyborad settings
Posted by m_mohabs at 7/21/2005 7:09:37 PM
Hello Flashers;
I want to create some car driving alike car games using Flash MX 2004.
Player should drive the car using keyboard arrows, but here is the problem:
When player press the up arrow (or down arrow) the car make the first step
forward, stop for a short-while, then keep going for... more >>
Loading a file that doesn't exist
Posted by Softrider at 7/21/2005 6:42:03 PM
I'm trying to make a slide show that pulls files out of a folder and so far
everything is working. My problem lies here at the end of the files. My files
are named "photo1.jpg, photo2.jpg" and so on... Now the last file number is
unknown because my clients want to keep adding photos. So when t... more >>
Erasing with the Drawing API
Posted by easleys at 7/21/2005 6:14:15 PM
Is it possible to erase individual lines, or segments thereof, dynamically
created with the Drawing API. I know we can clear everything within a given
clip by using the .clear() method, but we are trying to simulate more of an
erase "tool" type effect. Thanks for your help!
... more >>
How to save data locally
Posted by adrianTNT at 7/21/2005 6:01:26 PM
Hello.
I know that flash has afeature that can save data locally just like trugh a
cookie, information can be saved and then it can be read later.
I need it for this: I have a flash header with sounds, user can stop the
sound, I want this information to be saved locally and loaded when ... more >>
Urgent problem with a Javascript Call
Posted by Lumiere Studios at 7/21/2005 12:18:45 PM
Hello, excuse me for the "Urgent" but I have a problem
I have make a page with this sample
http://www.dynamicdrive.com/dynamic...framescroll.htm
Now I need to exchange the link Up and Down with a flash button and make a
javascript call from the flash button.
In the flash button I hav... more >>
Drag'n'Drop + custom 3-state cursor
Posted by bulls23 at 7/21/2005 11:07:20 AM
hi
i'm trying to make a drag n drop based navigation.
here is the action script of the mc to be draged:
on(press){
startDrag(this,false);
_root.cursor_mc.gotoAndStop("drag")
}
on(release) {
stopDrag();
if (this._droptarget == "/dasteam") {
_root.gotoAndPlay(60);
... more >>
load a movie while while it?s playing in the background?
Posted by linkan12 at 7/21/2005 10:20:49 AM
hi,
i have a problem and hope somebody would be able to help out
from the main timeline i load a movie called "slideshow" including 10 jpg`s,
when triggering a button it starts in the beginning. it works fine but then it
starts with the same image all the time.
is it it possible for ... more >>
GoTo&Play onRelease
Posted by Ammaa at 7/21/2005 9:51:00 AM
1. Only 1 Scene - Created buttons at right as selection buttons to go to
different labeled frames (for different topics)
When click the button the 1st time to go to any labeled frame that comprises
of one frame and if I press the same button the 2nd time, instead of calling
the same frame, ... more >>
loaded quiz not working
Posted by aldred at 7/21/2005 8:56:25 AM
I searched the forum and found several posts on the same problem but no
solution. Anything new?....
I have a series of swf files made using the quiz template, and I'm trying to
load them into a parent swf using loadMovie. Unfortunately, it looks like
there's some kind of conflict in the te... more >>
tracing a location
Posted by Brian at 7/21/2005 8:21:39 AM
Is it possible to trace the location or path to a dynamically placed MC
or button? I was using the Debug > List Objects feature, but using that
path still did not work. Can you trace it? I think I remember something
about doing this to get the exact location.
Thanks for any help!
Brian
... more >>
blocked (onRelease) with attached buttton?
Posted by Brian at 7/21/2005 8:14:43 AM
I can't seem to be able to get the path for this button I am placing
dynamically on my stage. It seems like when I trigger the function that
attaches the button from a loaded movie, the path changes.
I am doing the following and can't get the button to work:
I am attaching a button(which i... more >>
SendAndLoad
Posted by DazFaz at 7/21/2005 8:00:32 AM
Im working on the PC platform and using SendAndLoad without any problems BUT
when I test the script on the MAC platform the thing goes pearshape. Has anyone
else come across this problem and if so how did you get around this?
Thanks
... more >>
root width
Posted by jwize at 7/21/2005 7:38:08 AM
I just used system restore on windows xp.
Up until now my actionscript has beeen working fine. It seems that something
has been messed up.
set the document properties to be 400 by 400 and the _root.width reads 567.
I haven't any idea what could cause this.
... more >>
Having a hard time with variables
Posted by Gosugenji at 7/21/2005 12:31:23 AM
ok lets start out with the site, www.mbtusa.com
in the shoe types section im trying to make it so when you click on a shoe and
it zooms up, i want it to be able to purchase the zoomed shoe with the purchase
button but unfortunately the variables or something isnt going right.
heres the cod... more >>
Centering an externally loaded jpeg
Posted by cmdsonline at 7/21/2005 12:00:18 AM
Trying to load and center different size externally loaded jpegs. It flashes
"out of place" then centers quickly. I'm trying to keep it invisible until it's
fully centered. I'm under a deadline so any quick help is greatly appreciated.
Here's what I got:
in the actions layer:
function pr... more >>
when is "i" impractical to use
Posted by GhettoFabFlah at 7/21/2005 12:00:00 AM
I have made a preloader with 100 mc's. on each percent loaded one (randomly
chosen) of them plays. so when 1% is loaded one of them plays, then another at
2%, and so on. i know most of the code, the random() stuff and how to make a
preloader, but im having trouble with the part of playing the... more >>
function to remove everything from the scene
Posted by aa at 7/21/2005 12:00:00 AM
Is there an AS function to remove everything from the scene?
... more >>
Checking Hit Test of other _mc and moving them
Posted by weanderson at 7/21/2005 12:00:00 AM
:beer;
I'm trying to put together a little Holloween exercise for a class on carving
pumpkins. The objective is to provide the user the opportunity to select eyes,
nose, and mouth of a pumpkin of a choice of three each. The problem I am
running into is returning "eye1" back to a bin when "... more >>
Video Help
Posted by - .plague. - at 7/21/2005 12:00:00 AM
Hi
I've imported a video into flash and turned it into a movie clip, but what i
want to do is when the flash is loaded i want to click the video and it starts
playing but i dont want any hidden buttons or anything. I started off by putting
movie1.stop();
so that the movie wouldnt aut... more >>
dynamic jpg, runtime scaling and more
Posted by FluidBrix at 7/21/2005 12:00:00 AM
Hi
I am building an auto scrolling menu of images for a client and am running
into issues. I do more graphic work than programming and am not familiar with
certain features of flash mx 2004 pro.
I'm making a menu of sorts that scrolls based on mouse position which is
pretty easy with f... more >>
How to judge whether many movieClip loadMovie successfully?
Posted by bbfrog at 7/21/2005 12:00:00 AM
I use the following method, but it can't work. Ask for your help and
suggestion. Thank you.
The previous Frame:
Every movieClip ( thumbMC ) use loadMovie method to load image in
internet. The image's address may change due to different parameters. Some
images maybe slowly to loaded... more >>
How to set up a tab key function?
Posted by bwm_razel at 7/21/2005 12:00:00 AM
I'm wondering what the best way is to set up a tab key function. My plan is to
have someone enter text into an input text field, then they'll need to press
tab to advance to the nextframe.
Thanks in advance.
... more >>
Dealing with 'return' in function
Posted by SteveStall at 7/21/2005 12:00:00 AM
Hi there,=20
=20
Could someone tell how can I make use of the "return" command in =
functions?
=20
I've created a function called "alpha" that is declared as being =
inherent to any movieClip. What I need with this function is to control =
what kind of response should the function giv... more >>
dynamically populating a Flash component
Posted by teknon at 7/21/2005 12:00:00 AM
I would like to use the ScrollPane component in Flash to scroll through a
dynamically generated set of movie clips.
I am using an array to attach movie clips to the document using attachMovie();
The attached movies should nest inside the ScrollPane component. For some
reason, the MCs are b... more >>
Simple XML question
Posted by Tony Heagren at 7/21/2005 12:00:00 AM
Hi all...
first you shouuld know that XML is a WHOLE NEW WORLD to me !
OK - simple question.
I'm importing news stories from a .xml page on the server.
Works fine.
In one story I need an external link - i.e. an old fashioned hyperlink that
will pop a new browser window and take the user to... more >>
PHP (or XML) Slideshow?
Posted by theblessedone at 7/21/2005 12:00:00 AM
Hey guys,
Can anyone show me a tutorial, or tell me how, to build a slideshow that
utilizes php script (or xml) to populate it? I also need to be able to adjust
the php script, when needed, to control how long the image is displayed and how
long it takes to fade between images. I basi... more >>
How to detect keyborad double tap in Flash?
Posted by liangchen at 7/21/2005 12:00:00 AM
Hello everyone,
I have been wondering how can I implement the functionality of double tap
detecting in Flash MX 2004. I searched over the internet (put "implement double
tap Flash" in google search box) but haven't got any luck. I would really
appreciate it if anyone could give me a exampl... more >>
Params to movieclip
Posted by jwize at 7/21/2005 12:00:00 AM
I have made a little block-out arkanoid game. I put the game in a movieclip to
organize things and to also give myself room to add a options screen and
variable level builder screens. I am new to actionscript. I just need to have
the options passed from the options screen to the game movieclip... more >>
loadVariables problem
Posted by darling39 at 7/21/2005 12:00:00 AM
Hello,
I a new to flash, and I'm hoping someone can help me with this problem. I
have a movie clip containing an "email form" I have placed an instance of
that movie clip on the stage along with a submit button. When I click the
submit button, i get no response, (except for the resu... more >>
Actionscript and C#
Posted by Chip W. at 7/21/2005 12:00:00 AM
Hi,
This may not be the right place for this post, if that's true, I apologize.
I'm new to C# and just discovered an occurance with the Flash assets we're
trying to convert from web-based to C# based. Does anyone know of any way in C#
to intercept an Actionscript command to stop a getURL... more >>
DateChooser
Posted by scott filloon at 7/21/2005 12:00:00 AM
Is there a way to get the value of the selected day from a date chooser
component? I've tried using "selecedDate" but that gives everything. I'm just
trying to display the date (mm/dd/yyyy) in a text field from the selected value
of the dateChooser. The text field is located elsewhere on th... more >>
Problem with progress bar
Posted by Ron8000 at 7/21/2005 12:00:00 AM
This is really weird all of this works in the Flash MX progie, and in the Flash
projector, I don't know what's wrong or if it's my borwser but if you can help
please...
var oLpBar = new Object();
oLpBar.complete = function(eventObj)
{
pBar.visible = false;
}
pBar.addEventListe... more >>
Multiple Movie Clip Properties
Posted by easleys at 7/21/2005 12:00:00 AM
Is there a way to create multiple properties for a movie clip at one time? I
know that I can create an object and give it multiple properties like this:
myObj={name:_global.myName, type:"circle", isSelected:false, startX:0,
startY:0}
I also know that I can then create a movie clip and p... more >>
Preloader as MC or SWF ?
Posted by combava at 7/21/2005 12:00:00 AM
Dear all,
I am making a portfolio site, whose content is loaded as needed from external
swf files.
I would like to use the same preloader for both the main movie and each of the
individual external swf content movies.
Logically, I guess, it seems my preloader should itself be an externa... more >>
Application Screen timeline reference.
Posted by skyhead03 at 7/21/2005 12:00:00 AM
I have a function that I used succesfully in an old Flash App. that I'm trying
to use in a MX2004Pro Application Form project.
Here's the function, simple enough:
function stayHere (howLong) {
enterTime = getTimer();
do {
waitTime = getTimer();
elapsedTime = Math.round((waitTime-... more >>
|