ActionScript 3.0 :: Tips & Tricks & Optimization & Professionalism

Dec 17, 2009

I am new in flash AS3 and I have made a little game. I want you to make corrections, optimize script, give advices how to make something easier. Also, in left down corner, there is score text and try this: take 100 score, than hit enemy, than take 200 score and hit enemy again. you will get error. I tried everything and can't get rid of this error. upload_score.php is working fine:[code]

View 0 Replies


Similar Posts:


Actionscript 3 :: Hidden Features/tricks Of Flash Development

Apr 15, 2012

I am thoroughly surprised that there is no Flash Hidden Features post yet in the Hidden Features series that I've been tracking for a while now. There is a recent AS3/Flex one but it's not very active and I don't exactly mean just AS3 when I say Flash here.The Hidden Features series is great for people who are new to a certain language. It shows the ropes and certain valuable tricks, all in one place. I think it's a brilliant idea. Even experts sometimes find tricks they'd never heard about.When I started with Flash, I was taken aback by the Flash IDE and odd concepts of Flash, compared to other programming languages.what are some hidden features of Flash as a language (AS2/3) and the Flash IDE?

View 24 Replies

ActionScript 2.0 :: How To Create Tool Tips

Oct 23, 2009

Anybody know how to create the tooltips show on this website URL...The tool tips will appear when you mouse over the word "location" that is highlighted in blue on the web page. The tool tips will follow the mouse where ever it is within the blue highlighted area.

View 1 Replies

Professional :: Tips For Creating Charts?

Mar 1, 2011

I was wondering anyone had suggestions for ways to chart data easily from a mysql database. I am working on a website composed totally in Flash.For example: a football database, a user may enter a players name and then a graph shows the goals scored over time.I have looked into google charts, fusion charts and opencharts and they seem to be ok if you are making a html page and will create graphs for you..

View 1 Replies

Flash :: Cs5: Speed Up Devlopment Any Tips?

Jan 25, 2011

My trouble is that my project is taking more and more time to be compiled.My preocupation is how to speed up this compilation ?I used now a SSD hard disk and a quad core CPU.Do you think that purchasing an I7 core will speed up the compilation ?

My fear is that it does not bacause Flash CS5 will not take advantage of the multi core.

Is there a hardware configuration someone can advise me ?

View 2 Replies

ActionScript 3.0 :: Any Tips On Looping Gallery Items From Xml?

Mar 2, 2010

im building a product menu that loads a bunch of images through xml and uses one movieclip instance for the texts.URL..So far my code loads the 5 items and gives them 600px of space in beetween. This way i can use next/prev navigation. But the problem is when i reach the last one, it should loop, so that after the last one should come the first one again. And same in reverse for the prev-arrow.I have all this code inside a movieclip that im now controlling with the arrows:[code]And i cant get my head around that where should i include the looping, in pseudocode: "if picture x <= -600 reload it as the last picture && if picture x >= +600 reload it as the first picture"

View 1 Replies

ActionScript 3.0 :: Tips On Building A Better Mouse Cursor

May 22, 2009

Any tips on building a better mouse cursor?The basic implementations of a custom mouse cursors I've found to be incredibly unresponsive. Does anyone out there have any tricks on how to structure the code so that a custom cursor actually updates its position in a more responsive manner?[code]

View 3 Replies

ActionScript 2.0 :: Unable To Make Flash Shorthand Tips?

Jun 28, 2006

As I get into more advanced ActionScript, I start wondering about ways I can write things more quickly. For example, this code

ActionScript Code:
button1.onRelease = function() {
//something

[code].....

View 14 Replies

ActionScript 3.0 :: Array's - Tool Tips To Appear - Alpha From 0 To 1 Using Tweenlite

Mar 25, 2009

I have a panel movie clip that contains six buttons, this panel movieclip also contains a tool tip movie clip for each button, the tool tips just reside inside the panel movie clip not inside the buttons. When the buttons are rolled over I want the tool tips to appear, alpha from 0 to 1 using Tweenlite. Rather than repeating the event handler code I have used two arrays, one for the buttons and one for the tooltips.

So I need to tell flash that when button 2 for example is rolled over, make tool tip 2 appear. The code I have is below, I think I'm nearly there but this errors. Am I right to use switch?

[Code]....

View 6 Replies

ActionScript 3.0 :: Dynamic Sound Generation - Any Tips/links

Jul 30, 2009

I've found a hand full of examples on dynamic sound utilizing the SampleDataEvent... however, I'm looking for any tips / info on wrangling that beast.

I'm looking for anything beyond producing a simple pitch machine - more info than just creating a glorified pitch-changing audio oscilloscope.

View 3 Replies

Flex :: Remove / Clear Error Message Tool Tips On Cancel Button Click?

Jul 2, 2009

I have referred this for creating error message tool tips, to be displayed continuously unless the error is resolved by the user. :: [URL]

But, this is being applied to a pop-up window visualized as a pop-up form.

When the user clicks 'CANCEL' button, I want the error message tooltips if present to be cleared off from the screen. The message tool tips remains on the screen even if the CANCEL button is clicked.

View 1 Replies

IDE :: Optimization Of Complex Graphics?

Jul 28, 2009

making a flash game that has a lot of rather complex illustrator graphics. In the game you walk down a street, so all the graphics has to be moved every frame. In some levels where there are a lot of objects in the street the game starts to lag. after importing it to flash and making a mc of it, break it apart to save flash from drawing all the shapes that aren visible anyway?

View 2 Replies

Flex :: Make List Items As Tool Tips For Combo Box Items?

Dec 1, 2009

How to make list items as tool tips for combo box items?

View 2 Replies

Search Engine Optimization Flash?

Nov 12, 2010

just uploaded my first flash website..and I'm having difficulty working out how to get google to 'see' it.
I've registered the site with google and have a very specific phrase in the <title> tag of the html code but the more I investigate, the more complicated it seems..Can anyone point me towards a step by step tutorial or something to get my site in the top 10 results?

View 5 Replies

Flash :: Graphics Optimization For Programs?

Aug 23, 2010

Is there any program or setting for "pointing" flash programs at my graphics card rather than leaving it to the processor and RAM alone? I am running a specific frontend software that is a flash executable- unfortunately it lags heavily on execution despite the fact that I have a very nice video card installed.

View 3 Replies

ActionScript 3.0 :: Flash Optimization On Mobiles?

Feb 18, 2011

I have read all the documentation and more on optimizations. My question is that if you have to resize sfws for different mobiles is it best to have a res thats the biggest mobile and the rest we can use fullscreen. Or is it best to make a smaller swf and have it size up to full screen. Obviously we are not going to create an swf in 20 sizes. By the way, is it MORE processor hogging for a  mobile to size down a 800 by 600 standard swf than to downsize an swf thats only a little larger than the mobile screen.

View 4 Replies

Professional :: Illustrator To Flash Optimization?

Nov 8, 2011

I'm itching to find the most effective way of importing my illustrator vectors into flash but keeping the file size as small as possible. At the moment i'm literally copying my vectors in illustrator and pasting them in Flash, it clearly works but the file sizes seem really high and its hindering the performance of my fla. Is there a more effective way of exporting? or optimizing the imported vectors once they're inside flash?

View 1 Replies

Actionscript 3 :: Memory Optimization In Air Apps

Apr 15, 2011

I have a simple air app that is deployed on a server. All it does is that it makes a httpService request to a webpage every 5 mins. For some reason, it starts out at out at 25MB memory utilization (Task manager), and every day, it adds about 1MB on top of that. I can't figure out why its sucking up memory. I have an eventlistener for the timer in the initialize of the app.I have read a few articles about memory optimization and best practices for air app development. They say you should remove the event listeners after they have fired. But if I do that, the timer will not fire any functions after it fires once.[code]

View 2 Replies

ActionScript 2.0 :: [FMX] Processor Usage Optimization?

Oct 20, 2003

I have a script as follows attached to an MC that is pretty processor intensive (well, that is when the MC is duplicated 30 times). I'm looking for some input from people on how to possibly optimize this to cut back on how badly it lags the rest of the movie. My computer is quite powerful but it still shows performance issues with this script:

[AS]
onClipEvent(load) {
//size of purpleCloud's active area

[code].....

View 3 Replies

IDE :: Best Search Optimization For Flashed Site

Jun 28, 2005

I have a client that I built a wonderful flashed site for (html page embedd). It isn't getting any attention on google compared to other completely html based sites. How can I tweak this situation for more google searchability?

View 14 Replies

ActionScript 3.0 :: Drawing In Bitmap Optimization?

Feb 11, 2010

today i started some particle generator class that will move particles over the stage via drawing in a Bitmap. Everything works well with low amount of particles, lets say 1000, but for my surprise when i added 10 000 particles the frame rate dropped drastically. And i am saying that since i made the same particle generator using MovieClips instead of drawing in Bitmap, the performance test i run on both classes showed that the Bitmap class with 10K particles on my PC works in around 10-12 FPS, and the MovieClip variation in around 20-21 FPS with the same amount of particles. The particles are identical and both classes are using linked list system to move the particles. So the only logical conclusion is that something is not right with the drawing function.

Code:
private function drawParticles(e:Event):void{
// clearing the _pZone Bitmap of the previous data
_pZone.bitmapData.fillRect(_pZone.bitmapData.rect,0);
_pZone.bitmapData.draw(_blankMc);

[code]...

View 1 Replies

Media Server :: Optimization Of Live Streaming?

Aug 25, 2010

I have live streaming but problem is that it is stopping and continues every 2-3 second, I do not know which issues causes it.

View 3 Replies

Professional :: Performance Optimization Vector Vs Raster?

Jan 28, 2011

I am trying to improve the frame rate of a game that draws many floor tiles. Currently, the floor tiles are vector graphics and stored as different frames in a movie clip. I wanted to experiment with rasterizing a floor tile and seeing if that would provide any frame rate boosts. I did this by converting one of my tiles (one of the frames in my movie clip) to a png and replacing the vector version of this tile with this raster version. I then tested two worlds--one filled with tile A (vector) and another filled with tile B (png).
 
In all my tests, world with tile A (the original vector version) outperformed the world with tile B. I am guessing that the reason I am not getting the expected performance gains is because I am still rendering the tiles in the old style and not using any strict bitmap drawing calls?why it is that this method fails to boost rendering speed? Would I have to switch my rendering code to strict bitmap draw calls?

View 7 Replies

Search Engine Optimization Of Flash Websites?

Jun 16, 2009

What are people using to increase their natural listing or rankings in search engines, etc for their flash websites.

What methods or ways are people using to search Engine optimize their Flash websites. Are people building their Flash website a certain way for SEO?

View 2 Replies

Gpu - Enabled Hardware Optimization (wmode) From Haxe?

Dec 11, 2009

It is possible to enabled hardware optimization (wmode) from haxe?

View 1 Replies

Performance :: Optimization Techniques For Flex Applications?

Oct 9, 2011

We are starting to build a Flex 4.5 application (with LCDS) and a Spring/Hibernate based backend.In this context, is there a well-known list of overall performance optimization techniques that one could follow to ensure optimal performance on the client (flex) side? - especially, given that we anticipate users with poor bandwidths

View 1 Replies

Flash 10 :: Video File Size Optimization?

Aug 13, 2010

we are doing a seamless interactive video-game-video project, but are having optimization problems. Because the client wants a full-screen option for both the video and game segments, our file size is too big. Any advice on how to minimize load time yet retain a relatively high-quality image standard? The h.264 image quality, but there are licensing issues, and we need the transparent alpha channel for the video segments.

View 1 Replies

ActionScript 3.0 :: Remove Images From Library(optimization)?

Apr 15, 2011

I got 30 letters(.jpg) added to my library, I made 30 movieclips which are instances of these letters. 30 jpgs make my compilation last long. I tried some different things such removing these and some others tricks but it doesnt work ,because the instances behave strange.

View 4 Replies

ActionScript 3.0 :: Nested For Loops Optimization / Replacement

Mar 18, 2010

I have a program where I have around 100 LatLng (latitude longitude) points, and i have to get the largest distance between any 5 of them but you can only go forward (so if latlng_1 is the point number 5 latlng_2 can only be point number 6,7,8,....,100).
<-- skip the colored thing if its unclear
So I calculate the distance like this:

Code:
Select allfor(i=0;i<points_num;i++) {
for(j=i;j<........
// three more for loops
// and than calculate the distance between all five points and compare if it is larger than previous...

The problem is that the program stops responding for about 2 minutes to calculate this and I would like to know if there is anything I can do to calculate this thing faster? Yes I can reduce the point but than the thing I want to get is less accurate and even if I reduce the points I still want the calculation to be as fast as it can be.

View 2 Replies

ActionScript 2.0 :: Processor Speed Detection And Optimization?

May 3, 2005

i have heard that there are ways to detect how fast the processor is or something like that, and then set certain settings or something within flash, that will basically optimize the performance of the movie so that it works better with the computer it is being viewed on...i really dont know how to describe what im trying to find exactly, i was just wondering if anyone had any thoughts on this, or knew where to find more information about this task.basically, i am starting to design stuff that is really intense, and i need to figure out how i can optimize it better.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved