ActionScript 2.0 :: Usage Of The Delete Method?

Jan 3, 2007

usage of the delete method?

In all my years of flash programming I've never come used it .

View 7 Replies


Similar Posts:


ActionScript 3.0 :: Proper Usage Of LocalToGlobal Method

Sep 13, 2010

What I'm having the problem with is the proper usage of localToGlobal method. I have the hero mc, I put into it another mc called 'weapon'. Now, in the game, I want to fire a projectile and set it at the x and y of the weapon. The question is, how can I access the absolute x and y of the weapon.

View 3 Replies

Flash :: URLRequest - Send A Delete Method From Player (Flex)

Jan 14, 2010

Need to find a way to send a delete method from Flash Player (Flex). Currently it's not done by default (except for from AIR), but I am sure someone has augmented the URLRequestHeader to get it to work properly. I've tried this, it isn't working:

[Code]...

View 2 Replies

Flex :: Flash - Total Memory Usage And TaskManager Memory Usage Are Different?

Aug 24, 2010

I wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of the application.

View 2 Replies

ActionScript 2.0 :: Delete Instance Of Class From Class' Method?

Dec 28, 2005

I have a class called Unit. When I use this class in a .fla file, I create it by saying:

var unit00:Unit = new Unit(...);

So then it creates a gfx representation of the screen for me. I would like to have a method like this:

PHP Code:

[code]....

So how do I get this to work? I know that delete this will not work when defined inside the class. How do I target the .fla's instance name when I don't know what it will be called?

View 10 Replies

Actionscript 3 :: Making A Delete Button To Delete Text In The Inputtext Field

Nov 12, 2010

I got these four errors when I tried to create a button on the stage that would delete the text I inputted in the inputtext(ti). Based on the scripts I have and the errors, what should I write to create the delete button?

[Code]....

View 2 Replies

Flex :: Combobox Backspace Or Delete Key Does Not Delete Highlighted Text

Mar 26, 2010

I am implementing a flex auto-suggest combobox - as the user types in each character: Consider the string 'Stackoverflow' and user input = 'st'

1) the data provider is filtered to show all items starting with 'st'
2) text is set to auto-suggest string such that the un-typed part is highlighted.

So for instance, the combobox text may contain st'ackoverflow', where 'ackoverflow' is highlighted using setSelectedIndex()When I hit back-space or delete, and check the 'this.text' value, I expect that the last un-highlighted character ('t' in the above case) gets deleted and the data provider is filtered to show all items starting with 's'. However the text property contains 'st', as before

View 2 Replies

ActionScript 3.0 :: Multiple Textbox At Run Time - Delete A Textbox By Delete Key

Jul 30, 2009

i have ade moultiple textbox at run time now i want to delete a textbox by delete key how it is possible .

View 4 Replies

Xml :: Flex - Nodes Will Not Delete Despite Calling "delete"?

Feb 9, 2011

I'm trying to use the delete keyword to remove nodes from an xml file and it just plain won't work.Here's a stripped down example of what I'm working with. Every node has a child named "deleteme". If its value is equal to 1 I want to remove it from the xml file. If its anything else I want to leave it be. The delete method is deffinately gettig call but it's having no effect.

<?xml version="1.0" encoding="utf-8"?>
<stuff>
<i>

[code]......

View 1 Replies

ActionScript 3.0 :: Delete A Mc With Delete Key?

Sep 17, 2009

i have A,B,C,D moveiclip
  
now i want to delete a mc with delete key .if i select A then press delete key it will delete .

View 4 Replies

ActionScript 3.0 :: 1180: Call To A Possibly Undefined Method Error For DEFINED Method

Nov 19, 2010

I am getting this error: 1180: Call to a possibly undefined method startWorld.but the method startWorld is defined as you can see in attachment.

View 4 Replies

ActionScript 3.0 :: Record Usage Of An App?

Feb 22, 2011

I'm looking at finding a way of recording the amount of times a swf is loaded or a button pressed with the aim of giving a client feedback about how their product is used.Basically I am creating a touch screen app for a client which will contain a couple of hundred images and the client would like to keep track of which images are loaded in and how many times.

I looked at Mochibot which seems good however I don't think this app I am building will be connected to the Internet. So that's not a viable option. So is it possible to output something locally? Which will get added too every time the app is used. Even if the computer and app are restarted?

View 2 Replies

ActionScript 3.0 :: CPU Usage 60%+ With Flash?

May 25, 2010

Currently when I load my presentation that I have just recently created and testing I'm getting a HUGE spike in my cpu usage. 
 
I'm running an i5 2.4, and it's nearly taking up 100%, a friend of mine is running a core 2 duo and it's taking up 100% of the cores.
 
What is a proper way to optimize for these occurances? I don't have any preloaders up and running yet.
 
Here is the link to the site.
 
[URL]

View 1 Replies

Flash :: Professional - New (10.1) And GPU Usage (0%)

Jun 15, 2010

I'm user of relatively weak computer (pentium IV 3.0 with hyper-threadingiem) but with a bit newer graphic card - asus radeon HD4650I'm not big new games fun, I'm useing my hardware most to internet access so I would rather not to buy new computer in the near future. But also I would like to have possibility to watch flash movies fluently on full screen (eg. youtube, video streeming). Unfortunatelly, till now, it was pretty weak. I got hope that afther new flash release (lately), which should use computing power of graphic card and making CPU work lighter.

Unfortunatelly, afther flash update (10.1) I haven't noticed any changes - everything work in the same way (not fluently) as at old flash. CPU usage is still ca.100% and GPU usage is 0% (I can see it in control panel) What is wrong? Is it this version of flash what should use GPU or it is not yet? Maybe I should configure something more? Or is it possible that I made something wrong? I've tried few times, made lots of work and combinations (instaling and reinstaling different versions of flashs, graphic card drivers, browsers changing etc) and still nothing.

View 1 Replies

ActionScript 3.0 :: Concerning CPU Usage For Games?

Apr 7, 2011

I have a question concerning CPU usage for games. What do people consider as an average or 'acceptable' amount of cpu usage for a game I've created a few different games, some which are more database driven have a very low cpu usage and small size.. others I've seen go up to 80% cpu usage..
 
I do try to keep a careful eye on this (I mean 80% of one core, of which I have 8.. I'm not sure how this will reflect on a single core/processor machine) but it does really concern me because as soon as I add an 'enterframe' function, spin something around or create a fair size animation it piles on the intensity to the cpu.. are there any professional tips anybody could offer me please ? I really want to make the web a better place for others by not overloading their computers

View 1 Replies

Actionscript :: Get CPU Usage In Flash?

Feb 25, 2011

Is there some way to get the cpu usage in flash or adobe AIR?

I'm using ActionScript 3.0 and flash CS5.

View 1 Replies

ActionScript 2.0 :: What Is A Usage Of Prototype

May 8, 2002

i don't understand the usage of prototype.

View 4 Replies

ActionScript 3.0 :: Reducing Flv CPU Usage?

Sep 3, 2009

I am making a websites with fairly large videos in the background.The site is extremely heavy for the cpu and I was wondering if any of you guys know a trick on how to make flv streaming less heavy.Here are all my specs :

Large flv (920 x460), with alpha channel (transparent background), Max data rate:300kbs,
codec : On2 VP6 encode alpha channel, framerate : same as source.

Using progressive download

Video plays in a flvplayback instance nested in a swf that is loaded and added to the stage by an other swf.

Embed in the html page with swfobject, wmode = opaque.

Movie playing at 31 fps.

View 1 Replies

Actionscript 3.0 :: Make A Public Static Method Call Another Method, But Flash Throws Error 1180?

Feb 19, 2010

I'm tryng to make a public static method call another method, but Flash throws error 1180, sayng that the method called by the static method is undefined.

Code: Select allpackage
{
import flash.display.MovieClip;[code]....

View 2 Replies

ActionScript 2.0 :: Convert A Fortran Method To A Macromedia Flash Method

Dec 23, 2010

i have a fortran method which creates random numbers. i want to convert this method to a flash method . I want to get numbers from this method and use them in the delay method of flash.

the fortran method is the folowing

real znew1 , zold1 ,a,m,z1,p,TIME1
a= 16807.
m=2147483647
B=2

[Code]....

View 7 Replies

ActionScript 3.0 :: Overcasted Superclass Method Not Triggering Subclass Method?

Feb 1, 2011

I have a class called Animal that has a method foo() and I call it out within the Animal class.

Code:
protected function foo():void
{
trace("Animal");
}

I also have a class called Cat that extends Animal and overrides the method foo()

Code:
override protected function foo():void
{
trace("Cat");
}

However when calling the function foo() from the superclass it traces out Animal not Cat (using a Cat object).How can I make superclass call out methods in the subclass?

View 14 Replies

ActionScript 3.0 :: Static Method Accessing Instance Method?

Sep 14, 2010

two classes, both extend EventDispatcher. Static method in 1st class calls instance method in 2nd event not getting caught. [code]also, since dispatchEvent() is an instance method, is there any way of calling it without first instantiating the class? i expect not.

View 2 Replies

ActionScript 2.0 :: F8 Mouse Wheel Usage

Feb 25, 2009

I would like to use the mouse wheel with a quiz I've been making.I have it set up so when you roll the mouse up it goes to the next question and when you roll it down it goes back to the previous question.It isn't working as I would like though, It doesn't scroll through increments of 1 - theres 50 questions in the test and its scrolling through them like this 1,2,4,8,16,32,FinishedIf anybody knows a way I could use the mouse wheel to scroll through the quiz.

View 2 Replies

ActionScript 3.0 :: Right Usage Of Cyrillic Fonts

Jan 22, 2009

I've many unicode russian (cyrillic) fonts installed on my mac. When i type message like "T" type-tool - they show russian letters. When i embed it in Library like Font class, 50% of my fonts doesn't show russian letters.

View 1 Replies

Professional :: Interactive 3D Flip - CPU Usage ~50%

Feb 13, 2010

in the "Interactive 3D Video Flip" tutorial i take the cod and applied to my stuff I noticed that when the page was rotated the Flash player consume 40-50% from my CPU , how it's possible? the animation it's finish but the CPU it's 40-50% used . tested in mozilla and IE and from Flash ( when i test the movie) Pentium 4 and athlon 64 X2 tested!!!.. windows 7 last version of flash player 10.045.

[Code]...

View 2 Replies

Php :: Post Param Usage For SWFUpload?

Nov 29, 2010

how the post_param is used in SWFUpload. i need the value for name='batchid' loaded when i submit. this is what the example doc shows

post_params : {
"post_param_name_1" : "post_param_value_1",
"post_param_name_2" : "post_param_value_2",

[code].....

View 2 Replies

Flex Application Memory Usage?

Mar 4, 2011

System.totalMemory gives the total memory used by the flash player and not one particular application. Is there any way I can get the flex application's memory usage in code/actionscript?

View 3 Replies

Basic MovieClip Usage In FlashDevelop

Apr 6, 2011

I'm just started doing 'hands-on' learning of Actionscript 3 using FlashDevelop. I've now managed to subclass a sprite, load a graphic from the library, and manipulate it around the stage. Next step is doing the same with a MovieClip, but it doesn't seem to be as simple. Basically, I want a simple subclass of MovieClip, that uses a SWF that I created & exported in Flash CS5 (anything else that can create them?), and then added it into my library in FlashDevelop.

In my 'Main' class, I want something like this:
package {
import flash.display.MovieClip;
import flash.events.Event;
public class Main extends Sprite {
private var myClip:MovieClip;

But that says the child is null, and I'm not sure I should be creating a 'new' MovieClip inside my sub-classed MovieClip anyways.

View 1 Replies

ActionScript 3.0 :: Flash CS3 Memory Usage

Jul 6, 2009

How much memory in bytes can Flash normally handle? I have a fairly involved program that is running at 39MB usage and now may be causing some memory issues (I'm not sure it's the memory, since it was running smoothly up until I made a few code changes and now Flash freezes after making those changes). But anyway, I have been wondering about memory usage and Flash CS3 and felt like this was a good topic to dicuss. Is there a way to force an increase in available memory for Flash?

View 2 Replies

ActionScript 3.0 :: What Is An Acceptable Amount Of CPU Usage

Jul 17, 2009

I'm building a media player with alot of tweens in the interface , I'm wondering what is common or exceptable in the professional flash community.When I tween the whole Interface into another view firefox spikes to 12 - 16 cpu on a 3.01 GHz duo-core. Is this normal? acceptable? After the tween Firefox flunctuates between 2 - 8 cpu while idle.

View 6 Replies







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