all groups > flash actionscript > november 2005 > threads for thursday november 3
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
Accessing an instance from with a class...how?
Posted by Jaffa The Cake at 11/3/2005 11:26:03 PM
I'm new to actoinscript 2, and I can't work this bit out...
I've got a movieclip in the library linked to the class Blob, that movieclip
contains an instance named somethingMC... how do I access it thorugh the Blob
class?
The code attached fails, apparantly there's no such property "some... more >>
Stop and start all timelines
Posted by nimmy's dad at 11/3/2005 11:17:55 PM
I have a 3 minute linear presentation which has a great deal of nested
movieclips etc. I need to find a way to allow the pausing (stopping) of the
playback head in whichever timeline it is in. This is really useful for the
client to be able to evaluate the text that is appearing and to update ... more >>
TextFormat.leading question
Posted by Miriam McD at 11/3/2005 10:59:16 PM
Here's a question that should be easy to find an answer to, but
aaarrrrggghhhhhh...
Can you use a negative number in the TextFormat:leading class? I don't get an
error, but my text doesn't want to move closer together either. (Positive
number works okay.)
Thanks!
Miriam
... more >>
simple for statement
Posted by mediumbear at 11/3/2005 10:33:28 PM
I want to rewrite this which works great btw :
if(bar1group == true){
barMC_1.gotoAndStop(3);
}
else{
barMC_1.gotoAndStop(3);
}
if(bar2group == true){
barMC_2.gotoAndStop(3);
}
else{
barMC_2.gotoAndStop(1);
}
if(bar3group == true){
barMC_3.gotoAndStop(3);... more >>
David Stiller
Posted by Russell at 11/3/2005 9:55:21 PM
Thanks btw.... I 'eventually cottoned on to the error of my ways!!
... more >>
Blur
Posted by sm57 at 11/3/2005 9:46:38 PM
Is there a way to blur an image (movie clip) using actionscript??... more >>
removeMovieClip(); REFUSES TO WORK!!!
Posted by Ryaninthewind at 11/3/2005 9:44:37 PM
If i dont find some answers i think ill go crazy....
Thank you for taking the time to look at this.
Anyways...
Here's my problem...
I'm adding the dots to a Pacman game that I'm making now and I'm having some
problems with the script.
I made one dot movieclip, didn't give it an insta... more >>
Saving User Interaction info
Posted by dsafari at 11/3/2005 9:43:53 PM
I'm creating a tutorial which tracks what the user has learned through each
module. I need to create it in such a manner that the user can quit the
tutuorial and when they return they pick up where they left off. How can I
create a form of saving feature or drop a cookie with the last settings... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
what is cue point?
Posted by one at 11/3/2005 8:56:12 PM
I heard the term often, but what is it? something like html anchor?... more >>
Loading HTML into Flash
Posted by dognorregis at 11/3/2005 8:53:57 PM
There MUST be a way to load HTML into Flash.
Anyone tell me how?
Check out this site - www.brodiebooth.com/
It's the equivalent to an iFrame but it's in Flash.
You can see it's an HTML scrollbar and when it loads it's the first to load in.
PLEASE tell me how this is done. I would be v... more >>
Local FLV recording
Posted by kamal32 at 11/3/2005 8:30:33 PM
Hi,
Do you know if it is possible to record a FLV video in local drive instead of
FCS? I know that you can connect to a FCS using NetConnection and use
NEtStream.publish method to record and stream video from FCS. But can I record
that locally if I don't have a FCS server installed?
An... more >>
Registration Points...?
Posted by G_Swank at 11/3/2005 7:59:55 PM
Hi Folks,
I am having fun loading SWF files and JPG files into a my current movie.
BUT....(and there's that BUT) I don't fully understand why a jpg will move
perfectly to an x / y coordinance and depending on the swf file I am calling
up, they are all over the place.
I have been tryin... more >>
prob of scoping
Posted by 400$ at 11/3/2005 7:20:44 PM
hi,
I am having prob with scoping. Here is my code its not working ... I would
like to know this refers here to the timeline or lv instance of loadVars class
lv.onLoad = function(success) {
if (success) {
placingButtons(ImgArray, ThnArray);
};
function placingButtons(ImgArr... more >>
Enhancing my video player....
Posted by DIY_Lobotomy at 11/3/2005 7:13:05 PM
Hello. I made the following:
http://communicationsfour.com/preview_area/AnixterPlayer/
I also like the buttons below the player that shoot you out to links based on
what you are viewing. Any help on any of this would be great! Thanks!!!...
--Hoffman
... more >>
Sequence for swfs
Posted by lahnai at 11/3/2005 7:09:39 PM
Hello,
I am trying to create a banner rotator that will not rotate until the current
swf has completed its movie. Is there a way to do this with swfs of different
time lengths? Any help appreciated.
Thank you
... more >>
Can not remove movie clip
Posted by DonH at 11/3/2005 6:47:43 PM
I attach a MC like this:
_level0.attachMovie("pop_USER","pop_USER1",_level0.getNextHighestDepth(),{_x:0,_y:0});Then I have a button on the MC that says :_parent.removeMovieClip();Nothing happens. So then I tried this:_level0.pop_USER1.removeMovieClip();Still nothing.But if I do this:_level0.pop... more >>
FlashVars and use in ActionScript
Posted by maltadawes at 11/3/2005 5:50:57 PM
OK, this might sound a little novice but I only started on Actionscript
this time last night.
I am making an XML Weather movie and want to use a variable from
FlashVars. I have the following in the HTML object:
<param name="FlashVars" value="zipcode=12118" />
and the companion code in th... more >>
picture gallery and imported .as files
Posted by FayeC at 11/3/2005 3:16:33 PM
I have a flash gallery I downloaded from Flashkit which has an
external .as file (loadjpg.as).
The flash movie works perfectly when testing locally without my web
server but when I test the page through my local web server (Apache
2.0) the movie itself is there and it shows but the images that a... more >>
variable question
Posted by Brian at 11/3/2005 12:34:09 PM
How do I define a varialbe that is good and can be read anywhere, from
the root into all child movies? Do I have to start is as
_root.myvariable = "something" and then always call it _root.something
or is there a way where it can be available anywhere?
Thanks for the help!
Brian
... more >>
New to flash, Audio to control graphics?
Posted by Wackyal123 at 11/3/2005 12:23:54 PM
Hi,
I haven't used flash in 3 years and cannot remember ANYTHING about it.
I'm in the 2nd year of an MA course and suddenly i have hit a rut. I need to
be able to control what i see on screen with audio. (I.e. When people talk,
things are created on screen.)
Is this possible? If s... more >>
Please help with duplicateMovie
Posted by artur_fudo at 11/3/2005 10:34:48 AM
Please help me with such problem.
I am loading a JPG file in movieClip. Then I want to duplicate this MovieClip,
but the JPG file isn't appearing in duplicated Clip. As I want to have almost
2000 duplicates I can't load JPG file in every duplicated movie. Please tell me
how can I solve this ... more >>
MP3 Preload/Precache only works locally, fails on net
Posted by brad at 11/3/2005 9:59:14 AM
My appologies if this post shows up twice. My isp's newsgroups (SBC) suck,
and posts dont always show up.
Thanks in advance for anyone that can help.
I've got a slideshow with music clips playing in the background. I stream
the 'current' clip, and am trying to download (not stream) fut... more >>
How much memory does a SWF instance use?
Posted by GmR at 11/3/2005 7:33:31 AM
I was considering putting about 20 swfs (or more) on a web page until someone
told me that each one would require about 2mb of ram, before considerations of
the actual file size of the swf. I assume that means the browser allocates
about 2mb for each swf instance? is this correct? If not, h... more >>
Hexadecimal color
Posted by Temporary Blind at 11/3/2005 7:31:18 AM
Hi,
I just encountered hexadecimal RGB color values in flash. But can't really get
a grip on how the work.
If I have a RGB value, for example 0, 153, 255 then can I use the hexadecimal
value to display that color? Or do I have to use the "clean" colors?
Best regards //Tobias
... more >>
Game developing
Posted by sampurtill at 11/3/2005 1:08:54 AM
Hey
I'm about to turn 17 and I'm... not to brag... really good at coding in Flash.
I've written applications and done lots of websites for conferences and stuff.
(So Im not bsing you all www.tfhucd.com, I coded everything)
I have recently become curious as to how people develop games. I ... more >>
"Check Answer" Flash Quiz Template
Posted by RLLillis at 11/3/2005 1:02:47 AM
How in the world do you change the control button to say "submit anwser"
instead of "check answer"?
I have looked through all the script, tried changing the label and eberything
else you can think of. I just can't tell where it is pulling this text from and
it is DRIVING ME CRAZY!!
PLE... more >>
Array.shuffle makes problems
Posted by miiiiiii at 11/3/2005 12:58:59 AM
Hi. I am using the shuffle prototype (see below) and it shuffles not only one
array but every array: I am not able to store an unshuffled array to use in
order to compare them later - after I call the function the unshuffled array
will be shuffled, too. any thoughts? Thanks in advance.
Ar... more >>
Flash sending no variables!!!
Posted by sampurtill at 11/3/2005 12:33:48 AM
I have a few variables I am sending to a php and then having that page email me
the results.
Heres the actionscript:
send_mc.onRelease = function() {
// Now import the variables we need to send in this movie clip
sender_mail = email_txt.text;
sender_name = name_txt.text;
sen... more >>
Flash 8 Script Errors
Posted by jaxon02 at 11/3/2005 12:00:00 AM
We have a large flash application using .NET/SQL backend. In some areas the
app will receive large a dataset and loop through it displaying the data in
many various movieclips. The app runs great in Flash Player 7. However in
Flash Player 8 it throws error messages "A Script is causing Flas... more >>
Changing Case...
Posted by C-Rock at 11/3/2005 12:00:00 AM
i'm importing data that comes back in all caps. i have no control over this.
does anyone know where i can find a script that converts the imported data to
smart case? capital on the first letter and the rest small???
... more >>
AttachMovie Question
Posted by TruLine at 11/3/2005 12:00:00 AM
Why can't I get definition here...
bgHolder.attachMovie("range_mc", "range", bgHolder.getNextHighestDepth(),
{_x:505, _y:360});
bgHolder.attachMovie("t1_mc", "trgt1", bgHolder.getNextHighestDepth(),
{_x:450, _y:350});
trace(range);
trace(trgt1);
Both show on ... more >>
how to have an embed wmv play in an holder
Posted by sc3012 at 11/3/2005 12:00:00 AM
I made this web site and I embeded a wmv file into it. Now I want to have it
play in a specific area. Should I have an Holder and have it download there?
how do I make one? I know how holder works but for embeded wmv movies? need
help please
... more >>
array from external text
Posted by Vertine at 11/3/2005 12:00:00 AM
hey guys...i have lots of menu items, and multiple galleries. If i want to add
a menu item, i have to open the flash document and do it from there. Flash then
populates the number of buttons (menu items) using a for loop, based on the
info in the array (see code) But i am sure there is a way t... more >>
controling multiple movie clips using form components
Posted by mrsrowe at 11/3/2005 12:00:00 AM
hello
I have three movies in my main movie, they are examples of bending moments in
beams (if you are interested). I want to be able to play the movies
individually and in conjunction with each other in any combination.
At the moment I have a pair of buttons for each movie clip and so... more >>
this is probably a really easy one..
Posted by bobbysojitra at 11/3/2005 12:00:00 AM
hi guys
was wondering how to have a line between 2 circles, with both ends of the
lines in the middle of the circles which are moving around randomly.
if that has confused you, which it has me a bit, i was thinking something like
:
single line - moveclip
a circle - movieclip, dupli... more >>
how can ai smooth bitmaps (loaded jpgs)
Posted by danredman at 11/3/2005 12:00:00 AM
i have a movieclip mc
in action script i load a jpg into it: loadMovie("1.jpg",mc)
i want to make that loaded image (1.jpg) to be rendered smooth (when I zoomin
I want the pixels not to be squares)
... more >>
my swf closes my other swf...
Posted by cwick at 11/3/2005 12:00:00 AM
Ok, I have worked with flash for the last year just making simple menus and
other nav tools. I just recently was added (becuase of my <caugh> vast flash
knowledge) to a large project.
I have created a swf and imported it into another fla. I have a button with:
on (release) {
this.load... more >>
attachMovie buttons
Posted by l810c at 11/3/2005 12:00:00 AM
What I want to do seems like it would be so simple.
I'm using createEmptyMovieClip and then attaching a movie from the library
with attachMovie. Finally got that working like I want.
On the loaded movie I have a CLOSE button with instance name close_btn.
How can I get this button to c... more >>
Flash checklist buttons
Posted by detutu at 11/3/2005 12:00:00 AM
Hi,
Can we do checklist type buttons in flash - if so, does anyone have a sample code for it?
Thanks!... more >>
dynamic text XML html img problem
Posted by denwhite3 at 11/3/2005 12:00:00 AM
I am using Flash MX 2004 professional 7.2 on a MAC running OSX (10.3.9, then
10.4.2).
I am using a textarea component (or a dynamic text box, same problem) and am
loading text, images, and links from several XML files, the proper XML file is
loaded based on clicking a button. The XML file ... more >>
allow multiple choice questions to wrap
Posted by zctron at 11/3/2005 12:00:00 AM
Need to wrap text for multiple choice quiz in flash MX 2004 template. The actionscript has changed since the last version so the same script did not work.... more >>
external txt data
Posted by gringojuan NO[at]SPAM gmail.com at 11/3/2005 12:00:00 AM
is it possible to read data from an external .TXT file while there are no
variables specified? here is the source of data:
ftp://weather.noaa.gov/data/observations/metar/decoded/LKPR.TXT
and I need to read the temperature value and write it in a simple flash file.
second question: can anyb... more >>
movieClip Independance
Posted by d00mc0ck at 11/3/2005 12:00:00 AM
Hi,
I've recently being writing some code where by there are multiple MC on stage.
Each mc behaves as follows>>>
>>>A MC is Clicked
>>> The stage is clicked
>>> A line is drawn from the MC the the point clicked on stage
>>> The MC moves to the clicked point
The problem I have ... more >>
Simple Question, Simple Answer
Posted by Spot3313 at 11/3/2005 12:00:00 AM
Is it possible to attatchMovie into a MC
then have that mask a loaded image loaded elsewhere
this is my code...
mask_MC.attachMovie("mask", "", 6, "");
img_04.setMask(mask_MC)... more >>
|