RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (Full Version)

All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy



Message


Awsome Teh Cake -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/7/2008 14:13:02)

OMG LLB IS BACKZORZ!!!
lil boi blue, you might want to try any un-neccesary movieclips or anything that you aren't using, because more than half of my file space is usually made up of things that I create, then never use, like if you have a button, yet there is no need for a button in a movie, then delete it.




The Illusive Man -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/7/2008 14:51:45)

Hey,

Apart from deleting MCs that you don't use,

http://www.softpedia.com/get/Internet/WEB-Design/Flash/swf-compressor.shtml
www.brothersoft.com/downloads/swf-compressor.html
www.compress-swf.com

A quick google search :)




tauguy -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/7/2008 15:08:27)

Althorne, you always say 'google is your friend' or 'google searched' or something. It really isnt that easy.
You just know what to type in the box! [:D] Oh how I envy your talent!




The Illusive Man -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/7/2008 15:26:34)

tauguy - i looked for *Flash Compression Tools*

EDIT: - Music and sound effects take up a lot. It's a good idea to get them streaming in. It's not too hard. I may have a .fla lying around somewhere with the code. It means that imageshack won't work for you (unless you try hard and host the music elsewhere), but if you take out free hosting, then it should work great.




lil boi blue -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/8/2008 1:11:34)

hey i just wanna say to anyone that compress-swf is amazing for file saving space, i went from a 2100kb movie to a 400-700 kb movie. obviously the quality of the movie goes down a little but what can a few graphics hurt right? well i just recommend it even as the trial version




tauguy -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/8/2008 5:13:20)

is there any reason the code:

if(alertBoxTxt == "";){
alertBox._visible == !alertBox._visible;
}
alertBoxTxt = "";


wouldn't work, alertBoxTxt being dynamic text, alertBox being a movieclip and the code being in the main timeline?




Awsome Teh Cake -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/8/2008 21:12:32)

if(alertBoxTxt == "";){
alertBox._visible == !alertBox._visible;
}
alertBoxTxt = "";

Would be not be proper AS, let alone english. Think of it this way, you dont say if something isnt that, than that things visiblity is that things not that things visibility....it makes no sense, so change it to this:

if(alertBoxTxt == "";){
alertBox._visible=false;
}
alertBoxTxt = "";

Wat that is saying is that when something = that certaint thing, then the thingy isn't visible...




The Illusive Man -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/9/2008 3:18:19)

expanding on beefy's

if(alertBoxTxt == "";){
alertBox._visible=false;
}
else{
alertBox._visible=true;
}
alertBoxTxt = "";




Awsome Teh Cake -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/9/2008 7:47:57)

Oh, oops, lol, I forgot about the bottom part XD.
Btw, I'm terrible at making files smaller, just saying, I can only make them bigger :D! That's my specialty :3




flsg -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/11/2008 18:16:18)

wut o.0
27000 kb in swf?
you have a problem there

BTW welcome back XD




somebody621 -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/16/2008 12:52:56)

Is there an easy way to work with depth control in AS3? I know you can use arrays and stuff to make a list of the order things are drawn, but that seems a little redundant...




Awsome Teh Cake -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/18/2008 18:13:02)


quote:

ORIGINAL: biG frend

Just something I might share
http://www.newgrounds.com/portal/view/434739
Tutorial collab 08 pretty nice. It has what you want in it beefstew.

What's it called? I mean of course the thing I used to be looking for XD.




flsg -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/18/2008 22:33:28)


quote:

ORIGINAL: somebody621

Is there an easy way to work with depth control in AS3? I know you can use arrays and stuff to make a list of the order things are drawn, but that seems a little redundant...


lol somebody, welcome back again again again again XD

in AS3, there's no depth control: everything's done by flash itself. For more infos check flash's documentations, it'll tell you how to use build-in functions to manage it.

:)




Awsome Teh Cake -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/19/2008 20:54:50)

@Anybody: I'm trying to use the loadMovie function for a .swf file, yet the problem is I'm not sure how to get it to find a certain MC in that .swf file, and get that! Does anybody know what to do?




flsg -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/20/2008 15:20:25)

depends on in which MC you loaded your swf file
it's it's root, then simply use the mc's name
is the swf is in another mc, use mcname.mcInSWFname to access it




somebody621 -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/20/2008 22:02:58)

How do you control what order bitmaps are copied onto the screen besides using the arrays?






Nicky -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/21/2008 0:25:18)

Alright... Question. My apologies if it's been asked before.

I did an Control + F through most of the links on the front page, and yeah.

Okay.. so. I have a Movie Clip. Inside that MC there's two circles that I drew in flash. I'm setting up a hit test kind of like a Flash meets Guitar Hero thing. I've tweened the two circles inside my MC to move over a bar, and when they do hit each other you have the opportunity to score by pressing a button.

Only problem is, because I have two circles in the MC which are spaced out, the hit test picks up the space between the two circles as well as the circles themselves. Is there any way for me to make it so that when using a hit test for that MC with the two circles in it, the hit test only picks up on the actual circle drawings inside it? And I'd prefer a way which doesn't include making a new MC for each separate circle, because that will make my AS coding a heck of a lot longer with all the ||'s and brackets...

Yeah, thanks! I hope that was all understandable :P.

Edit: And oh yeah. I was reading back and seemed some weren't sure why all the Q&A threads were unstickied. This was 'cause there were so many of them.




biG frend -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/21/2008 5:00:14)

Its not possible to do so, Since you can only have one centre of origin, I think.




Nicky -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/21/2008 5:20:22)

Okays, no worries then :). Was just wondering in case I missed something that was obvious :P.




Awsome Teh Cake -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/21/2008 10:49:46)

I'm a tiny bit confused on a certain subject. I understand that with AE games, and most other games, the main movie is a login screen or something, and the rest is other files somehow displayed there. The only problem is, I'm not sure how to do it! I've read the supposedly correct code, and it doesn't work for me, also, I'm not sure how it would!
Does anybody know how I'm supposed to do it?




tauguy -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/26/2008 15:00:22)

Does anyone have any idea how I could make a camera-like thing in flash? As in, a photo taking camera not a camera that you look through (I have seen that tut). So the same thing as that, just it captures what is visible through the camera and can be called upon with the same capture later on.
I have one idea, but haven't tested it and have no idea if it would acutally work. All I know is the code would be very tricky...




somebody621 -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/26/2008 19:26:42)

I'm not sure if I catch your drift, but if you use flash 8 and above, you could always use bitmapdata.




flsg -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/27/2008 22:55:42)

biG frend: DONT.EVER.SAY.SOMETHING.YOURE.NOT.SURE.TO.AN.ARCHKNIGHT

nicky: hi :D I'd been waiting forever for an archknight to ask a question here XD
it IS possible, but with LOTS of coding, I dont think I even have the time to think about that. It's just a matter of bitmap checking(flash 8 or 9)
to make it easier, you need 2 MCs, since you need to control their position.
BTW, hittest isnt necessary here, in fact, in most of the cases I saw in this thread(and all the previous ones), hittest wasnt needed. All you have to do is to get the coordinates of each MC(with each one single circle in it), then run a code to see if their coordinates are close enough(hypotenuse if x and y are diffrent, only x or y if one of the coordinate of both MC is the same), then execute something if they are.

PLEASE ask more if you dont understand XD


edit: when was the last time I wrote that much o.0




Nicky -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/28/2008 0:32:59)

XD, I don't mind that biG wasn't sure. I'm just like any other member asking a question :P

Mm, I have CS3 so I don't think that bitmap checking would work, seeing as you said flash 8 or 9, unless it's included into CS3 as well.

I tried using Modify -> Break Apart but that took apart the MC as a whole and separated it into my two circles anyway, which means more coding in any case. I was going for 1 MC with all the notes inside it so that I could set up one hit test to check if any of them were touching the bar, but if that's not possible then that's cool.

Yeah, the whole hypotenuse thing kind of went over my head :P. If you feel like explaining it to me feel free to do that. If I had to have a separate code for each MC then it would probably be around the same amount that I have now.

Thanks for that, though :).

@Al (Below): Ah, mmkays. Didn't know that one :p. I just knew there was Flash 8.. then CS3 came out. Actually now that I think about it; yeahh, that makes sense.




The Illusive Man -> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul (6/28/2008 5:41:38)

Nicky - Flash 9 is flash CS3. Or to be precise, it was the actionscript3 beta of CS3.

I'm not up for the trig, my maths is shocking XP




Page: <<   < prev  5 6 [7] 8 9   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.109375