all groups > flash actionscript > august 2005 > threads for wednesday august 24
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
path problem
Posted by bored_boy at 8/24/2005 11:42:18 PM
I'm just a beginner. I'm now learning flash and I came upon a problem. I
created a button which I put inside a movie clip. And if the movie clip is
pressed then a variable within the button is modified. My question is what is
the path to that variable. What would I have to do so that the varia... more >>
How do I clear an Array?
Posted by tillurdizzy at 8/24/2005 10:50:22 PM
I need to clear an array and put new data in it. When used only locally, I've
just been declaring it every time within the function. But now I need it to be
available for other timelines, so I don't want to re-declare it within a
function, but to just clear it. In Lingo you just code:
m... more >>
.as file tutorial
Posted by Greg Humphrey at 8/24/2005 9:27:48 PM
I'm looking for a good introductory tutorial on using .as files. Is there one on Macromedia site or somewhere else? Thanks
... more >>
reference to movie name
Posted by directorsteve at 8/24/2005 9:18:01 PM
Is there a way to determine the name of a swf and use that name within the
actionscript?
I am loading a series of sequential flash movies that load a series of txt
files (i.e mainmovie.swf loads textmovie1.swf which loads textmovie1.txt, the
user clicks a button and mainmovie.swf loads te... more >>
FLV - Graphic - FLV
Posted by Ramtut III at 8/24/2005 8:29:33 PM
Greetings,
I would like to create the following:
A timeline where a progressive FLV plays
via Media Component on the left side of the screen.
Then an image (graphic/movieClip) appears at center stage
at a certain Cue Point.
Then a new progressive FLV appears on the right side
at anothe... more >>
Problem with multiple keylisteners
Posted by bwm_razel at 8/24/2005 8:25:25 PM
I have this one keylistener code attached in a .as file, which I've included in
my frames. It checks to see if you user has entered the correct text into an
input text box, and then reacts accordingly. I have this other keylistener code
on two separate frames, which allows the user to press "T... more >>
syntax errors when scroller pasted into existing file
Posted by livingwithanangel at 8/24/2005 8:10:26 PM
I'm trying to incorporate a scrolling text fla into a map, but when I paste the
code into my fla, I get syntax errors. I'm a relative newcomer to flash
actionscripting and have no idea why the _root line now gives an error when it
didn't in the original scroller fla (which I downloaded from Fl... more >>
How to do a loop while variables load.
Posted by ActionScripter1 at 8/24/2005 8:10:05 PM
Hi Guys,
I am currently loading in some variables from php mysql, this works fine but
one of the variables holds the path to a audio files .mp3
I am then using this script to play the audio file
if (playing != true)
{
playing = true;
preloadNow = 1;
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Actionscript Newb... HELP PLEASE!
Posted by Fifty81 at 8/24/2005 7:33:43 PM
Okay... I am new to flash and to the whole actionscript thing so please bear
with me.
I am building a website all in flash (first one), I have an animation of a
photo that I need to finish. The photo has a picture of a diner on it and
behind it are clouds that go buy. I have revamped the a... more >>
drag/drop problem
Posted by DrEv1l at 8/24/2005 7:09:59 PM
I'm trying to make a drag and drop "game" . if you can call it that
I've got 3 pieces that I want to drop in 3 places
this is the code
body_foto_mc._x = -223.9
body_foto_mc._y = 177.3
batterij_foto_mc._x = -112.0
batterij_foto_mc._y = 93.0
kop_foto_mc._x = -25.9
kop_foto_mc._y = 325.... more >>
Help With XML Grid
Posted by bweno at 8/24/2005 7:08:43 PM
I am trying to create a xml based photo grid for my web application. This is my
actionscript:
I can display my images in 1 row across but I can't seem to make a new row
down... Ultimately what I want is 4 images in each row as they decend down the
page. I have included my code that makes the... more >>
Strange handling of events using attachMovie() on a createEmptyMovieClip()
Posted by cctman1 at 8/24/2005 7:02:29 PM
When I click on a mc on the stage one time with the code below all the
event handlers fire instead of just the event handler that should be
attached to that mc. I have no idea how this is happening... See trace
out below...
_root.createEmptyMovieClip("pa?rentMCClip",
this.getNextH... more >>
Issues with layers in Movie Clip
Posted by maxgm1 at 8/24/2005 6:26:40 PM
:confused;
The movie clip I created as a library item does not reflect the layers I
created. The general idea behind this is that when you select one of the
buttons (out of 3), the other two dissappear to reveal text that serves as a
topic introduction for the section that the button point... more >>
Printing pages
Posted by Web Maven at 8/24/2005 6:12:32 PM
All;
Here is my problem, I have a text field that is populated by an array. The
text field can get large and I would like the user to have the ability to print
the content. But Flash takes the whole text box shrinks it down to fit on one
page. I there a way to have Flash print the text ... more >>
loading a swf into a html table cell
Posted by PhilRose007 at 8/24/2005 12:52:03 PM
hello everybody
I have a series of swfs which i want to run in a specific HTML table cell
depending on the link in a table is selected. This is probably more a HTML code
question really. The links are in the left hand column of the HTML page. The
cell immediately to the right is where I wa... more >>
how to pause sound???
Posted by skaucher at 8/24/2005 12:23:15 PM
i've got scrolling text with accompanying voiceover. i want to pause the text
and the voiceover and then unpause it.
it works fine the first time i pause it, but after that when i press pause the
voiceover seems to just go silent and carry on playing til i unpause and then
its a few lines... more >>
Objects in Classes
Posted by kaeptn-q at 8/24/2005 11:52:13 AM
Hi.
Thx for reading. i deal with AS since 4 years now, but did never care about
classes. now i want to make up my mind and learn the rest i dont know for "good
programming" (as good as it gets if you?re a designer ;-)
so i tried to make my first classes. after some simple ones that worke... more >>
Email form in flash with asp
Posted by IcklePickle at 8/24/2005 11:43:36 AM
Hi everyone
I've been racking my brains all morning trying to sort this problem out but i
cant seem to get around it. I have created a form in flash where the user
inputs news details and when the user presses the send button i want the info
theyve entered to be emailed to me. now i know ... more >>
Persian forum
Posted by Pooria Azimi at 8/24/2005 10:43:16 AM
Persian forum about ActionScript :
http://www.sohail2d.com/forum/index.php... more >>
Works fine in Flash but not on a html page?
Posted by csa at 8/24/2005 10:33:40 AM
Is there a reason why when viewing my movie in Flash MX04 everything looks
fine, but as soon as I export it into a html document things don't work? I made
sure my html page is the right folder with my swf files. Confusing?
... more >>
Reading indicies/keys of assotiative arrays in AS
Posted by ju2999 at 8/24/2005 9:17:43 AM
Hello,
I am getting a one dimensional assotiative array from a database function and
would like the keys- / indicies-names of this array. Php for example provides
the function array_keys() for this case. Is this possible in action script?
... more >>
Dynamically loading FLV's?
Posted by jdanser at 8/24/2005 9:02:16 AM
Does anyone know if there is a way to load FLV's dynamically into the media
playback component?
I want to have one SWF loading on one CFM page. While loading the variables
with CF from the database including the info on which FLV to play in the
SWF. I want to avoid having to create 100 SW... more >>
load movie preloader
Posted by Refael at 8/24/2005 8:35:10 AM
I have a simple button in flash with action to load movie when released.
?on (release) { LoadMovieNum ("brazil.swf" ,2);}?
Basically the first movie that?s load is the main movie (only 3 buttons and a
background).
These 3 buttons load an external movie that are all within the same folder.
... more >>
V simple beginner question
Posted by M_Brown at 8/24/2005 8:22:08 AM
I apologise in advance for this but I have a very simple question which I
cannot find an answer for in the help documentation.
I have set up a preloader and want it to only download a portion of my flash
website. How do I tell it to download a fixed range of frames?
M
... more >>
i guess this is some kind of domain problem?
Posted by felisan at 8/24/2005 7:13:48 AM
hi everybody.
i have a crazy problem with a very simple flash-project.
i've made two swf's:
in the first one, i have placed this code in the first frame:
_root.createEmptyMovieClip("video",1);
video.loadMovie("bygning_1_v2_adsl.swf");
/*_root.video.loadMovie("http://tekocenterdanmark.d... more >>
Using setInterval()
Posted by jmh722 at 8/24/2005 12:48:32 AM
if I have a function like this:
selectItem = function(bname:String){
///Code
}
How can I use setInterval to change the value of 'banme'?... more >>
Flash email form with php
Posted by dbento at 8/24/2005 12:47:54 AM
I have a form that sends data to a specific email. This works fine.
What doesn't work is when php send's the results, if the email has been sent
or not, back to flash, nothing happen. Like flash can't get php vars. I don't
know whats wrong.
This is the part of the code where is the probl... more >>
Can I lock out the unresponsive / abort script alert?
Posted by David Douglas at 8/24/2005 12:20:31 AM
I¹m loading in multiple XML files..
The code I¹ve written is good to handle a few XML files at once, but I¹m
firing 15 in there.
At about the 15th an alert appears saying..
³A script in the movie is causing Macromedia Flash Player 7 to run slowly...
Etc²
If I click ³No² to continue the... more >>
Making a Moving Bar Based on Number?
Posted by Neil at 8/24/2005 12:15:54 AM
Hi there,
I'm want to make a little bar, that when the movie clip is loaded, it will
"load" to a specific percentage......well, really "fill in width".
I'm trying my best to not confuse this with a loading/preloader bar, cause
it's not what i want - here's what im thinking:
I have an outl... more >>
I need a critique...anyone?
Posted by Centerpoint Computer at 8/24/2005 12:00:00 AM
My first venture into Flash has yielded the following website.
http://www.showseason.com
Everything was done within one flash document and there is hardly any action
script at all. The only thing I have are stop() commands and for the rotating
banner, an onmouseover stop().
I'd like ... more >>
Email form with multiple fields
Posted by Cabel at 8/24/2005 12:00:00 AM
I'm having trouble working with a template form.
]
on (release) {
url_var =
"server_option="+_root.server_option+"&recipient="+_root.recipient+"&your_name="
+_parent.your_name+"&your_email="+_parent.your_email+"&message="+_parent.message
;
getURL("contact."+_root.server_optio... more >>
Control text field
Posted by maikr at 8/24/2005 12:00:00 AM
Hello reader,
I've tried to activate the mouse wheel for a specific text field, but it
doesn't work. I thought it was a property that I had to set like:
textfield.mouseWheeEnabled = true;
Wrong? Because the scrollbar does work but not by use of the mousewheel.
My second question is... more >>
Preload issue - please help
Posted by FlashEnthusiast at 8/24/2005 12:00:00 AM
I have a main movie that has a preloader on it. When a user clicks a button I'm
using the loadMovieNum command to bring a new movie into level 0. That works
fine. At the end of the new movie it jumps back to the main movie using the
following code:
loadMovieNum("previewclass.swf?myvar=age1... more >>
Action Buttons with movie clips
Posted by MariaRaziel at 8/24/2005 12:00:00 AM
plase, may be you can help me.
I need a button to change a frame and stop in an independent movie clip when I click on the button.
any idea how to do this?
Thank you! ... more >>
Loadvars from page without defining page
Posted by Fractalice at 8/24/2005 12:00:00 AM
Quick question about loadvars. Is it possible to tell flash to do a loadvars
command to get variables that are defined on the current page (page the flash
is loading on) without actually hard coding the path to the page?
I have a flash banner that is reading information out of a SQL database... more >>
Charts/Graphs in Flash
Posted by matrixguy at 8/24/2005 12:00:00 AM
Hi,
I need to display chars/graphs in an ASP page on the website. The Graph will
have hot-spots, which, when clicked (or mouse hovered) should pop-up an image.
I am planning to use Flash for this. I have never come across a tool in Flash
that enables making charts/graphs based on data tak... more >>
Using Combo Box to choose font used for text field
Posted by Webguru1 at 8/24/2005 12:00:00 AM
OK I have a Combo Box with three font names that I need to control which font is used in a text field. I'm a little stuck. Any ideas? Thanks in advance.... more >>
Opening SWF files in a seperate window
Posted by rpoclt at 8/24/2005 12:00:00 AM
I'm creating a Flash program to be used as a presentation during
workshops/seminars. How do I open a separate .swf fie in it's own window - not
in the main Flash piece. I've tried making the separate file an .exe, the
problem is the security setting on our machines sends us silly prompts abo... more >>
Lingo has a "next repeat" command
Posted by tillurdizzy at 8/24/2005 12:00:00 AM
When you have a "if" statement within a "for" statement, and the "if" evaluates
to an undesirable outcome, what is the command to skip the remainder of the
script within the for, and go on to the next repeat.
... more >>
class with pre-defined classes
Posted by Andreas Buchner at 8/24/2005 12:00:00 AM
Hi,
I don't want to use function from within my movie. Instead I want to use AS
files. And some of these classes should use the pre-defined classes from
AS. Here is a non-functional sample of what I want to do:
class mybuttons {
on (rollOver) {
gotoAndPlay(2);
}
on (press) {
gotoAndPl... more >>
Help with vertical scrolling menu
Posted by quovadimus02 at 8/24/2005 12:00:00 AM
I'm creating a small image gallery that is run off an XML file. I have
everything importing into Flash just fine but I need some help making my row of
thumbnails scroll up and down when a user mouses over the up/down buttons. I
have a real simple scroll right now that is slow and doesn't stop ... more >>
Disabling tabbing focus entirely
Posted by bwm_razel at 8/24/2005 12:00:00 AM
This is my problem: I've already disabled the yellow focus rectangle box when
the user presses 'tab', with _focusrect = false;, but when the user presses
tab, it will bring focus to some buttons, and make some things visible that are
invisible on the stage.
What I mean is, if I press tab, ... more >>
mymovieclip.onMouseUp = function()
Posted by rollwithit at 8/24/2005 12:00:00 AM
Hi Guys,
I have just developed a simple xml photo gallery. Below is the code that I
have used to generate the gallery:
var gallery = createEmptyMovieClip("galleryImage",0);
for (i=0; i<total; i++) {
cur_item = gallery.attachMovie("mainImage","spec"+i, i);
cur_item.loadMov... more >>
global variables
Posted by DrEv1l at 8/24/2005 12:00:00 AM
In the root of my flash I've made a global variable: _global.teller = 0
now in up_mc I want to assign the number 1 to the variable.
I thought I could just do teller = 1 and it would automaticly know that its
the global if I didn't define one local
But it doesn't seem to want to do that
How... more >>
onRelease container.loadmovie("image.jpg") problem
Posted by Centerpoint Computer at 8/24/2005 12:00:00 AM
I've got a button on the stage that's supposed to load an external image into a
movie clip place-holder.
The container is a movie clip with an instance name of myContainer. The
button has the following script:
on (release) {myContainer.loadMovie("image.jpg");
}
When I test the m... more >>
Help
Posted by mslproductions at 8/24/2005 12:00:00 AM
Help.
I have external swfs which I load into a empty movieclip (_root.loadhere) on
my _root timeline. I would like to have a var that can store the name of the
swf which is being load into the empty movie clip
I have on the_root timeline
tempName = null;
when you press a button th... more >>
Help with variable
Posted by getziggy at 8/24/2005 12:00:00 AM
I don't do a lot of action scripting as you'll be able to tell by this post.
I'm trying to use a variable to specify which movie clip to control. I've set
trace actions to make sure that the variable is set and present, but I suspect
that somewhere along the line I'm using the incorrect syntax... more >>
Need help with text box
Posted by Skiphill at 8/24/2005 12:00:00 AM
I want to use anchor tags in a textfield to link to sections of the text from a list of names outside the textbox.
How do I accomplish that
Site is here: http://cmmentertainment.com/beta/... more >>
Error: this.menu
Posted by I3 at 8/24/2005 12:00:00 AM
Hi all,
I'll make this quick. I am trying to create a series of MovieClips (which will
act as buttons eventually) for a main menu screen. When the user right (or
CTRL) clicks I want a context menu to appear.
Since I am extending the MovieClip class to create my "buttons", I don't
under... more >>
FormMail in Actionscripting
Posted by BrenBeers at 8/24/2005 12:00:00 AM
Can some one please help me out. What I am doing is buliding a contact form
using actionscripting. I have hit a wall and I can't go any further with what I
know. Below is my coding thus far.
var myLV:LoadVars = new LoadVars();
myLV.onLoad = function(success) {
if (success) {
... more >>
|