all groups > flash actionscript > december 2006 > threads for friday december 15
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
Preserve frame rate when loading one swf into another
Posted by wwscoper at 12/15/2006 11:50:03 PM
Is there a way to preserve the frame rate of a swf when loading it into another
swf that plays at a higher frame rate. I'm loading some flash ads that mostly
run at around 12-15 frames a second into a portfolio site that runs at around
40 frames per second. All my ads play too fast. The link i... more >>
Preserve frame rate when loading one swf into another
Posted by wwscoper at 12/15/2006 11:49:57 PM
Is there a way to preserve the frame rate of a swf when loading it into another
swf that plays at a higher frame rate. I'm loading some flash ads that mostly
run at around 12-15 frames a second into a portfolio site that runs at around
40 frames per second. All my ads play too fast. The link i... more >>
setSelected()
Posted by SBAR_weenie at 12/15/2006 11:41:08 PM
For selecting all the text in a dynamic text field. I had problems with the
code below losing focus after the selection. I was chasing my tail like a mad
dog trying to figure it out. I embedded the text field in a movie clip,
published it as HTML, traced it, everything, till our ARTIST said, "... more >>
asfunction, cursor states, and moviclips...oh my
Posted by flashWannaBe at 12/15/2006 10:31:08 PM
Hello all. I've ran into a bit of a snag and I'm thinking the obvious is
sitting right in front of me...
I have a dynamic movieclip that is created to serve as a container for a
dynamically created textfield. The textfield has html text. Within that html
text is an asfunction to call a... more >>
scroll Pane content doesn't work
Posted by Morgan McConnell at 12/15/2006 10:08:56 PM
ok, so i've got a movie with a scrollpane (god these things are a hassle) on
the stage. the movie tells the scrollpage to load content from an outside swf
called testes.swf (short for testimonials). in testes.swf, there are a series
of invisable buttons on top of client testimonials. when you ... more >>
if (Key.isDown(key.SHIFT)) { slight problem
Posted by god0fgod at 12/15/2006 7:31:30 PM
can anyone get this to work.
if (Key.isDown(key.SHIFT)) {
this.attachMovie("aaa", "theSymbol_mc", this.getNextHighestDepth());
theSymbol_mc._x = 16;
theSymbol_mc._y = 3;
}
It works without the if (Key.isDown(key.SHIFT)) { so that must be the problem.
... more >>
action script to stream 1 file
Posted by IMSTAMU at 12/15/2006 6:22:31 PM
I set up the Flash Media Server 2.0 on Windows (test box) under the host
dl35.tamu.edu (behind a firewall so I don't mind giving it out)
Under the applications directory I create a directory called "test"
Under this directory I place a flash movie called "motion.flv"
In this same directory I... more >>
Need sound to play on swf imported into second swf using loadMovie
Posted by PatFerguson at 12/15/2006 6:06:03 PM
:confused; I have a parent movie with a couple of placeholder movieclips on it.
I use the loadMovie to load 2 separate SWFs onto the placeholders at runtime:
one swf contains the sound, which I initialize by using the following:
sounds = new Object();
sounds.reelSpin1L = new Sound();
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
getURL
Posted by quimkaos at 12/15/2006 5:54:22 PM
i'm geting a litle anoyed with this
i'm using this code on a botton:
on(release){
getURL("conteudo.html", "_mainFrame");
}
when i click on the botton in a single html i'll get the url but when i use it
in frames nothing appends... what am i doing wrong here
plus dreamweaver se... more >>
Loading a pic from a Movie Clip
Posted by Matt-R at 12/15/2006 5:28:23 PM
I currently have a site that loads pics by rolling over a button. I would like
to change the buttons to Movie Clips but still be able to load the pics.
In the root of my Flash file I have this action script:
var myMCL:MovieClipLoader = new MovieClipLoader();
Then on each button I have th... more >>
How 2 PAUSE external MP3 SWF ?
Posted by amird at 12/15/2006 5:12:09 PM
Hello,
- I have main Timeline with a button to pause a music.
- But a music player is in another SWF loaded into top of main Timeline on
let's say level 10.
- What script do I use for the pause button on the main Timeline to reference
and pause the music.
Thanks
... more >>
Blank Popups!
Posted by JK Hudson at 12/15/2006 4:02:01 PM
I'm not sure if I've got a depth problem or a parent/child problem but the
popup generated from the SWF loaded in the shell projector opens to the right
size and the title comes up but the contents are empty. The one that opens from
the shell directly comes up fine. When I put test the SWF alo... more >>
Looking for a party!
Posted by aniebel at 12/15/2006 3:48:44 PM
Hi, I can't seem to find anything that closely fits the effect I am looking
for. I'd like to find a tutorial or the like of exploding confetti using
particles. I am going to try to edit a snow effect to get what I'm looking for
but I wonder if anyone's seen something closer to what I am lookin... more >>
objects String
Posted by Janine82 at 12/15/2006 3:10:00 PM
hello,
I have a problem using Strings and referncing to them within a function.
I have a tick box that i have created on stage that on release makes an
movieClip called mcTick visible or not visible.
however i want to pass on that visible state to another box that has the same
insta... more >>
Levels - what's up ?
Posted by rc3rdmd at 12/15/2006 2:36:07 PM
I have a movie that loads a "navs" .swf file to use for menu items - when items
are selected they appear in another .swf file.
When I use:
myMCL.loadClip("Navs.swf", 999);
//then from here
myMCLloadClip("myfile.swf", 5);
This works fine - the Navs are on top. But if I use:
thiscr... more >>
printJob: resizing a .swf
Posted by rc3rdmd at 12/15/2006 1:43:53 PM
I have a .swf file that needs resizing before printing - is there a way to do this ?
Thanks.
Rob Childress... more >>
Dragging Objects (stopping mouse form moving)
Posted by leej_w at 12/15/2006 1:22:12 PM
Hello,
I am very stuck. I tried looking over my old Director scripts for help but I
cant make anything of them to help them with Actionscript.
Basically what i want to do is, when i am dragging a a movie clip such as
'lungs_mc' i dont want the user to be able to drag it outside of a ... more >>
Can anyone point a good string class extension ?
Posted by Born2code at 12/15/2006 4:45:27 AM
Does anyone know of a string class extension for actionscript.
I am looking for some of the stuff that Tcl/Tk can do such as lindex, lreplace, lsearch etc ..
Thanks for the time.
Sean.... more >>
Preload scene
Posted by johnnewc at 12/15/2006 3:19:48 AM
How do I preload a scene and not an entire movie, My movie have multiple scenes
and my preloader is taking too long. is there a way to preload one scene at a
time instead of the whole movie. this is the code I am using now. thankyou
interval = setInterval(preload, 100);
function preload() ... more >>
Popup hell
Posted by gr6au at 12/15/2006 1:44:06 AM
Could Someone please help. I have a button that opens a popup containing the
text of one of four Movie Clips that came with a Flash template that I have
bought. I have duplicated one of these Movie Clips and replaced the text with
my own. What I want be able to do is press the button and see t... more >>
What you think about this Object Array Access Class
Posted by Born2code at 12/15/2006 1:04:40 AM
This is kind of my first script in Actionscript and wanted to get some input.
/*
By Sean Levy Dec 14, 2006
Description:
This is a Dataset object.
You pass to it an obecjt which holds an array of data which is constructed of:
myData[0] = "prim_key value, field1 value, field... more >>
Button Functions
Posted by johnnewc at 12/15/2006 12:57:54 AM
So I have five buttons on my site and I need them to link to differant scenes.
This is the code I am using. the problem I am having is the buttons don't seem
to go to the right scene. I have been trouble shooting it all day. Can someone
tell me what I'm doing wrong here. Thank you
wha... more >>
Targeting Object properties Inside PopUp Object
Posted by Nihiladrem at 12/15/2006 12:50:31 AM
In my project I am creating a window using the PopUpManager. The symbol used to
create that window has several objects.
For the sake of discussion we'll discuss the object message_txt inside
myWindow.
How do I reference message_txt.text from actionscript after the object is
dynamically... more >>
dynamically created text looses formatting
Posted by Vee at 12/15/2006 12:38:50 AM
my dynamically created text looses formatting after I try to show the percent
loaded from my moviecliploader or if I just have a button that has a simple:
dummy_mc.percent_txt.text="testing";
The text does not disappear but it simply looses all formatting, going back to
its default, times ro... more >>
dynamically created text looses formatting
Posted by Vee at 12/15/2006 12:29:47 AM
my dynamically created text looses formatting after I try to show the percent
loaded from my moviecliploader or if I just have a button that has a simple:
dummy_mc.percent_txt.text="testing";
The text does not disappear but it simply looses all formatting, going back to
its default, times ro... more >>
drawind API help
Posted by Sketchsta at 12/15/2006 12:00:00 AM
I need some help locking rounded corners in drawRectangle function im making.
when i call the function i want to be able to specify the width and height,
and i want the rounded corners to keep the same amount of curve, but i need
them to update their position on stage.
I hope that made sen... more >>
Buttons
Posted by MAM Racing 40 at 12/15/2006 12:00:00 AM
Hello,
I am creating the Official website for Echuca-Moama, and am stuggling to get
some buttons in my flash movie working.
I would like to be able to change the text on the button by changing the
action script, and not actually changing the text it's self. This was I can
change the co... more >>
Grids Overlap a Line
Posted by Gionex at 12/15/2006 12:00:00 AM
Hey
If have a line that is shot from my guy. The angle, distance and start and end
points are known. I have again, a 30x30 grid. Is it possible to find out which
grid spaces the line crosses? E.g. a line from 0,0 to 0,90 will cross grid
spaces 0,0 0,1 0,2. Its obviously easy in this example ... more >>
Function Parameters Not Enforced
Posted by Carl Ballantyne at 12/15/2006 12:00:00 AM
This is the most annoying thing I find about Flash. When you call any function
and pass through incorrect parameters Flash does not pick you up on it.
For example I was tyring to remove a movieclip using
[b]this._scope.removeMovieClip("projectsMediaContainer_mc")[/b]. Obviously this
should... more >>
|