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




Kind Of A Stupid Question But...



I am an novice programer, just not with flash, only with Qbasic and Vbasic.

That over with, I have a little problem. I'm trying to make a movie clip _visble propties = false when my movie loads up and then have it equal true when the user clicks on a button...

But its not working! I'm using flash five if thats any help. I've tryed everything I can think of....



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-29-2003, 01:51 PM


View Complete Forum Thread with Replies

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

Kind Of A Stupid Question... I Guess
How do you make text have like a liquid looking transformation into different text?

like Hi turning into Bye..... like a change.......not like hi appears and then bye..... cant really explain that well...

How Do I Check If "any Of THIS Kind Of Object Collides With Any Of THAT Kind"?
Right now I have it set up VERY inefficiently --

I have 2 kinds of objects -- objA and objB, There are about 50 of each on screen at one time.

On every instance of objA, I run a while loop that checks collisions with EVERY instance of objB. 50x50 = 2500 of these processes in a single frame. I do this because flash forces me to refer to the objects by name, and even copies of a single object must have different names. There's gotta be a simpler way to do this.

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?

Would Someone Be So Kind To Help?
ok here`s the situation: i have a dropbox wich has items in it and in the same scene a scrollbar with dynamic text. I want this: you click on a item in the dropbox and you see the text that is related to that item in the scrollbar how do i do this? please explain simply i`m not quite an expert. thanks

Kind Of Not Right?
Ok here is the deal I have a sliding menu with six buttons the first four work perfectly linked, the last two will not link.
Here is the code:
on (rollOver) {
tellTarget ("button five") {
play();
}
}
on (rollOut) {
tellTarget ("button five") {
gotoAndPlay(11);
}
}
on (release, releaseOutside) {
getURL("http://www.thebonjoviexperience.com/cgi-bin/guestbook/guestbook.cgi", "_self")
}
The code is the same on the first four with respect to the button numbers and of course the url
any ideas as to what is going one with it.

You can llok at the full fla at
http://www.thebonjoviexperience.com/swwmenu.fla

Thanks in advance

Tip Of The Day...kind Of
Hi all

Is there a way to load a swf based on the date... instead of random.

maybe by using the date for the swf = 071103
or better some random swf for different animation and then the
Tip from a txt.file

Any Idears

Have a nice day

flemming

Kind Of New To AS, Could Use Help...
Okay, I'm just trying to make a nice simple platformer, and all is going well so far. I've got it to where the pc stops when he hits the wall, and can back away from the wall, it jumps and falls slower when space is held down but continues to fall and falls faster when space is released. Now I want to make the character able to go from platform to platform. I can't seem to think of a way to do this without putting seperate code on each of the different platforms, and that's not exactly my idea of a good time... I'd like to find some way of putting code on the character instead. Here's the code I have right now on the pc, and the staying firm on the ground comment is where I want to put the code to make the pc stay on top of whatever platform it's touching at the time:


Code:
onClipEvent(load) {

gravity = 20;
walkSpeed = 6;
maxjump = 10;
right=true;
left=true;

}


onClipEvent(enterFrame) {
//staying firm on the groundedness

//walking
if(right==true) {
if(Key.isDown(Key.RIGHT)) {
_x+=walkspeed;
}

}
if(left==true){
if(Key.isDown(Key.LEFT)) {
_x-=walkspeed;
}
}
if(this.hitTest(_root.wall) && Key.isDown(Key.RIGHT)) {
right=false
}else{
right=true
}
if(this.hitTest(_root.wall) && Key.isDown(Key.LEFT)) {
left=false
} else {
left=true
}
//jump
if(this.hitTest(_root.platforms)){
air=false
}else{air=true}
if(air==false){
jump=true;
jumpcount=0;
jumpspeed=20;
}
if(Key.isDown(Key.SPACE) && jump==true) {
_y-=jumpspeed;
}
if(Key.isDown(Key.SPACE)){
jumpcount+=1
}
if (jumpcount>maxjump && jumpspeed>-2){
jumpspeed-=9
}
if(!Key.isDown(Key.SPACE) && air==true) {
_y+=gravity
}
}





Help, suggestions would be helpful. And its flashMX, if any one needed to know....

New Kind Of Pop-up
Lately, on the internet I saw many pop-up graphics that displayed picture of a car or other objects that moved across the web page when I go to site such as http://www.yahoo.com. This pop-up has no rectangular window, but a picture of say a car that move across a web page. Do these pop-up created using Macromedia Flash or is it Java applets ?

What Kind Of Preloader?
I have a main film "main.fla" and in this main film with animation i load a *.swf file.
to the problem: i have make a preloader for the main.fla but the *.swf does not preloaded.

I need a solution that preloud the main.fla AND the *.swf (from loadmovie).

cu from germany

Any Kind People Out There?
Is there anyone that can help me with a script??

I have an email form with 4 variables - name, subject, email and message. I need a php or cgi script to send this to my email. I have tried to modify various examples with no luck.

Any help would be appreciated.

How Would U Get This Kind Of Text
how would u get this kind of text

http://cleoag.shockteam.com/sw3d/s/v...clestexticons2

is it through action script ?

or some other way ?

thanx =)

A Different Kind Of Preloader?
I am developing my first Flash website and would like to create a preloader.

There are loads of tutorials and examples on the preloaders but am now thinking of doing a something different....

Instead of preloading bar -- using my imagination, a rough sketch of a person pushing a rock/ball uphill on the cliff and when the preloading is complete, the rock/ball drops down the cliff on the other end.

How would I be able to do it? Suggestions would be greatly appreciated!!

Thanks in advance.

What Kind Of Script Does This?
This seems to be the new kind of advertising lately with flash. What kind of scripting is used to do this? http://us.a1.yimg.com/us.yimg.com/a/...arm/sfarm1.swf . This was recently used on the Yahoo frontpage. Also, does anyone know where I can find an example FLA or SWI that does this? Thanx!!!

I Think I Need Some Kind Of Loop?
okay, here goes

i have two main movie clips logo and spinner then i also have 6+ movie clips named a b c and so on, now what i want to do is

when logo has reached final frame start spinner and (a) then when they have both finished start logo again which when finnished will start spinner and (B)

at the moment i have logo and spinner working but how do i get it to play abcd etc in order, then start all over.

many thanks in advance

Brian

What Kind Of Database Should I Use?
hi guys! i want to create a flash application (like product catalogue) that will be distributed in a CD-ROM. I want to have a database in the project...can u advise what i need to use? text file or ms access or xml blah blah

tnx in advance! =)

Need A Different Kind Of Fullscreen
hey people,

im making my projector go fullscreen with this code:
fscommand("fullscreen", "true");

but, it's making the movie go fullscreen...

what i want it to do is keep the stage the way it's supposed to be (correct size, and hiding anything that hangs out of the stage) and just make the background go fullscreen, like a nice presentation... kind of like when you watch a quicktime movie in presentation mode... it doesnt stretch the movie fullscreen, just the black background takes over the background of your computer.

know what i mean?
thanks.

Some Kind Of Altimeter...
I should do the altimeter that that counts and shows the total height of certain objects. So... when I drag the certain movie clip above the other then there should be info about the total height. (For example, that movie clip would present some kind of shelf that can be put on top of another shelf.)

My problem is not increasing the counter (altimeter) but to decrease it. [I get the height value from the external text file and via the position of the previous movie clip I can easily increase the counter.] But... let's imagine two stacks (of same height) each containing two separate shelves. So... when I remove one shelf from the stack on the right, how should I tell the Flash/Actionscript "do not decrease the altimeter because there is another stack of same height on the left". In this case there can also be more than just two stacks.

Any ideas how to decrease the counter the right way BY USING ACTIONSCRIPT? I have not done any code yet because NOW I want it to work on paper first...

What Kind Of Host Do I Need...
so i'm ready to start experimenting with my own .com site and stuff and need to know where to start. so i get a register a domain, then get a host. do all hosts offer the same product. do i need a special type of hosting to have a flash site? where do i start?

Kind Of Funny . .. 2 Me :)
Alright,

So i go into coles book store 3 days ago looking for the Flash MX bible. I pick it up look at the back and HOLY **** it's 80 dollars.. what a rip off but whatever i need this book and it looks interesting plus i had my mom's bank card So i continue to purchase it take it up to the front "Sorry but the cd-rom isn't in here" Well than i'll pay 20 dollars less so 60 dollars "Sorry sir we can't do that" Oh ok. So i walk over and find another i come out with Sam's teach yourself Flash MX in 24 hours, i like this i purchase and i have been reading it ever since. I was sitting here on my computer like 10 minutes ago when my mom walks over to me and says is this the book that you wanted and i said yes but the cd is missing. I look closer and what do you know it says 75% off my mom paid 20 dollars for a book that i was going to pay 80 at first, but why wouldn't they let me have the book when i offered 60 lol

Just a funny story that i thought i would share hehe

Got Graphics?

Its Kind Of Choppy
ok, i finally got mine to work, cept halfway through it it gets a lil choppy, like it pauses for two seconds then continues. This only happens the first time someone views it. Is there anyway to make it less choppy?

How To Do This Kind Of Thing
Hi
Can anyone tell me the best to get this sort of effect.... http://www.fourm.com/console/
Its the bit when the box opens kind of squashy and then forms its proper shape. I can do it sort of with with teening but wondered if it could be done using the drawing api.
Thanks
Karen

Launching A Kind Of Pop
Anyway to launch a blank HTML target window (off the main movie) out of Flash, so it aligns top left in the browser; at 800 X 600? With the scrollbars, icons, and all the usability of a normal browser window...
Thanks.

Looking For This Kind Of Tutorial
I was surfing the net when i found this site O2 and i was wondering if there was anyone out there who knew or knows where i can find a tutorial on how to make that kind of splash . . the bubbles and such.

Please help.

Which Kind Of Preloader?
hi,
what kind of preloader can I use?The movie clip (published in V.6) starts with this code at the second and last frame:

_root.attachMovie("picMC", "picMask", 10);
picMask._x = 154;
picMask._y = 122;
_root.attachMovie("picMC", "picBg", 5);
picBg._x = 154;
picBg._y = 122;
_root.attachMovie("maskMC", "myMask", 20);
myMask._x = 154;
myMask._y = 122;
_root.attachMovie("bgMask", "bgMask", 7);
bgMask._x = 154;
bgMask._y = 122;
picMask.setMask("myMask");
picBg.setMask("bgMask");

I've tried with a standard v.5 preloader but it doesn't work.
Can the problem be the _root.attachMovie expressions?

Thanks to all for help
manipura70

How To Do This Kind Of Effect?
I hope you all would have seen this grainy effect which you get when you switch on your TV or when the power goes off in the TV station we can see this effect like lot of silver colour grains in the TV. Its also seen in many sites now days. Does any of you know how to get this effect? Or in order to search for it in the forum which will be the right word to search?

Will any of you come forward to understand what I exactly need and help me? Thanks.

Anyone Know How To Get That Kind Of Effect?
Anyone know how to get that kind of effect?

Anyone Know How To Get That Kind Of Effect?
Anyone know how to get that kind of effect?

sample:

http://www.chineseworld.com/ad/sample.htm

Some Kind Of Frame
i need help making a site that works with html. i want the site to be something like this http://www.2advanced.com/webbasis/siteindex.htm
the top half is flash and the bottom is html.
can anyone tell me how i can make this work or send me an example
thanx

Im Looking For This Kind Of Navigation
this navigation


on my website my nav is with javascript and layers....

can anyone help me to build this like the website above in flash?

the best way - store the main und submenus in database and read with flash and build the menu...

can anyone help? any questions? icq 23148128 or here

sorry for my english...

A Kind Of Chat Bot...
I need to know the command to recognise a word actually as part of a sentance so as i can make a reply.

For example. if you enter the phraise "you look like the rear end of a truck" i want a scipt that recognises the person has said "rear" so as i can have my text replying.

I know hoe to do it with a password kinda thing but then the whole sentance ust be exact so "You look like the rear end of a car" would not recognise.

Any help would be greatly appreciated! thank you for your time.

What Kind Of Flash Is This?>
On http://www.akamai.com/index_flash.html they have a nav that comes up over the image... What is this? Is it actionscript or what?
thanks,
Vegas

Kind Of Hit Test
Hi everybody,

Please take a look at the fla's
I'm triying to do a mouse trail inside a movie clip.
But I want the trail to stop when your outside the movie clip.

My trail go over the movieClip (_x)

could someone help me out

thanks

Kind Of Stylesheet
i presume this is possible but don't know where to start.

i want to be able to easily change the colour of elements with in a site in one go rather than having to open up every MC or button. ie. type colour ,background colou,r box colour that kinda thing - i can go every month/week/day change some code and all colour way for the site is completely different (like CSS). If anyone knows any good tutorials or source files they'd be much appreciated.

cheers

J

A Kind Of Preloader
i'm making a preloader for my site.as a design i would like to have a logo that slowly shows from top to down as the movie loads.the logo consistes of an alien head made of horizontal stripes.and i would like to make the head form line by line as the movie loads.

ps:i don't want to make the logo in flash(i know that this would be easier). i have the logo as a jpg.

if someone knows how to do this, please help me.

Is There Any Kind Of AI/EPS To SWF Tool?
Sorry if this may be a little off topic....

Anyone know of any kind of tool, util, class, script, etc that will convert EPS (vector) to SWF either by either server-side script, command line, or standalone app?

Ive seen all the others JPG2SWF, GIF2SWF, PP2SWF, etc....but havent been able to find any info on doing vector via Flash run-time or external.

TIA!

Ahhhk!

This Is Kind Of Embarrasing......
HI i just got flash mx pro 2004 for a present and i made a character iam so confused with all the buttons and stuff i dont even know how to make it move much help would be appreciated!

Eraser Kind Of
Hi
I'm creating a drawing api where I have used lineTo/moveTo methods to create line drawing. now i want to create a eraser kind of effect which can be like eraser removing parts of the lines.
This should not be clear function which clears all the drawing at once.
It should behave like an eraser. Like on hittest it should remove that part of the line.
Is it possible???

Please guide.......its urgent!!

Thanx

Is This Kind Of Interaction Possible?
Hi there,

I'm wondering if the following problem can be solved.

I got a website that's build in frames. 4 frames (a,b,c and d)

in frame "a" is the navigation of the site.
If you click on a button in frame "a", frame c will change.
In frame "c" is a sub-navigation

The navigations are both in flash. I wan't to click something in frame "a"
and with that click make the sub-navigation in frame "c" change (for example: gotoAndPlay(2)).

is this possible?.. hope you understand my problem..

thnx.!

This Kind Of Effect?
http://www.theillusionist.com/
Do anyone have any idea how to make those rollover effect on the button "Enter site"? Some light coming out from a light source. Do anyone know how to use actionscript to finish it?

Blobs (kind Of)
nothing but some tiny classes to build up a few kinky blobs. I didnīt spend much time on performance optimations yet, because I canīt resist to post such cute little fellows here and now.

launch (&& sources)

cheers

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