Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




(maybe) Stupid Question



I made a counter that's controlled by a button.
I'ts counting perfect but i want the maximum value of the counter( textfield) to be 40

Anybody idea's?

Thanx in advance



FlashKit > Flash Help > Flash Newbies
Posted on: 08-27-2004, 10:03 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Stupid Question Coming From Stupid Newb...
Yeah, I know this is probably the stupidest question you're ever going to here, but I'm desperate and I can't find out anywhere, so as embarassing as it is, this is my last resort.

How do you increase or decrease the thickness of lines in Flash MX?

Stupid Workspace Changing After I Save It (Or Stupid Me)
I have a dual-monitor setup and I have my timeline, stage, and properties panel on one monitor. That's all fine.

On the other monitor, I have the actions panel in one group and about 3 panels grouped into another group. The actions panel takes up the left 2/3 of the screen and the other panels take up the right 1/3 of the screen. That works fine.

I want to switch the actions panel with the other group of panels, so that the actions is on the right 2/3 of the screen and the other group of panels are on the left 1/3 of the screen. Problem is when I save my workspace layout, it somehow defaults the actions to the left side of teh screen and the other panels to the right side of the screen! It's driving me crazy. Anyone have any tips? Run into similar problems?

Stupid Question,,, But Feeling Stupid
why wont " ' " show up in my text which is dynamically imported from an html formated text file.

i know that " means " but what is a single quote?

helllppp

Stupid Employer, Stupid Question
hey there. my current employer currently has a header on an html page with a banner inside it. it looks like crap but his "web guys" have told him that the banner must stay in the exact place that it is otherwise it will destroy his flux capacitor or something along those lines. so im stuck trying to design a flash header for this guy with an animated gif banner inside of it. kinda like the gif banner is the hole in the donut. i guess my question is how do i leave the hole in the donut blank for the gif to be tossed into it without having to make 8 "sliced" flash movies that work together? sorry and i know theres an easy way to do this, i just havent touched flash in a few months and im rusty as all tarnation. thanks in advance

Stupid Question Hopefully Not Stupid Answers
I have put a trace on a variable that i use as a counter in a loop.
Everytime the loop in initialized it shows "undefined" before counting.
Can I ignore this or will it have some future impact on my work????

Stupid, Stupid, Stupid Question
But I need to know.

I'm learning actionscript.

How come sometimes the script is placed in ( ) and sometimes in [ ] what does each mean?


ex. (if move ==1)

or _root.Array [_root.arraysize]

thank you

Set Variable Stupid.user="stupid Question";
right... i got a bit of help with this yesterday but i need some more now....

lets say i have 1 button with 10 instances of it in a movie.
when you point to each instance, i want different text to hover over it.

with help from someon on here yesterday, i have now set up a dynamic text field on the 'over' frame of the button, and i have done the set variable lines saying:
button1.text = 1 banana
button2.text = 2 bananas
button3.text = 3 bananas
and so on, but i don't know how to tell each instance of the button what button it is.... so in other words, how do i tell button 1 that it is button 1 and button 2 that it is button2, etc?

Stupid Says As Stupid Does (variables)
I have an actionscript question::
I need to pass variables from html to flash but have run aground......
in the html :
username='ted'
in the flash movie
button action: http://www.happy.com/username

(obviously the username is equal to 'ted')

How do I do this????

please respond w/ a solid answer - 'cause boy it looks easy , but man am I stumped!!

Thanx

Stupid Stupid Preloader
I have a simple preloader animation that is suppossed to loop as my main page loads (take note, this IS NOT a progress bar!!).
As the animation is looping, the percentage of the movie loading is suppossed to be displayed. However the preloader never advances past the first frame in the preload scene (I'm keeping the preloader in its own scene to keep from adding keyframes to every layer in the main scene).
Here is the scripting I'm currently using:
Preload scene>>
frame 01:

percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
myOutput.text = percent + "% is loaded";

frame 02:

if (percent == 100){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}

frame 03:

gotoAndPlay ("xscene:, 1)

Is there something missing? Something I did wrong? Help!!

Stupid, Stupid Masking.
Im kinda at a loss, and am thinking my problem lies somewhere in the software.

Im trying to animate a mask over a button. The mask works but the button is having issues. Whenever the animated mask hits one of its keyframes, the button stops working for (1) frame; ie, the up state becomes visible for (1) frame. Kinda sucks if you happen to be pressing or rolling over the button at the time.

The mask isnt a gradient or a symbol, just a crappy shape that moves.

Anyhow, when I publish the movie in Flash6 it works just fine but anything less and I get the glitches. Is there a workaround or something?

Ok It Say "there Are No Stupid Questions Here" But Here Is A Really Stupid One
im not stupid but this will make me look very stupid, but i need to know so.... how do you use the drag and drop features in flash5?try to tell me like im only 3 yrs old or somthing, just make it easy to understand!!

Stupid Stupid Stupid Stupid Arg
Well, I obviously suck.
In the tutorial for making a scrolling text box in Flash 5, I'm not understanding something. The following code.

onClipEvent (enterFrame){
if( scrolling == "up"){
daTextBox.scroll--;
}
if( scrolling == "down"){
daTextBox.scroll++;
}
}

How on earth do you get the "daTextBox.scroll--;" line? Do I use the Operator "--"? or do i use the Function "scoll"? or something totally different?
My efforts end up looking like this....

onClipEvent (enterFrame){
daTextBox.scroll--"
if(scrolling == "up" scrolling == "down" daTextBox.scroll++{

This no work :-P

Basicly... wht do I use to the get the

daTextBox.scroll--;
and
daTextBox.scroll++;

to appear as it said it should in the tutorial....or does it matter?

Thanks for your help...

Justin

OK, I'm Stupid
I created a file called data.txt with the following:

&test=#test#&eof=1

My flash movie has 3 frames and two dynamic text boxes named First and Second the frames have the following code:

loadVariables ( data.txt, 0); //frame1

if(/:eof=1) {
play();
} //frame2
else {
gotoAndPLay (1);
}

First = _root.test;
Second = "Check3"; //frame3
stop();

The textbox First remains blank!
Please help the idiot

I Am Stupid
I have no clue how to even get started I am a fully licensed pilot so I can be trained in flash tech stuff lol Please help me get started My ICQ is 126212199

Got To Be Something Stupid
I've got a .swf with a preloader on it that is giving me problems. The .swf is composed of 2 scenes. scene 1 = preload and scene 2 = (lol well)scene 2. Here is the code for the preloader. It's a real simple one. Just has the word loading with 5 periods apearing then disapearing.

if (this.getBytesLoaded() != this.getBytesTotal()) {
nextScene ();
}

I also tried putting Scene 2 (1) in the code for the target. But when I test the .swf the preloader well just keeps going and going and going. It's like its not recognizing the target.

By the way i have to keep the movie set up this way, with two scenes i mean.

Any ideas what the problem could be? HELP please.

::::::really Stupid:::::::
I lost my customer support card. To make a long story short
I need the product code. It start with:
FLW-500
if any know the rest please help me!!

I Think I'm Being Stupid Can Someone Help.
I'm trying to make a nodeValue show up in a text box called diaplay. It's so that I can have some xml containing a load of short news articles. I'm falling down at the first hurdle though. I can get it to display the nodeType, but when I put in the bellow code and run it the text bax remains blank.

Here's the actionscript:

news = new XML();
news.onLoad = show;
news.load("buncle.xml");


function show() {

article = new XML();
article = news.firstChild;
text = article.nodeValue;
display = text;
}

and here's the xml

<?xml version="1.0" ?>
<newz>
<article>Display me!!!!!!!!!!</article>
</newz>

I'm sure I'm just being really dumb and the answer is simple, so can anyone tell me what it is?

Because Im Stupid....
i need some help.. i made a banner thing using swish 2.0 for my website. for my website i use geocities so is there anyway to put the banner thing i made onto my website? please help me cause im knowledge impaired...

Really Stupid...i Don't Know How...
Does anybody know how you can position a movie loaded by loadMovie???
I know it will automatically position according to the parent movie but i want to reposition it....but how??
I searched the web but couldn't find the answer. Hopefully somebody can help me.

Thanks!!!

Im I Stupid Or Not?
Please feel free to tell me.....

I have some dynamic text fields in movie clips with names assigned to them (movie clip has an instance name and the text field has a variable name).

When i try to call them from the root (using the correct path and syntax)It doesn't work!!

has anyone had this problem?? Dos anyone know how to do it?

Cheers

I'm New And Stupid
OK. Hi everyone! I'm baby-stepping my way through Flash5 and have run into something that I can't figure out. I'm working on a project in which if you drag and drop something into a specific place, the movie continues. I have the drag and drop button all done, but I have absolutely no idea how to set up the rest. How can I get the movie to recognize when the object is in the right place, and then continue playing the movie?

Hopefully that makes sense as I described it.

Thanks in advance for anyhelp on this matter that I get.

-Sandy

PS - I know absolutely nothing about action scripting yet, but am learning. So if you have an answer, it would be a big help if it can be explained as simply as possible.

I'm New And Stupid
OK. Hi everyone! I'm baby-stepping my way through Flash5 and have run into something that I can't figure out. I'm working on a project in which if you drag and drop something into a specific place, the movie continues. I have the drag and drop button all done, but I have absolutely no idea how to set up the rest. How can I get the movie to recognize when the object is in the right place, and then continue playing the movie?

Hopefully that makes sense as I described it.

Thanks in advance for any help on this matter that I get.

-Sandy

PS - I know absolutely nothing about action scripting yet, but am learning. So if you have an answer, it would be a big help if it can be explained as simply as possible.

Is This A Bug Or Am I Stupid ?
I have to create some textfields with as, using the command:
_root.createTextField (newname,t,110,150+(t*20),180,128);

only instead of "_root" I want to use "this" or whatever the name of my movie clip is.

But this does not work...
it only accepts "_root"


what's the deal ?

Am I This STUPID?
Hi.. had flashMX for a while now, but im just starting to use it.. Im soo comfortable with Flash 5's layout..



anyways, i have this stupid problem..

you know when you extend the frames? I tried to select the excess and delete it.. but it doesnt just delete what i have selected.. also the KEYFRAME itself! SO ANNOYING!!!


if you dont get it, lemme explain..


say I have this cute ball starting at frame 1 - 30

now, I decided to just have the from Frame 1 - 15..
so i select Frame 16 - 30, then press 'delete'.. in flash 5 this works, but in MX, it not only deletes the selected fram, but includes the whole darn unselected frames (1-15)
so, What I did was hit F7 (blank KF) on the 16th. now, I like to get organized, so I usually delete blank keyframes.. so i selected the blank key frame and press 'delete'.. now the Darn thing wont get deleted!!!!! and I cant seem to find a way to get rid of the blank key Frames!!!!

This is freaking annoying me!!!!!!

*hypertenz*

Stupid Me
ok i know it sounds stupid but its verry late and just want to finish this. how do i rotate al line (stupid me). i mean. i need a line to rotate like a airplaine propellor hope u guys know what i mean. alsow it needs to come to a line from 1 point. wonna go to bed

Am I Stupid
I have macromedia flash MX and i need to make an intro for my site but i don't know how the animation process works I need step by step info on making an intro for my site. If maybe you know what to do could you tell me what you know about it. Or if you have any sugguestions about my site it would be most helpful. The URL is: http://www.thelaw.cjb.net

Stupid Mx
for some reason i cant get my custom cursors to work in my... what exactly is that actionscript?
Mouse.hide();
w/ startdrag the cursor instance name?

What Is This Stupid Bug ?
can someone explain this to me ...
i'm doing a small website for a friend where i want to fade photos in and out, now everytime the photo is complete it moves strangely in itself...
check it out at http://www.verklangwelt.de/vio - go to "KOLLEKTION" and choose a picture in the scroll menu and you will see what i mean.
strangely enough when you zoom in it des not happen....

any clues on that one ?
it's driving me up the wall !

I Must Be Stupid
okay, i don't know what i'm doing wrong. i've been working with AS for a little while, but apparently i have not had to approach this problem yet, and it's driving me crazy, because it should be so simple! i'm trying to call a function that is defined inside a movie clip on the main timeline. i know that you can do this, i've seen examples from people on this site discussing calling functions and how to reference them, but i just can't make it work in my movie. but i won't even discuss what i have in my movie that might be acting strangely - i'll just discuss this test file i made to prove to myself that it works (but that sadly failed).

1 frame, 1 layer. in the frame, the function testFunction(); is called. in this frame, there is also a movie clip with the instance name functiontest_mc. in functiontest_mc there is 1 frame, 1 layer and the function is defined in the frame as:

function testNewFunction(){
trace("pleeeease load the function!");
}

i have tried to call the function from frame 1 of the main timeline multiple ways. i tried:
_root.functiontest_mc.testNewFunction();
functiontest_mc.testNewFunction();

i also tried to trace both of these, but they're always undefined. HOWEVER, if i try to trace functiontest_mc._x with or without the _root, i get a value. so it can see the MC, but it can't see the function. can anyone tell me why??? this is driving me nuts! in my other file, i thought maybe it was an issue with frames, but that obviously isn't the case here. is there an issue with how i'm defining, or where i'm placing the function? thanks in advance for ANY help anyone can throw my way!!

Here's A Stupid One....
I'm having a brain cramp. Why won't this red button move!

I Know This Is Stupid... But PLEASE Help Me
I really need to learn how to load outside SWF's into a main SWF.
I dont know how this is done.

How do you controll where it goes? Whats the command?
How do you give it a transparent backround?
Id REALLY appreciate some help.... thank you EVERYONE!!!!!

eFM

I Must Have Done Something Stupid :(
Well at least that's what I think. I was trying to see the attachment about the Stickman moving (posted in the Newbie forum). Downloaded it but when I double-click on the file, nothing happens. The icon has the blue "E" Internet Explorer symbol on it, if that is of any use.

I might have accidentally asked the computer to "open every file with that extension with IE". If that's what I did, how do I undo that?

Thanks!

Stupid ?
If I have my domain registered under register .com and my site hosting by glyto.com. how does that work . Do I have to enform regisiter .com the deal or do the hosting company take care of this . I'm lost
Thanks for your help

Stupid Stupid Stupid
I dont know why i am having grief with this but I am..

validate an empty input field...
this is the current code
on (release, keyPress "<Right>") {
if (personal.first_name ==""){
_root.validate.play();
}else{
nextFrame();
}
}

The Input text field for first_name(variable name is first_name)is in a movie clip called personal which is contained in ratings.
I have tried
first_name =="", ratings.personal.first_name=="", _root...

In a nutshell all i want it to do is check to see if the field doesn't have/contain blank data if it does then play the fricking error message (movie clip) if not then move onto the next fram...

baffled
rigpig

Stupid...
pretty simple question, no idea while it is not working. i have a button using the code...

on (rollOver) { stanthonys-motion.gotoandplay(2); }


there is another movie clip on a different layer (same scene though) with the instance name "stanthonys-motion"

inside that movie clip are stop actions on frame one and frame 4. The point is that when you mouseover the button, this should change to the 2nd frame and play until it hits that stop frame at 4.

it wont work at all though. any ideas?

russ

Stupid Bug Or What?
I was trying to create a motion tween from a VERY small object (a 1 point letter 'Y') to a larger object and I found that motion and shape tweening doesn't work for such small objects.

Is there a workaround (other than frame by frame animation) or will I just have to do it by hand?

thanks in advance

Paul

Hi. I Must Be Stupid
ok i know how to make an animation, and i know how to make a mouseover. these two do not seem to work together for me.

in simple terms, how exactly do i get a button to play a movie clip on mouseover?

Me Being Stupid?
Ok...

I have brought in a variable from a text file, it is on the stage in a text box with variable "question1"
I then put in the next keyframe on the timeline:

thequestion = question1

and get undefined in thequestion...

Is this something to do with it being loaded from the text file, if so, how do I get round it??

Thanks,

W.

Stupid Bug Or Stupid Me?
Please visit example A: http://www.info-link.com.au/burleigh/

Now just before the end, the house wobbles. Now I've spent hours upon hours perfecting this flash, so that there are no visable mistakes in the .fla. It views in flash fine, It publishs into html, BAD. So I open swf at normal size, BAD then full-screen it's good.

Can any one tell me what could possably be wrong with Example A, Flash 5 Bug?

Seems Stupid......
I have lets say...

Mc1
mc2 in mc1
btn 1 in mc2

I need to have btn 1 control the timeline in mc2


ANd what ever the anwer is I need also the explanation for things nested deeper.....

I tried _parent._parent......etc but that does not work....

Stupid Mc's
hey guys...i can't get this on (release) to work from inside an mc...i don't know why! i'm sending it to another fram INSIDE the same mc, so it shoud be farely easy, right? i can get an on (rollOver) to work, but the release one WON'T!!!! it's annoying! this is for a class project due teusday...PLEASE HELP!! i'm attaching it...any of the buttons have the same AS attached to them, but it will be easier for me if you fix the first one and show me. and i haven't actually added the second frame yet, so you'll need to do that to test it. thanks!

I Am Stupid, Maybe
I am very new, I have Flash MX Pro and I am trying to get into the Actions pallete but in normal mode. I am doing tutorials from a book and my actions palette looks nothing like the one in the book. On the right side options, I do not have a choice to go into simple mode.

Any help would be appreciated.

Am I Doing Something Really Stupid?
Hi

I've got a strange problem that Im sure has a very simple solution. But I can't work it out.

I've got 3 movie clips. I've put them in an array. Then I loop through the array, sending each movie clip to another function that performs some operations on each.

The weird thing is it only goes through one loop then stops. I can make it work like this:


updateLabels(aMenus[0]);
updateLabels(aMenus[1]);
updateLabels(aMenus[2]);


But just not in the loop.

Im publishing as Flash 5 by the way. Thanks in advance!

[i]
function setUpVariables() {
aMenus = new Array(calendarDays_mc, calendarDates_mc, calendarMonths_mc);
}

function setUpScreen() {
for (i=0; i<aMenus.length; i++) {
var objMenu = aMenus[i];
updateLabels(objMenu);
}
}

function updateLabels(objMenu) {
with (objMenu) {
var nNumLabels = aLabels.length;
if (nActiveLabel == 0) {
var nPreviousLabel = nNumLabels - 1;
} else {
var nPreviousLabel = nActiveLabel - 1;
}
if (nActiveLabel == (nNumLabels-1)) {
var nNextLabel = 0;
} else {
var nNextLabel = nActiveLabel + 1;
}
var aLabelNums = new Array();
aLabelNums[0] = nPreviousLabel;
aLabelNums[1] = nActiveLabel;
aLabelNums[2] = nNextLabel;
for (i=0; i<3; i++) {
var nLabel = aLabelOrder[i];
labelHolder_mc["label"+nLabel+"_mc"].sLabel = aLabels[aLabelNums];
}
}
}

Hi Might Be Stupid To Ask But
hi guys I know this might be stupid to ask but what is a

PRELOADER

and how do you make those loading screens that load an entire flash sites information only once because I make my loading screens but they keep coming back up I could just use them once but I have a feeling that there is more to those loaders that I see on alot of sites

Maybe A Little Stupid, Please HELP
Help me out guys, does anyone knows how to put a banner in a page?, with which code?, being a swf banner when you click it, that it open blank page to the page, chechk this out.
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="430" HEIGHT="93" id="banner" ALIGN="">
<PARAM NAME=movie VALUE="http://www.cerebro-digital.com/banner.swf" ref>
<PARAM NAME=quality VALUE=High> <PARAM NAME=bgcolor VALUE=FFFFFF>
<param name="_cx" value="11377">
<param name="_cy" value="2461">
<param name="FlashVars" value>
<param name="Src" ref value="http://www.cerebro-digital.com/banner.swf">
<param name="WMode" value="Window">
<param name="Play" value="-1">
<param name="Loop" value="-1">
<param name="SAlign" value>
<param name="Menu" value="-1">
<param name="Base" ref value="http://www.cerebro-digita.com">
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="SWRemote" value>
<param name="MovieData" value>
<param name="SeamlessTabbing" value="1">
<EMBED src="http://www.cerebro-digital.com/banner.swf" quality=high bgcolor=#FFFFFF WIDTH="430" HEIGHT="93" NAME="banner" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>



My question is how i add the link to the movie to open another page in a blank page. please help me out, thanks byebye

Have I Done Something Stupid ?
HI
i have two swf.s, one for the banner and one for the menu.
i have placed each one in its own seperate table in Dreamweaver.


all week i have been working on them seperately, now i glue them together and realise that i only want to have the banner showing on the homepage.
when another button is pressed, to go to another page, the banner follows.

i dont want this.
i want the banner to stay where he is on the homepage. but as he is fasstened to the the menu swf, it seems we are stuck.
i wonder if there is an action i should be using ?

so, do i have any options ? if i had done both the menu and the banner together in the same swf. this problem wouldnt have arisen right ??

any advice ? (please? thanks/sorry)

Iam Stupid
how do i add and copy frames????

Might Be Stupid...but If Anybody Can Help....
Hey there!

Okay guys, I`m not even sure if this is the right forum...and moreover the right thread...but please bare with me. I don`t have any major knowledge as far as flash players and flash in general is concerned....but I believe there is where my problem lies...

I`ve been trying for 2 days to view video clips from a specific site-an official US channel site-and I cannot even make the video player load....the page loads properly but there is no sign of video....whereas others who`ve been there can successfully view everything...! The site says "flash streaming player" so that led me to the whole "flash" thoughts.

I dled and installed macromedia flash player 8 and shockwave player....and apparently that didn`t help. I`ve also installed java runtime environment 5.0 and neither that helps...

People....I give up....I can`t seem to figure out what`s wrong...

Can anybody please give me any ideas? Can anybody help me here?!

I`m sorry if I shouldn`t have posted this here...but didn`t know what else to try.

Thanks in andvance.

Help Me I'm Stupid
I need some help please!! This is a link to my question:

When I say frames (in this question) I'm reffering to html frames... I want to have two frames (top & bottom) the top will have animation happening, the bottom, a flash enter button... when you press enter I want the top frame to continue (without reloading) and the bottom to trigger a preloader for the site... When the preloader finishes in the bottom frame I want the browser to load (in the same window {parent}) the site. Thanx!


Thanx

[F5] I Can't Be This Stupid HELP
Why can't I see my text? This gonna sound so elementary, but I can't get this to work and I am going to beat my head against a wall!

Anyway, please tell me what I am missing from a simple button! I am loading text dynamically.

I have an intro movie into which I am loading the main body of my site into a movieclip (blank1). On the main body of my site I have another movieclip (tload) that I am loading a movie that contains a movie clip with my text box. I know that the movie is loading because I can see my scroll bar. When I click the button located on my main movie stage(I have an on release load variables.) The path that works when running the main move by itself ( no intro) is _parent.tload.textmovie.

Again, I can see the text from the main but it is not loading if I run from my original intro movie. What am I missing???


For brevity.

Intro Movie has MC "BLANK1" into which I am loading
Base Movie which has a MC "TLOAD) into which I am loading
TextBox which has a MC (TEXTMOVIE) for which the text should load.

I have tried on release loadvariable (mytext.txt, blank1.tload.textmovie)
Haven't used flash in a couple of years can't believe I have forgotten!!


One more thing. My text box uses an onclip event on the mc. I am noticing when I scroll my text, if I select another text file to load, it is not loading my text at the beginning. It's like it's stuck from where I last scrolled. Any idea's?


Thanks guys/gals for your help!!

Copyright © 2005-08 www.BigResource.com, All rights reserved