Actionscript 3 :: Filter Out Random People From The Active User
Sep 21, 2011
I am designing a game that will be at a tradeshow which means lots of people walking by. The problem it seems is that once kinect sees you "New user" even if you are just strolling by it seems to kill or mess up the ONISkeletonEvent.USER_TRACKING data when that user is "LOST".
This thing needs to ship end of week. I thought I could handle this by assigning an activeUserID and filtering based on that but it just doesn't care. When it "LOST USER" it is game over even if that was just someone watching and then moving away.
View 1 Replies
Similar Posts:
Feb 12, 2012
I have a xml list here. I want to filter out the players by the active tag. All players where the active tag reads "No" I want to delete so that the list only has players with the acrive tag reading "yes"
[Code].....
View 1 Replies
Feb 18, 2011
I need to implement some sort of data locking in a Flex application I'm developing. A user clicks a specific button to "check out" the data set, and other users must wait until they are finished before they can make edits. After a period of inactivity, the application will release the lock to someone else.What I'm after is an easy way to determine if the user is still interacting with the application so they don't have to manually keep clicking "yes I want to continue editing". For example, I could handle all mouse clicks for the entire application and add 5 minutes to the timeout every time they click something. Are there any better options for doing something like this? Is there something built in to check for last interaction time?
View 2 Replies
Jan 14, 2011
I am new to actionscript 3. I have created buttons with up/over/down states. The button changes colour during the over/down frames.How do I keep the over or down state active until the user clicks another button?
Right now when the user puts the mouse over the buttons, they change colour, but it goes back to the original colour once they click off. I would like it to remain on the changed colour so that the user remembers which button s/he's pressed until the another one is clicked.I came up with the following code in actionscript 3 and got it to partially work:
ActionScript Code:
btn1.addEventListener(MouseEvent.MOUSE_UP, startTransparent)
function startTransparent (e:MouseEvent):void{
btn1.alpha = .6;
}
So when it's in the down state, I get the transparent state and stays there. But how do I get it back to normal when the user clicks on another button?
View 7 Replies
Jul 13, 2010
First of all, props to Informatik at Actionscript.org for the following code. This is a profanity filter that will perform an action when it detects a word from an array. The problem is, it fails when the user enters only a single word:
Code:
var filteredWords:Array = new Array("apple", "grape", "orange", "watermelon");
submitBtn.onPress = function():Void{
if(checkFilteredWords(inputText.text) == true)[code].....
The code uses split(" ") to detect a space which is obviously causing the problem of failing to detect one word offenders. But without this, the filter would detect profanity in a word like "assets".
View 13 Replies
Mar 10, 2011
I looked at the following example in the AS3 Reference: [URL] It is unclear to me looking at the package example how to apply this in standard ActionScript 3 without packages to a Movie Clip resident in my Library that gets called at RunTime. how I would push the DropShadow filter onto my Movie Clip at RunTime?
View 6 Replies
Jul 15, 2009
To achieve a zoom effect in our 2D flash game, we make the background of the game much bigger than the visible stage. This becomes a problem when the background is complex or when we apply a grayscale filter to the background. Is there a better way to do zoom? Or, is there a way to apply the filter to only a specific area of a movieclip?
View 2 Replies
Sep 4, 2010
i have been trying to write a multi player bingo game, i have got passed all problems, except 1, the random function, the random function works fine with 1 player but when i play the game with more than one user each user will get different numbers and not the same numbers. how would i do it so all users get the same number is there a way where i can shuffle 90 numbers then load them into a movie clip then all users play the movie clip then all users get the same number is this possible or is there a simple way. I have also tried getting random numbers from php mysql but get the same problem,
View 6 Replies
Jan 18, 2012
im working on my own site im lost though i copyed and pasted so much but i cant seem to figer somthing out.i have a members sys sitting on a few frames every thing works. but the profile button, i have a total of 11 buttons that are working. i coppyed them put them all on 1 frame with there own instances that contain 3 frames?the first frame is the not active frame the 2ed is the active and 3ed is blank so it wont show. so my login code at this point is
ActionScript Code:
//Button Functions
signupBtn.onRelease = function() {[code]...
View 0 Replies
Jan 24, 2012
I am having a really frustrating problem with creating 2 random numbers. When I run the program, everything works fine, until I hit my object and go to the screen "math". Once there, all it shows is one number in one of the 2 boxes. Below is the code used to generate the numbers. I used the "trace" command to see if it was actually generating the numbers, and it is. The problem seems to be with pushing that number into the variable and displaying it to the user.
[Code]....
View 5 Replies
Aug 29, 2005
I am using flash mx 2004 and i have made a scene 10 by 10 pixels with 100 * 1 pixel by 1 pixel square movie clips (MC name: pixel) placed next to each other, understand? I hope so .Basically i would like them to change colour etc when a user presses enter.under properties there is a bit called Color then there is a drop down box and in here there is a bit called advanced.If you fiddle around with these setting you can alter the color, brightness, etc of an MC.Can actionscript alter these so when a user presses enter each induvidual pixels properties changes to something random?
View 4 Replies
Mar 26, 2009
I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?
View 2 Replies
Feb 10, 2011
I want to know how to write "Intercepting Filter Pattern" like Java's servlet filter in Flex.
And I want to insert it into the classes which have a role of server communicating.
View 1 Replies
Jun 11, 2009
I do a lot of all Flash sites, and sometimes I have problems getting the latest update to show on everyone's machine because of temporary internet files. Is there a way to force people to re-download the SWF?
View 2 Replies
Apr 13, 2009
Is there any way I can put a paragraph that people can copy and paste?
View 4 Replies
Mar 26, 2010
I have an fms app which won't disconnect people in IE unless they close the browser completely. Simply going to another url in the browser leaves their name in the peoplelist. I've tried everything here without success. Even IE 8 shows same problem on Vista. IE on XP works fine as well as some versions of IE on Vista.Firefox, opera, chrome all work fine everytime.The problem, it seems, is IE won't "leave" pages until it's closed no matter what.
View 3 Replies
Dec 14, 2010
I really want to attempt in making my own game kind of like Farmville. I know most of the actionscript, but I do not understand how they make the artwork. I try to make those isometric art in photoshop and stuff, but it's almost impossible for me. I use a tablet.So I'm wondering how do so many people make that art work so easily?
View 1 Replies
Jan 6, 2010
[URL] I came to hear that many people cannot load the site entirely. I cannot reproduce the problem as it works for me with all kinds of connections (even a crappy usb modem in Indonesia!). I've asked friends all over the world to check it and they have had no problems. But I've also recevied e-mails from completely unrelated people from different parts of the world, using different OS and browsers, that it will only load to 66% and then gets stuck. The site was made with adobe flash cs3 and exported for flashplayer 9 (and I've tried it as fp6 too). The file in question is on [URL]
View 5 Replies
May 19, 2010
I have a website running with embedded .swf files. Someone keeps stealing them and uploading them to their own webpage. Is there a a way to prevent this from happening?
View 1 Replies
Sep 16, 2011
I would like to know if it's possible to use Flash/AS 3.0 to create a website acessible to blind people. Using for example, the native text recognition from Windows or Mac. What I have to do to make this possible? Making HTML text is enough?
View 2 Replies
Dec 11, 2009
I am trying to create a Flex application with a shared viewing experience for users watching video. Specifically, there are a group of users in a virtual room, and one of them is the remote holder. One approach is to have everyone have a video player, and then use our own protocol sent among the different Flash player instances to make sure people are in sync (we have our chat routed over XMPP for the people in the room).
However, we were wondering if there was a simpler way to do it using Flash Media Server. Is it possible to create a synchronized viewing experience in FMS where everyone is always at the same point in the video? And is it possible for 1 person to then have control over that stream (e.g. pause, play, seek, etc.) for everyone connected to that stream?
View 3 Replies
Jan 30, 2010
I can code things fine myself but I've never used anyone elses code components to build something. I need to make a magazine that has a page fli effect and someone pointed me to Rubens flex book component (I'm assuming I can use it with flash). I've downloaded the zip file but I'm not sure how to actually start making my book. Everything is in different folders, because I assume they all are interlinked and are specificied with their paths within their classes.
I'm thinking I need to make a fla and then a document class and link that to the fla. But what do I put in the document class?
View 4 Replies
Oct 19, 2010
Is there a way to break apart text using ActionScript 3 so that it can be used in a Shape Tween?
Or is there a way to shape tween using AS3. I want people to be able to type in a box and then have that text morph into something. I was thinking about creating an alphabet of letters then reading the inputted text and calling those letters. But those letters would still be in MovieClip form.
View 4 Replies
Mar 9, 2010
I want to run a website where people could see each other through web camera.
View 6 Replies
Sep 16, 2011
how if it's possible to use Flash/AS 3.0 to create a website acessible to blind people. Using for example, the native text recognition from Windows or Mac. What I have to do to make this possible? Making HTML text is enough?
View 2 Replies
Dec 21, 2003
I want to add AI cars and people to a driving game but I don't know how. Can someone explain AI to me and some basic code for it?
View 4 Replies
Jul 8, 2004
But i want my question run randomly each time when different people play it.
View 6 Replies
Mar 25, 2009
We are a Wireless ISP and we have portal page at a local airport. We offer free wifi there because of sponsorship. We would like the page to have a 30 sec movie on it that people have to watch in order to get online. I have 2 ideas on how to do this. 1. watch the movie and when movie is over automatically call to our login script and then log the user in through our network device. 2. have a get online button grayed out until the movie is over after the movie is over button becomes clickable and then the button after clicked calls to the script that logs my users in through my device.
View 5 Replies
Aug 26, 2009
I've got a page laid out that houses a nightly live webstream of music at a venue. Every night (except Sunday) the stream turns on from 8pm-2am Eastern Standard Time. Some nights, I notice there is nobody watching the stream, yet the stream plays everyday no matter what. In the interest of saving bandwidth per month, I'm trying to figure out how to only stream if somebody is watching.So basically the camera would be recording locally, and when someone connects to the website something tells the server to start broadcasting. If the person leaves, the server stops broadcasting. Has anyone ever tried doing this? I'm using Influxis for my media streaming and they've assured me I can execute server side scripts.
View 12 Replies
Dec 26, 2010
I'm wanting to have ads radomly play before people watch a video on my site.Is there a way to write the script for this and place it in the xml or do I have to something differently.I already have the video up on our site. So I'm just not sure how I "connect" the actionscript and xml that way it plays the commercial before the video.Do I have to build a new player and everything to do this? I've never built a player before, so if I don't have to, I'd rather not.
View 1 Replies