all groups > flash actionscript > august 2004 > threads for thursday august 12
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
Simple loadMovie help
Posted by castlestudio at 8/12/2004 10:42:23 PM
I have a swf (which I'll call SWF A) that stands as an interface with
navigation buttons this swf also has a movie clip named "zone" which is a place
holder for the other SWFs into when the corresponding button is pushed.
SWF B has a button which should replace itself and load SWF C into SW... more >>
autoSizing dynamic text box
Posted by Whittaker007 at 8/12/2004 10:11:04 PM
Hi there,
I am creating dynamic text boxes on the fly with actionscript and need to
constrain the width but autosize the height to fit the text. If I specify a
width for the textbox and leave the height at zero, then set autoSize to "true"
or "left" then the text box expands only to fit on... more >>
Fun with swapDepths and attachMovie clips
Posted by Robnswrld at 8/12/2004 9:28:02 PM
I have reviewed the forums and have not seen anyone address the problem that I
am currently having.
First: I have several buttons which call the following function. Each as a
linked movie clip in the library that they call to the stage. I am attaching
movie clips within a container clip.
... more >>
how to share a JPG image
Posted by Mic at 8/12/2004 9:26:15 PM
Hi,
I am creating many FLA files that use the same JPG image as a background.
how can I make the jpeg image linked or shareable so when modifying it
it will be changed on all SFW files. instead of going to each FLA
library and updating the image...
thx
Mic
... more >>
Need help
Posted by Homer092 at 8/12/2004 9:19:54 PM
Hi, I need to know how to make Flash go back to the previous frame in the main movie when a Movie Clip is finsished. How can I do this?... more >>
Supress Flash Player 7 error messages
Posted by aw1 at 8/12/2004 9:12:56 PM
I have a script that takes longer than the allotted15 seconds to run. When it
goes over 15 seconds, the message "A script in this movie is causing Macromedia
Flash Player 7 to run slowly. If it continues to run, your computer may become
unresponsive. Do you want to abort the script?" How c... more >>
go to frame if mouse is moving/is not moving
Posted by etman at 8/12/2004 8:38:28 PM
I've built a small interactive project where I'd like to put in a function that
says if the user is interacting with the animation (moving the mouse) then loop
between two frame labels. Alternatively, if the user is not interacting with
the animation (not moving the mouse, or the mouse is not ... more >>
Athlon and Flash
Posted by Edwin Merced at 8/12/2004 8:09:20 PM
How does Flash authoring performance compare running between an Intel or an
AMD processor?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Actionscript for tweening?
Posted by March4Revenge at 8/12/2004 8:07:05 PM
Hey there,
Just wondering if there was a way in AS to motion tween movie cilps on the
stage - like scaling them and moving them with script and tweening the Alpha
transparency as well.
It would be nice to not have to animate everything on the timeline
Thanks,
M4R
... more >>
setting the Depth
Posted by Sky Strider at 8/12/2004 7:51:07 PM
I dynamically create a movie clip (call it mc_box for reference) which contains
a button (putting movie clip at depth 1, lets say). When i roll over the button
it moves a MC directly onstage (was already there so is at some low -16286
depth or whatever) to where the mouse is, and i want to mov... more >>
Text Effects and Kerning
Posted by Bachar at 8/12/2004 7:46:20 PM
I have some texts effects that are built with AS and I am having a problem with
the letters " m " " n " " i " and " w ".
Does anyone know of some sort of script that would account for these letters
and then change the kerning value for only these letters in the effect? I am
assuming t... more >>
setInterval problem
Posted by Dinghus at 8/12/2004 7:36:11 PM
I am trying to make an AS that will cause an object to go faster or slower
depending on which button is pushed.
I was thinking the setInterval() method would work great for this, so wrote a
little script to test this out.
I made a MC with a circle on it and called the instance of it myBall1.... more >>
Radio Button Reading
Posted by rally7 at 8/12/2004 7:25:46 PM
I have an app that has 5 sets of 3 radio buttons. I have a push button that
submits the form and move froms frame 1 to 10 where another form will display
the results.
In the actionscript of the on (release) of the button I gather the radio
button values IE:
var DaButton1:String = "";
... more >>
WebService with only ActionScript
Posted by kdonn at 8/12/2004 6:58:03 PM
In the docs for Flash MX Pro 2004 it says, "If you?re using ActionScript only
to access a web service at runtime, you must add this component manually to
your document?s library. " It then references a section of the help file where
it's supposed to be explained how to add the component manua... more >>
getURL:dynamically adding variable to Javascript
Posted by dub_g at 8/12/2004 6:38:42 PM
When I hard-code the variable I want to pass to the SWF
(passedVariable=whatever), my application works perfectly.
getURL("javascript:void(window.open('http://www.mywebsite.com/mySWFfile.swf?pass
edVariable=whatever','docViewer','height=700, width=900, left=50, top=0,
location=no, menubar... more >>
getUrl with time delay
Posted by ronchicago at 8/12/2004 6:25:59 PM
i have a simple splash page with no buttons and 170 frames long. i have figured
out how to put an invisible button that covers the entire splash page that when
clicked will take me to my html site via "button object/self" function.
can i get from my splash to my html home page "automatically... more >>
how to unolad a swf
Posted by Mic at 8/12/2004 5:53:06 PM
Hi,
I created a presentation show that is using multiple SWF files. each one
has a voice over. when clicking on a button a new SWF file is loaded
using the loadMovie action. the problem is that when the new SWF file
loads the previous SWF sound continues to run. so I guess I need to put
a... more >>
setMedia problems
Posted by coberg at 8/12/2004 5:26:27 PM
Hi,
I've created a MediaPlayback component and, using setMedia, I've got it to
play an mp3. Everything works fine - volume, scrub bar, etc.
On complete, I load in the next mp3. This also works fine. However, the
playback controls are now dead. The playhead remains at the end of the prog... more >>
Input Text Box Clash
Posted by Toe Bunger at 8/12/2004 4:49:05 PM
I have two input boxes. One I want people only to put numbers and the other
only letters. If I put input outline properties or TextField.restrict on only
one box, say for the numbers, it works fine. But if I put outline properties or
TextField.restrict on both boxes it messes up and you can e... more >>
Need Help making Text Crawl
Posted by ShoDawg at 8/12/2004 4:42:04 PM
Here is the thing, i'm a bit of a noob when it comes to actionscripts, and what
i would like to do is have some text crawl across the screen as it does in the
Star Wars movies.
It's probably something simple, but either i'm overlooking it, or it's too
complicated for me
... more >>
Flash 3d perspective
Posted by Bulitt at 8/12/2004 4:32:34 PM
Hi all,
has anyone seen a good tutorial to help with what I am working on?
http://www.student.dcu.ie/~fortung2/flashboattest.swf
Use the keys to move the boat forward and watch the buildings change
perspective.
It looks well for one building - but not 3.
they eventually pile up on each ... more >>
masks and dynamic text boxes
Posted by Finty at 8/12/2004 4:13:37 PM
I am masking a movie clip with dynamic textfields. The problem is that anything i write to these textfields won't display when the mask is applied.
Does this ring a bell with anyone?
finty... more >>
Sound and MovieClipLoader problem
Posted by rhtc248 at 8/12/2004 4:13:15 PM
Senerio:
Slide1.swf loads a sound file using the Sound object. Ex:
Action script on frame 1 of Slide1.fla
var snd:Sound = new Sound()
snd.attachsound(<sound identifier>)
snd.start();
It works fine. When I play Slide1.swf, I hear the sound
Then I have a flash loader. Loader.swf.
... more >>
double-click causes problems in nav...
Posted by kevin_tx at 8/12/2004 3:42:35 PM
Hey all...
I have a .swf consisting of one scene of 12 frames (each frame consisting of a
"stop" command). Within the .swf I have a menu consisting of 12 buttons,
whereby each is coded with action script similar to the following:
on (press) {
_root.gotoAndPlay("sitemap");
}
Each... more >>
Help with XML conversion to an array please!!!
Posted by loop360 at 8/12/2004 3:09:20 PM
I have an XML file structured as follows (except with 22 'id' entries)...
<dataLibrary>
<data id="1">
<title>myTitle</title>
<ref>myRef</ref>
<filter>myFilter</filter>
<edit>myEdit</edit>
</data >
<data id="2">
<title>... more >>
How to control two movie clip instances...?
Posted by randomtask1 at 8/12/2004 2:45:18 PM
Hi. I am trying to control two movie clip instances on different frames in the
main timeline as below:
main timeline: Frame 1 only - instance of "movie1" (contains a button)
main timeline: Frame 2 only - instance of "movie2"
If I wanted to click the button (in "movie1") and goto frame 10... more >>
directing a button within a movieclip
Posted by johnnyLUNG at 8/12/2004 2:11:10 PM
hi.
ok.... I have what seems like a relatively simple question... that for the
life of me, my amateur butt can't figure out... here is the situation:
I have a movieclip that contains a button... that movieclip is placed in scene
2.... and all i would like to do... is simply, on clicking ... more >>
pausing and resuming
Posted by Mic at 8/12/2004 2:05:24 PM
Sorry to ask this again, but the movie needed to be changed and there
for i have a new problem.
I need a button that can stop and resume both the timeline and a sound
clip. the sound clip loads from the library using the build in "load
sound from library" action.
thanks a lot, I am in a ... more >>
7.2 Updater and Screen Subclasses
Posted by Patrick Geiger at 8/12/2004 1:49:09 PM
Hello - I just upgraded to 7.2. I currently have a form based application
that I made my own subclasses of screens. In my screen subclasses, I call
super.init() in my init function to inherit stuff properly (as I understood
it). Although, now I upgraded to 7.2 and when I call super.init() in my i... more >>
external sound files - pause/restart
Posted by IwannaFlashU at 8/12/2004 1:08:25 PM
I did a search on all forums using the keyword SOUND, looking for the answer to
my question. There wasn't one, although one thread (that went "unanswered")
seemed to be asking the same question.
Due to the size of sound files, and wanting the ability to change the music
available without h... more >>
navigating between movies
Posted by cdlphil007 at 8/12/2004 12:57:32 PM
Hello everybody
This is driving me mad.
I have created an interface which I hope to use in a number of other flash
movies. I want to call this interface into these other movies so if I have to
make changes to the interface I don't have to update lots of files.
Well I can't get it to wo... more >>
how to load text into a swf file automat
Posted by fraz at 8/12/2004 12:32:48 PM
Does anybody know how I can load text from an external source. ex. To have a
section of a site where I can change the text content by uploading a text file,
such as notepad or word. Thus, the text will automatically load into the swf
file.
Rergards Frazer
... more >>
BUTTON hit area smaller AND very weak
Posted by alex_p_howard at 8/12/2004 12:32:08 PM
I have just make a simple button. I made it transparent, as to click on a
lower layer(background) and the hit area is 120% of the downstate.
The mouse cursor change is weak, the hit area is not at the same coordinates
when published. The embedded sound in the movie works.
Can anyone e... more >>
just wandering about this???
Posted by purple_am at 8/12/2004 10:32:05 AM
Hey
Normally in flash the stage (x,y) position zero, is on the top left hand.
Is there some way to change this and have it in the middle of the stage or some other corner of the stage.
Thx.... more >>
Flash search - no result?
Posted by dreammediauk at 8/12/2004 9:44:03 AM
Hi,
I'm struggling with a piece of Actionscript which generates a search action.
I've downloaded the file from a sample site, and I'm trying to alter it to
match my requirements. My knowledge of Actionscript is very limited, but my
employer has asked me to build a 'proof-of-concept' to ase... more >>
Controlling Instances
Posted by Sky Strider at 8/12/2004 7:46:22 AM
I have a movie clip instance in the library called "Window" and it is to act
like a normal window such as in Windows. I wish to have multiple instances of
it at a time, but each will be different except for the window border, etc.
ie. the title of each window must change.
So then, my ques... more >>
open pdf files
Posted by Narven at 8/12/2004 6:38:43 AM
hi,
why does in Flash MX i can do this:
on(release) {
getURL("file.pdf#page=7", "_blank");
}
and in Flash MX 2004 i cannot????????????????
file.pdf#page=7 <---- this is to open a pdf file directly into page 7. it
only works width Acrobat Reader 6 installed.
... more >>
Instance vs Var for dynamic text box
Posted by Epic Union at 8/12/2004 6:37:33 AM
This question has been bugging me. What is the difference between using an
instance name versus a variable name for a dynamic text box? I have luck with
both off them in certain circumstances, but I don't know why. Anyone have a
logical explanation?
... more >>
using Tree component in flash MX
Posted by Teji at 8/12/2004 5:47:40 AM
hello friends,
I m very new to tree component in flash MX, please help me in creating a tree
structure like this. populating the entire tree through XML. like this
MAINMENU1
|===submenu1
|===submenu2
|===submenu3
|===submenu4
MAINMENU2
|===submenu1
|===submenu2
|===submenu3... more >>
positioning loaded movies
Posted by sm57 at 8/12/2004 4:57:46 AM
I want to control the _x and _y of a loaded movie that is smaller than the swf
it is being loaded into.
I have my code and it's button placed in a movie clip. I can get this to work
on the root but not from within my movie.
I'm close but I can't get it.
I have attached the fla and two... more >>
embedded fonts in createTextField
Posted by Whittaker007 at 8/12/2004 4:08:09 AM
Hi there,
I have some text fields (button labels) that are created on the fly with
actionscript. I need these to use an embedded font which I have created as a
font symbol in the library. I named the font symbol "mainText". I have it
exported for actionscipt as "mainText" and I reference i... more >>
get number of lines
Posted by Natalie at 8/12/2004 2:22:59 AM
Hi
I m using FlashMX 2004
How do i get the number of lines in a textfield if the text is displayed using wordwrap..
thx
Natalie... more >>
HtmlCellRenderer Displays HTML Tags
Posted by Faadiel at 8/12/2004 12:46:57 AM
Hi Folks,
This issue has been driving literally insane! I downloaded the
HtmlCellRenderer Class, implemented a MC called HtmlCellRenderer which points
to the AS Class located in /com_pims/com/pims/HtmlCellRenderer.as
so the Class reads "class com.pims.HtmlCellRendered extends UI blabla{... more >>
|