Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul
Page 7 of 18«<56789>»
Forum Login
Message << Older Topic   Newer Topic >>
6/7/2008 14:13:02   
Awsome Teh Cake
Member

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.
AQ  Post #: 151
6/7/2008 14:51:45   
The Illusive Man
Member

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 :)
Post #: 152
6/7/2008 15:08:27   
tauguy
Member

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! Oh how I envy your talent!
AQ  Post #: 153
6/7/2008 15:26:34   
The Illusive Man
Member

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.

< Message edited by althorne -- 6/7/2008 15:29:24 >


_____________________________

Post #: 154
6/8/2008 1:11:34   
lil boi blue
Member

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
AQ DF  Post #: 155
6/8/2008 5:13:20   
tauguy
Member

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?
AQ  Post #: 156
6/8/2008 21:12:32   
Awsome Teh Cake
Member

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...
AQ  Post #: 157
6/9/2008 3:18:19   
The Illusive Man
Member

expanding on beefy's

if(alertBoxTxt == "";){
alertBox._visible=false;
}
else{
alertBox._visible=true;
}
alertBoxTxt = "";
Post #: 158
6/9/2008 7:47:57   
Awsome Teh Cake
Member

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
AQ  Post #: 159
6/11/2008 18:16:18   
flsg
Member

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

BTW welcome back XD
AQ  Post #: 160
6/16/2008 12:52:56   
somebody621
Member

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...
Post #: 161
6/18/2008 18:13:02   
Awsome Teh Cake
Member


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.
AQ  Post #: 162
6/18/2008 22:33:28   
flsg
Member


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.

:)
AQ  Post #: 163
6/19/2008 20:54:50   
Awsome Teh Cake
Member

@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?
AQ  Post #: 164
6/20/2008 15:20:25   
flsg
Member

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

< Message edited by flsg -- 6/27/2008 22:58:23 >
AQ  Post #: 165
6/20/2008 22:02:58   
somebody621
Member

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


Post #: 166
6/21/2008 0:25:18   
Nicky
Member

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.

< Message edited by Nicky -- 6/21/2008 0:29:03 >
AQ DF  Post #: 167
6/21/2008 5:00:14   
biG frend
Member

Its not possible to do so, Since you can only have one centre of origin, I think.
AQ DF MQ  Post #: 168
6/21/2008 5:20:22   
Nicky
Member

Okays, no worries then :). Was just wondering in case I missed something that was obvious :P.
AQ DF  Post #: 169
6/21/2008 10:49:46   
Awsome Teh Cake
Member

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?

< Message edited by BeefStew -- 6/21/2008 10:50:03 >
AQ  Post #: 170
6/26/2008 15:00:22   
tauguy
Member

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...
AQ  Post #: 171
6/26/2008 19:26:42   
somebody621
Member

I'm not sure if I catch your drift, but if you use flash 8 and above, you could always use bitmapdata.
Post #: 172
6/27/2008 22:55:42   
flsg
Member

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

< Message edited by flsg -- 6/27/2008 22:58:33 >


_____________________________

My flash gallery
my game thread

flsg, proud old member of AQ(still playing :O)
AQ  Post #: 173
6/28/2008 0:32:59   
Nicky
Member

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.

< Message edited by Nicky -- 6/28/2008 6:44:02 >
AQ DF  Post #: 174
6/28/2008 5:41:38   
The Illusive Man
Member

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
Post #: 175
Page:   <<   < prev  5 6 [7] 8 9   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A Thread 5 - Flash Has Shares In Your Soul
Page 7 of 18«<56789>»
Jump to:






Icon Legend
New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Content Copyright © 2018 Artix Entertainment, LLC.

"AdventureQuest", "DragonFable", "MechQuest", "EpicDuel", "BattleOn.com", "AdventureQuest Worlds", "Artix Entertainment"
and all game character names are either trademarks or registered trademarks of Artix Entertainment, LLC. All rights are reserved.
PRIVACY POLICY


Forum Software © ASPPlayground.NET Advanced Edition