all groups > flash actionscript > august 2004 > threads for tuesday 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
dynamic loading using getBytesLoaded()
Posted by hexapus at 8/24/2004 11:31:09 PM
hello folks
i.m looking for a way to use a pathname to a movie clip stored as a string,
and concatenate it with the getBytesLoaded() command, for example
var pathToClip = "_root.holder_mc.something_mc."
and then call something like: pathToClip + getBytesLoaded();
instead of just a pl... more >>
Need help with loadMovieNum
Posted by Pixel_Pixie at 8/24/2004 11:25:39 PM
ok I have 2 swf files here, my main one and my second one. On the first frame
of my main one I want to load my second swf into Level1 so I have this
loadMovieNum("myFile.swf",1)
it loads up fine but if I try to go to a frame like this
_level1.gotoAndStop(3);
Nothing happens, it loa... more >>
Save Image as... in Flash?
Posted by Germán Fonseca P. at 8/24/2004 9:57:55 PM
hey guys do u know how i do to save images in flash to computer?
tx for any ideas
... more >>
Problems with Progress Bar - Preloader
Posted by TinaLousie at 8/24/2004 8:55:53 PM
In Flash2004MX are you supposed to use the "loader" component with the
"ProgressBar"?
Can someone be kind enough to send me a step by step description with the
action script code for each frame (2 begining frames) so I can get a preloader
working finally. I've been through all the forums an... more >>
Total time of flv videos
Posted by Rapha at 8/24/2004 7:42:04 PM
Hi,
Im making a flv player with a bar to jump to certain point of the current
playing flv video.
I dont found any property to archieve this... I've used "time" property to
calculate the current position of playhead, but how can I know the total time
of flv video?
Thanks in advance
... more >>
How to access array outside of function??
Posted by splendorx at 8/24/2004 7:35:35 PM
I am unable to access the array outside of 'ok' function. The trace function
works great within the 'ok' function. However, when I try to access the array
outside of the 'ok' function using trace again, it does not work and displays
'undefined'. Any ideas on how to access array ouside of 'o... more >>
Flash/Quicktime integration
Posted by zersa_18 at 8/24/2004 7:33:35 PM
i want some type of flash script that can detect and install quicktime from within flash. Please quide me.... more >>
Form in a form, popupManager and contentPath
Posted by panorezo at 8/24/2004 7:23:19 PM
Hello !!
Ok... so the structure of my app :
FormApp
---> Application
------> Splash
------> FNavigatorContent
------> LogWriter
FormNav (contentPath of FNavigatorContent)
---> FNavigator
FormStudents
---> FStudents
------> FStProfile
------> FStStatus
The FNavig... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
pre-load multiple swfs
Posted by dan the guy at 8/24/2004 7:23:06 PM
Hi folks,
I have 3 swfs that I would like to preload on a main swf. Once loaded, go to & play content of main.
Any ideas?
I have searched all day. Any help greatly appreciated.
Thanks.... more >>
DataGrid Horizontal Scrollbar
Posted by pwp69 at 8/24/2004 7:20:37 PM
How does one turn on the horizontal scrollbar in a DataGrid component? I am
using a dg to display several columns from a recordset. The columns extend
beyond the width of the movie and I would like to allow the user to scroll
left to right to see all of the data.
I've tried myDGInstance... more >>
how to get the size of a jpg loaded in a mc???
Posted by dries at 8/24/2004 6:46:42 PM
hello
How can I get the "width" of a *.jpg file, loaded into the mc by the loadmovie
command?
Checking the size of the movieclip returns only the size of the original
movieclip, not the size of the loaded image file...
Can someone help me with some tips?
I would be very happy,
th... more >>
scrollbar background color?
Posted by SpeCiaL-T at 8/24/2004 6:43:18 PM
hi, I'm customizing scrollbars at the moment, however I didn't get the scrollbar background to another color then grey... more >>
works locally but no when I upload?
Posted by mgason at 8/24/2004 6:28:14 PM
why does this work locally but not when uploaded?
I am using flash mx
I load a video swf (generated by sorenson squeeze) with sound into an empty mc
with this code on the empty mc.
This works on my local machine but not once I upload.
Any ideas? Please I have been trying to get an answer ... more >>
link troubles
Posted by TreeC at 8/24/2004 6:20:35 PM
I have a site with a ton of logos, that need to link to their various sites.
It was suggested that I convert the logos to movieclips so I could attach
links. I did that, and now my problem is that every logo, and button on the
page, now goes to the first link I set up. Can anyone help? I j... more >>
Setting up an array for use in a DataGrid
Posted by Pluda at 8/24/2004 6:02:36 PM
Hello all!
I'm trying to use one DataGrid into my site, but can't find a way of passing
the php vars to it.
I'm using this in php to manage my Mysql results,
$str .= "Refer?ncia:".$row["ref"].", Nome:".$row["nome"].",
Fam?lia:".$row["familia"].", Descri??o:".$row["descricao"]."\n";
... more >>
Countdown Timer HELP!
Posted by scriptKid at 8/24/2004 5:57:28 PM
Hello,
I'm trying to make a countdown timer that counts down from 10 minutes then
repeats. It's for a project that retrieves data from external files every 10
minutes. On a related note, I can't get setInterval to work, but that's
another issue.
How can I make a countdown timer tha... more >>
setInterval problem!!!
Posted by murka390 at 8/24/2004 5:53:21 PM
i have this in a frame 1 inside a movieclip. it is supposed to check
constantly, if _parent.vastus23 = vastus1, and if condition id true, then do
nextFrame();
but it does not work. what could be the problem? ( vastus1 is sent by a button
in another mc)
kason = function () {
if (_paren... more >>
Need help with the eq or == script
Posted by Ali_D_UK_2004 at 8/24/2004 5:47:29 PM
I am making a login box that loads a text file in the main part of movie with
password var. for sum reason i cant get the == part working, if the
userpassword is not eq(==) to the ussername then it works but if i put the
correct password it dont work. the script is belowe. please advise me.
... more >>
Keystroke Navigation
Posted by Jimmy Collins at 8/24/2004 5:41:33 PM
Hi,
I'd like to advance my flash movie by 1 frame when the user hits the 'pgdn'
key.
I'm thinking of using on either Key.PGDN or on keypress<PGDN> - but i can't
attach either of these to the frame on my movie without an error.
Can anyone help me ?
Thanks for your time,.
MRP
... more >>
gotoAndPlay inside movieclip--Help!
Posted by CougarTheCat at 8/24/2004 5:10:08 PM
Hi!
I use the code below in a movie to wait for a sound to finish before starting
the next sound. This movie works fine. I now have a main movie that loads
this one and suddenly it plays only the first sound and then stops. My guess
is there is something wrong with me using _root.gotoAn... more >>
Quick LoveMovie Question
Posted by conquerors04 at 8/24/2004 4:54:05 PM
Anyone ever had a problem getting the loveMovie Command to work loading an external swf file into a MC? Pictures work, but no MC? Help!... more >>
attachMovie Method Double?
Posted by retnweb at 8/24/2004 4:31:33 PM
Hi Everyone,
I'm having trouble with the attachMovie() method. I use it to attach an
instance of a runtime shared library Movie Clip, and I then duplicate it to
have four buttons which I then add rollovers etc. However, the initial MC that
I attach ends up doubled. The page can be viewed a... more >>
Using sequenze-named variables...
Posted by Sindri Bergmann at 8/24/2004 4:17:39 PM
Is there any way to use for statements with sequenze-named variables?
The variables are named _root.image1, _root.image2 ...
Something like this:
var fjImage:Number = 5
for (var i = 0; i<fjImage; i++) {
_root.image+i
'or something like this!!!
);
}
Please help, this would save me a ... more >>
help with StyleSheet
Posted by Mykoo at 8/24/2004 4:10:42 PM
look
var myStyle:TextField.StyleSheet = new TextField.StyleSheet;
myStyle.setStyle("pissedOff", {fontSize:'20', color:'#990000'});
//apply the style to the html-enabled textfield on the stage
my_txt.styleSheet = myStyle;
my_txt.htmlText="<p class='pissedOff'>I am beginning to hate doin... more >>
Popup window
Posted by theroil at 8/24/2004 4:09:36 PM
Please help! I need to launch a 600x550 popup window with no scrollbars using a single frame action. I'm struggling to make this happen.
A solution will be greatly appreciated.
Thanks
db... more >>
gotoAndPlay won't goto the first time
Posted by jenigrant at 8/24/2004 4:00:29 PM
I have a gotoAndPlay on a frame that is supposed to send the Flash movie to the
first frame of a different stage.
gotoAndPlay("Logos", 1);
Up until yesterday, this code worked perfectly. Then I moved several repeating
elements, fonts, and components to shared libraries to reduce the size... more >>
combobox and mx.screens.Form
Posted by panorezo at 8/24/2004 3:58:51 PM
Hello Everybody !!
I use Form design to create an application. But for more efficiency, I load a
form (par) application into another form application who is the bottom.
Components works, but combobox doesn't display data ?? The combobox
dataProvider is filled with an objects array, and dat... more >>
Floats differ in mac and pc.
Posted by snokentoken at 8/24/2004 3:26:50 PM
Hi,
I'm developing a multiuser app in flash. Lots of math for physics and such.
"user actions" are sent as strings via a basic socket server. All values
internally are "floats" and before sending them they are translated to a
string. Also the string is convertet back to reflect the same ro... more >>
Menu animation issue
Posted by rimmy at 8/24/2004 3:16:51 PM
I am working to create an animation that follows the mouse as it rolls over a
list of buttons. i am having a hard time figuring out how to get the spider
(in this case) to either a) follow the mouse the whole time or b) smoothly
descend on the line rather than snapping directly to the button.... more >>
Icon modification
Posted by Tical18433 at 8/24/2004 2:56:01 PM
For my .exe projector files, can i change the icon to a custom made icon? If so how do I go about doing it? I already have a graphic i want to use. Thanks in advance for any help. ... more >>
alpha fade in & fade out
Posted by Arshish at 8/24/2004 2:00:49 PM
Hi I am making a tutorial & for that I have made text boxes that appear during
the movie & pause for a specified amount of time. Everything works fine but i
am trying to fade in & fade out the texboxes with actionscripting, without
keyframing.
I am aware that
movieClip._alpha=value; (... more >>
Help with Actionscript
Posted by dprovidenti at 8/24/2004 1:47:13 PM
Hi all...
I'm trying to create an action in a flash movie that works like a print
action, except instead of printing a frame, the frame is turned into an image
file and can then be sent to an email address. Anyone have an idea of how to
accomplish this?
... more >>
can't find the solution with my button
Posted by drooopy at 8/24/2004 1:45:09 PM
Hi i am stock with a button which don't want to enlarge my picture.
Can you take a look at my problem.
Thanx a lot
The file is : http://www.cha.fr/allumette/travaux/client1.fla
(It's the small pictures that must be enlarge)
... more >>
Load Swf Problem!
Posted by CougarTheCat at 8/24/2004 1:10:32 PM
Hi,
I want users to complete a test online. The test has 4 sections. Each
section has questions with graphics and synched sound to each question. I have
created a swf for each section. I would like to have the main movie load the
swfs in succession. I want to check the next movie is l... more >>
Full Screen with Non Scalable Elements
Posted by xchristopherx at 8/24/2004 1:08:01 PM
I want to be able to have a full screen movie that will have a flash movie in
the center of it. I do not want to have the center movie to scale. I just want
it to be in the center, and the other movie full screen. I also want the
centered movie to control the bg fs movie.. Any ideas or links f... more >>
Checkbox in Learning Interaction-Help!!!
Posted by aldidi at 8/24/2004 12:53:50 PM
Hi everyoane!
I want to start a specified MovieClip when a Checkbox in an Multiple Choise
interaction (from Flash Learning Interaction) are true and Check Answear buton
are presed.
I have traied many code but the result was like all Checkboxes are "true".
Please help me!
Didi
... more >>
Load and unload clips - Help wanted
Posted by Anth2003 at 8/24/2004 12:04:46 PM
I'm writing a little game where people make choose between a couple of options
and are scored for their choices...
I was hoping to have each pair of choices on individual movie clips with
instance names 'question1', 'question2' etc...
Each clip will have a pair of buttons on them and I ne... more >>
small tricky problem
Posted by kapilmohan at 8/24/2004 11:57:43 AM
Hey,
I have 4 sibling movie clips - a rectangle shape and 3 button movie clips.
Now, I am trying to effect this behaviour - when there is mouseover on the
rectangle the buttons should show up and when there is mouseout buttons should
dissappear. Note that button movie clips are displayed i... more >>
LocalConnection and getURL
Posted by Flashertyp at 8/24/2004 11:14:23 AM
Hi,
i want to send some variables to an swf file in the same html frame and load a new content.
the problem is that after loading the new content all variables are reseted.
help me plz... more >>
preserve line breaks in text from flash
Posted by justblackcoffee at 8/24/2004 10:40:58 AM
I am trying to display text received from flash in a html page
How do i get the html to write <br> on the returns.
I am using it on a asp page.
I already tried the following:
strMessage = Request("inputext")
and then:
strMessage = replace(strMessage,"%0D","<br>" & vbcrlf)
or
... more >>
question with text area component
Posted by madhava_ram at 8/24/2004 10:23:19 AM
Hi all,
I want to know how many lines of text the user has entered in the text area
component. and also i shld get the lines of text. i don't want to use the
TextInput Component
How to get :(
please help me out :((
Eagerly waiting for the reply
Thanks and regards,
madhava r... more >>
current frame??? Should be an easy one???
Posted by Brian at 8/24/2004 10:12:19 AM
In my current movie I have an frame labeled "end" and a frame labeled
"beginning".
I want to, upon the click of a button, test if the playhead is at the
"end" frame.
I was going to do something like this:
audio_btns.play_btn.onRelease = function(){
if(frameLabel == "end"){
gotoAn... more >>
Prototype explanation for beginner
Posted by loop360 at 8/24/2004 10:05:17 AM
Can someone explain to me how the protoype syntax works as I can't seem to find a beginners guiide to how this can be applied to make authoring more efficient. Thanks... more >>
about custom cursors
Posted by ozdemit at 8/24/2004 8:40:58 AM
Hi all,
I have created a cursor for my project and easily hide the mouse arrow..
everything seems ok till now but when I wanna recover back my custom cursor
with the white-arrow, flash removes the custom one..
however I dont desire such a solution.. how can I get back my lovely object? I... more >>
about custom cursors
Posted by ozdemit at 8/24/2004 8:40:57 AM
Hi all,
I have created a cursor for my project and easily hide the mouse arrow..
everything seems ok till now but when I wanna recover back my custom cursor
with the white-arrow, flash removes the custom one..
however I dont desire such a solution.. how can I get back my lovely object? I... more >>
Need help with loadVars()
Posted by janice_2k at 8/24/2004 8:39:14 AM
Dear gurus and members,
I am new to actionscript and coding. I would like to know whether is it
possible to use loadVars() to load client side's txt file. I have a flash
button that is supposed to check for the existance of a txt file on user's
computer. If that txt file (a fixed path on ... more >>
Gradient Masking
Posted by Sky Strider at 8/24/2004 8:12:31 AM
Is it possible to use a gradient mask so that the mc u are masking via setMask() is going to fade into the stuff behind it?
thx a ton ^_^
Sky Strider... more >>
smooth stop
Posted by Dier02 at 8/24/2004 7:23:59 AM
I am having a circle rotate x degrees using actionscript. I want it to come to a smooth rather than sudden stop - eg slow down just before it stops. How would I do this? ... more >>
asfunction with rollover??
Posted by fozzie at 8/24/2004 7:14:41 AM
hi all,
i have a dynamic html text field with hyperlinks.
is it possible to use "asfunction" with a "rollover" instead of a "click"?
fons
belgium... more >>
loading a .jpg and checking if loaded
Posted by murka390 at 8/24/2004 7:08:59 AM
i have a problem with loading a .jpg into movieclip and then checking if it's
loaded and checking the _height of that loaded .jpg
here is my .fla
http://www.hot.ee/murka390/temp2.fla
the goal is to get the MC to rotate 90 degrees if the .jpg is loaded into that
MC and the _height of t... more >>
Quality changing automatically in 2004???
Posted by pankajkanda at 8/24/2004 6:56:24 AM
Hi,
I created a template in Flash MX for my application some time back. it uses
xml at the backend for all the content required. I recently tried to upgrade
the app for 2004, though everything works fine... on clicking a functionality
of next page, the quality lowers down to low; and if i ... more >>
Rollover
Posted by grubbytron at 8/24/2004 6:35:49 AM
Hello. What would be the code or instructions to make a button on rollover go
to a different frame? Do I make that button a movie symbol or button symbol?
What do I put in the place of instanceName? I have tried everything I can
think of several times. Please help. Thanks.
... more >>
View the code
Posted by grubbytron at 8/24/2004 5:50:29 AM
I am trying to find out how to view the actionscript code while using Flash MX 2004. Thanks.
... more >>
HELP! Objects giving info to first frame
Posted by Shraka27 at 8/24/2004 4:21:23 AM
Hi. I have a set of components in the project I'm working on that need to tell
the 1st frame of the movie what frame they are in. ie I want to be able to drag
one of these components into frame 8, and have it set a variable in the first
frame such as "MovieClip1Page = 8" at the start of the pr... more >>
Actionscripting Issue NEED HELP ASAP.
Posted by mistainfa at 8/24/2004 2:54:13 AM
I'm doing a intro for a site, I started with two seperate movies.
The first one will play and I wanted other to load when the first
has reached the last frame, but I changed my mind and ended up
cutting all the frames from the second movie, going the the first
movie, creating a second sce... more >>
movieclip.LineTo not working
Posted by recs at 8/24/2004 2:30:56 AM
This code makes a small object to move in a sinusoidal path. Also I placed a
script that involves the movie clip "lineTo" method to create a wake or a
lasting trace of this path. But is NOT WORKING.
Please explain why it not working, my eyes are tired of finding this elusive
problem.... more >>
Flash-Java Communication
Posted by Gza at 8/24/2004 1:39:12 AM
I am trying to create a link in Flash that opens a htm file which is a log in
screen but i need code for the link to populate the login and password fields
with a default login and password??? Can anyone help????
... more >>
Jitter in MC Button
Posted by Betlegeuse at 8/24/2004 1:02:40 AM
I am getting a jitter between an MC button I created and the mouse cursor. It
seems like when the cursor is right on the border of the MC, it can't decide
wether it is inside the clip or not. It makes the MCButton rapidly switch
between "up" and "over" stages. The Dimensions of the MC are se... more >>
attaching swap depths
Posted by nicname at 8/24/2004 12:22:22 AM
I'm unsure with the swapdepths code should it be placed in each movie using the
on press?
The projct is a jigsaw with 9 pieces... And when you click and drag a piece I
want it at the top so it goes over the other piece while moving...
I have 9 movies all called piece1, piece2 and so on to... more >>
|