ActionScript 2.0 :: Determine Users DL Speed?

Dec 26, 2003

Must be all the christmas festivities that have shut my brain down for today. Anyone got some code, working or suggestions for working out users download speed?

View 6 Replies


Similar Posts:


Flex :: Adobe Flash: Determine Users CPU Characteristics?

Apr 19, 2010

Adobe flash: How to determine users CPU characteristics? (its mhz, its current ocupation) I need to know how fast is users computer now, and I have only 150 ms for it. How to do such thing in actionscript?

View 2 Replies

ActionScript 3.0 :: Calculate Or Determine The Mouse Speed On The Stage?

Dec 5, 2009

How would you calculate or determine the mouse speed on the stage? What i am trying to do is this:

You have a custom cursor which shows a plus sign when you very suddenly and fast change the direction of the mouse to the right. When you do the same to the left, the cursor changes to the minus sign.

However, if you steadily move the mouse from left to right while the mouse cursor is showing the minus sign, the mouse cursor stays the same, only on very fast change of direction the cursor changes?

View 9 Replies

ActionScript 3.0 :: Determine Speed Of Mouse When Moving The Cursor Back And Forth?

Jan 2, 2010

I'm working on a Curling game and have a broom moving back and forth based on the mouseX position. Although I thought it would be as simple as recording the current broom position vs. the previous broom position that's not the case. This is because when you move back and forth the current and last postion may be at the very same point, like the center of the screen, depending on when exactly the mouse position is recorded. So, moving the mouse very slowly may give the same result and moving the mouse super fast where the x coordinate just happens to be recorded at or near the same point.

I tried using both an enterFrame event and a timer. Both yielded essentially the same results. I can't think of a way around this off the top of my head. Is there another way to record how fast the user is moving the mouse back and forth?

View 2 Replies

Actionscript 3 :: System Time Determine Animation Speed / Not Program FPS

Mar 26, 2010

I'm writing a card game in ActionScript 3. Each card is represented by an instance of a class extending movieclip exported from Flash CS4 that contains the card graphics and a flip animation. When I want to flip a card I call gotoAndPlay on this movieclip.When the frame rate slows down all animations take longer to finish. It seems Flash will by default animate movieclips in a way that makes sure all frames in the clip will be drawn. Therefor, when the program frame rate goes below the frame rate of the clip, the animation will be played at a slower pace.I would like to have an animation always play at the same speed and as a consequence always be shown on the screen for the same amount of time. If the frame rate is too slow to show all frames, frames are dropped. Is is possible to tell Flash to animate in this way?

View 3 Replies

Media Server :: Determine How Many Users Can Connect Or "join"

Aug 13, 2009

I know there is a way to determine how many users can connect or "join"( in a manner of speach) per second, and how to set a maximum number of users in the queue to join, this does not mean though, that the server will reject all or any petitions after a certain number of players are connected or viewing a stream, which is what we need to do. anyone know if its possible to do this and how?
 
in other words,we need to set a limit on how many users can be watching a stream at any given time, be it by stream or by server, it matters little, we just need to get it set..

View 2 Replies

Media Server :: Determine How Many Users Can Connect Or "join"( In A Manner Of Speech) Per Second

Nov 26, 2009

I know there is a way to determine how many users can connect or "join"( in a manner of speach) per second, and how to set a maximum number of users in the queue to join, this does not mean though, that the server will reject all or any petitions after a certain number of players are connected or viewing a stream, which is what we need to do. anyone know if its possible to do this and how?in other words,we need to set a limit on how many users can be watching a stream at any given time, be it by stream or by server, it matters little, we just need to get it set...

View 3 Replies

Professional :: Change Speed Of Symbol Without Changing Speed Of Entire Movie?

Aug 7, 2010

I want to add an animated .gif file to my movie.  So I created a new symbol and then imported the .gif file to the stage.  This created the symbol containing the animated .gif.I dragged the symbol onto the scene where I want it.  However, the animation seems to play at a different speed (fps) than normal.  So I changed the fps of the symbol (at bottom of Timeline where it says "fps").  But for some reason this changes the fps of the rest of the entire movie.

View 3 Replies

Flash :: Adjust The Speed Of The Tween To Ensure A Consistant Speed Regardless Of The Value Of StartX?

Dec 13, 2009

I'm tweening a movieclip from startX to finishX. The value of startX varies but finishX is a constant. But as the startX increases in value the animation appears to be quicker. How do I adjust the speed of the tween to ensure a consistant speed regardless of the value of startX?

View 1 Replies

ActionScript 2.0 :: Change A Songs Playback Speed Depending On A Speed Variable?

Jul 24, 2009

is there anyway to change a songs playback speed depending on a speed variable. heres the kicker tho im limited to using only as2.

View 2 Replies

ActionScript 2.0 :: Increasing Enemy Speed /cannot Seem To Change Speed

Mar 23, 2010

I have a movie clip on my scene which has a speed applied to it making it move across the screen. This is duplicated when it reaches the other end of the screen.On my scene I have some action script which is acting as a timer. After a set time I want it to increase the speed of the movie clips, making the game become "harder". I seem to be able to manipulate the alpha of my movie clips but can't seem to trigger the speed increase.If i use a setInterval it seems to trigger the speed increase but it does it each time the movie clip is duplicated (so the delay resets, it does not change once and apply throughout)However, where I am changing the alpha I cannot seem to change the speed.

View 2 Replies

ActionScript 3.0 :: Detecting Mouse Speed And Put Speed Limit?

Sep 20, 2009

How can i detect mouse speed with AS 3.0, and then put speed limit? Also can i use speed var for anything else? *sorry for my bad English, i live in non-english-speaking country*

View 9 Replies

ActionScript 2.0 :: Detect A PC Speed Our Cpu Speed?

Jul 16, 2005

How can I detect a PC speed our cpu speed with actionscript?

View 1 Replies

Have Multi-users Online?

May 27, 2010

Example: If my SWF has a simple 2D charactor sprite, which moves around on a 2d background... What will I need to make it so that a player has to create an account and sign in, and then others can do the same and they can all see each other in the room. I have been unable to find resources on what it takes to turn a flash game into a chatroom or an "MMO".

View 3 Replies

Professional :: Some Users Are Getting No Data?

Apr 18, 2011

We are having some issues with some Flash on our site. Some users are getting no data in the blue arrow and the water rises to the top (see screen shot) when they bring up this page [URL]This is the actionscript that we are using
   
var levelVar:Number; if (_level0.inLevel == undefined) {     levelVar = Number (0); } else {     levelVar = Number (_level0.inLevel); } if (levelVar <= 2007) {     gotoAndPlay ("fr2007");     m2007_mc.t2007_txt.text = levelVar; } else if ((levelVar <= 2017) && (levelVar > 2007)) {     gotoAndPlay ("fr2017");     m2017_mc.t2017_txt.text = levelVar; } else if ((levelVar <= 2027) && (levelVar > 2017)) {     gotoAndPlay ("fr2027");     m2027_mc.t2027_txt.text = levelVar; } else

[code].....

View 2 Replies

Determine When Someone Is On With Flash?

Sep 27, 2010

I want to update a row in mysql when a user uses an application with flash. And when they exit that application, I want to change the row to reflect that the user has left. Is there a way to do this easily? Currently, I'm thinking of writing a connection manager with sockets.

View 1 Replies

ActionScript 3.0 :: Controlling The Users Pc And Mac Volume?

May 31, 2011

I've been asked to hard code in playing the video at full sound. I'm using the flash video component and I have several videos where the sound needs to be played at full volume. I have set up the actionscript to play flash full volume and taken the volume control off the skin but I want to know if its possible to get flash to control the users computer volume too?

View 4 Replies

Professional :: Output For Both MAC And Windows Users?

Sep 19, 2011

I have Flash CS5 for MAC OS10.6.
 
I created a project for internal use that will be saved to an internal server. I would like both MAC and Windows users to be able to access the files for viewing.

View 1 Replies

Limit Users And Bandwidth Per Vhost?

Oct 17, 2011

I'm testing HLS and HDS right now and i'm wondering how to limit users and bandwidth per virtualhost. I mean in rtmp mode there is the vhost.xml tag far max users and the Application.xml tag for Bandwidth limit, but for http connections (either live or on vod) where can i limit connections or bandwidth?

View 3 Replies

PHP :: Mapping Login Sessions To Users

Jun 26, 2009

When I login a new session is generated. How can I later know for which login the session was generated? I am getting the session value, but how do I know which user the session is for and redirect him to that page?

View 1 Replies

Php :: Hiding Xml From Users While Passing It Into Flash?

Oct 29, 2009

We have a little in-house LMS with courses built in Flash. Scores are updated and retrieved with POSTs to PHP scripts which query a MySQL database. All the course content and quiz questions are in xml files. Those XML files are easily accessible from a user's Temporary Internet Files (sort of SCORM style, for those familiar with it) and while you'd have to be pretty desperate to cheat at something like a Fire Safety test, it's still a vulnerability we'd like to solve.

I intend to move the quiz data (and eventually, the course content) into a MySQL database, then probably build the XML in PHP and echo that to the Flash course (as we've been doing to update and retrieve assessment scores). I think I could limit how and when the xml is displayed by passing hashes and shared secrets and whatnot between the PHP page and Flash, but this only limits outside access, and anyone viewing the course legitimately will still see the XML passed around (I think..).

Surely I'm not reinventing fire here. Is there a method or a technology in existence that allows the safe, discrete passage of xml into Flash?

View 1 Replies

Flex :: Control Which Users See Which Videos

Nov 27, 2009

Imagine you have a large number of video files stored on a server, and a Flex app which lets users play those videos they have access to. How can you best set this up? Wouldn't the Flex app just be sent the name of the video to play... in which case couldn't someone else write another flex app if they knew the file names? Can Flex play videos hosted on other sites? Is there some clever piece on the server I'm missing, which sits between the Flex video player and the files?

View 3 Replies

Best Way To List Online Users With PHP But Without MySQL?

Apr 21, 2010

I want to make a script that will list online users when they enter a page.Simple way is record newly entered users into MySQL and list them for example every second.But I don't think it's a good idea with tons of users like in a facebook app come in and out of the page.There would be a way with Flash and PHP sockets but I really don't want to use Flash either.So is there any option left?

View 2 Replies

Flash :: SQLite With Actionscript (AIR) For All Users

Sep 27, 2010

I would like to save settings for an AIR application to a local SQLite database. Wherever I read, it's recommended that you use File.applicationStorageDirectory to save the database file.

My problem is that in most cases, the AIR application will be first started by an administrator that configs and setup the application (and save the settings to database) and later used by different users. And what I would like to know is if there is possible to save the database to a location that every user can load it from? As I understand it, File.applicationStorageDirectory points to the user directory? There is probably possible too make the admins set correct permissions and stuff, but I don't want to make it difficult too install...

View 2 Replies

Flex :: Load Different Menubars For PC Vs Mac Users?

Jan 7, 2011

Each entry in the menubar for my app contains a shortcut key suggestion (e.g. Undo (CTRL+Z)). Is there an easy way to dynamically customize the suggestion string depending on whether the app is being used on a pc or on a mac?

View 1 Replies

Php :: Automatically Log-Out Users When They Close Their Browser?

Apr 26, 2011

I'm using PHP as server side language and Flex as Front end. In my application there are different levels of users. According to operator's online status QC assigns some job online. I just want to update user's online/offline status when he closes the browser automatically. Flex calling PHP service but its not getting any response. DB(MySQL) is not getting updated.

View 3 Replies

Flash :: Users Cannot See Videos On Website?

Jun 27, 2011

The users using my website say they can't see the flash videos on the website, even after downloading the latest version of Adobe flash. May there be any reason for this ?

[Code]...

One of the users that the videos do not run for him has Windows operating system & Internet explorer browser.
I've put a check in the videos page to check if the user has the required flash version installed or not to run the video, but even if that user installs the latest flash version he keeps getting my check message, as in this screenshot: [URL]...

View 2 Replies

Flex :: Osx - Cannot Retrieve The Browser URL For Mac OS Users

Jul 20, 2011

I'm developing a very simple flex application on Windows 7 64 Bits.It retrieves the user url and then show it:

public var bm:IBrowserManager;
protected function button1_clickHandler(event:MouseEvent):void{
bm= BrowserManager.getInstance();
bm.init();
Alert.show("Your URL is : " + bm.url);
}

On my Windows 64 Bits machine (Chrome, FF), it works fine and returns the URL.But, when I run my project on a Mac OS X machine (Safari, Chrome, FF) : it shows:

Alert.show(Your URL is : Null);

I think that it cannot retrieve the browser instance or cannot init the browser manager.

View 1 Replies

Prevent Users From Downloading The Fla File?

Sep 13, 2007

How do i prevent users from downloading the flash file and use them on their own site? there must be some way..

If not, can I atleast prevent them from connecting to my php files?

View 0 Replies

Flash 9 :: Users Seeing All Frames Without Regards To Stop();

Aug 13, 2008

I made a game with Adobe CS3 and posted it on the internet, and some users (very few, but some) have reported that the game doesn't work, it just runs through every frame without regards to stop() or anything else..

It's at 50fps, which might matter, and it's located at [URL] if you may need to take a look at it.

I just need to know if this is something that I can fix on my end, or if these people may need to update their flash player or what else it might be?

View 0 Replies







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