interested (or proficient) in multitouch technology with AS3I'm currently doing a multitouch project (ya!), in which touch point and gesture detection is required, using the beta multitouch API in flash, the program does compile but there're some deadly issues about it:
1. The program(in swf form or windows projector form) lag frequently (about 1-3 times in 10sec) when I'm doing gestures, but it runs withno lagging when I open it by dragging the swf file to IE(and other browsers too), wield. (I'm using win7)2. Swipe gesture is not supported, which makes me really isappointed,by the way, touchEvents and gestureEvents can not be used at the sametime, but I've ever seen some smooth flash programs which apparently allowtouch and gestures, how do they do that?Well, the program is very simple but laggy(except swf in IE, of course), so I don't think the main problem for lagging is my code, I wonder if it's just me or it's the problem of the beta API or Flash player, but it's still not comprehensible
I want to play with the new multitouch functionality of Flash 10.1 as is demonstrated here: [URL]
[Code]...
Now, I know that it is supported on the MacBooks, because this guy posted a video of it:[URL] Is there something I need to do different to make that first bit of code to work properly on OSX? A driver to install or something? Can anyone who has got this up and running let me know what I'm doing wrong? EDIT: Currently on Mac, Multitouch only works inside the AIR runtime, and in addition, the low level touch events are not available. GestureEvents are available, so now my problem is more complicated: I can do Multitouch.supportsGestureEvents which returns true... and I can list out which gesture events I can listen to, ROTATE, PAN, etc. but nothing happens. I can't get any of the events to trigger.
how to use the new multitouch class and its gesture/touch events in the ActionScript Editor of Flash CS4? The AIR 2.0 Runtime environment is installed on the machine, but what else do I need to use the multitouch class?
I'm doing some application on the multitouch, everything is working find, everything can be rotate, expand (pinch) but only one problem..all my text field disappear when I rotate it... but somehow the textfield will reappear when I rotate it back to its original angle (180 degree).can anyone tell me what to do so that my textfield will not disappear when I rotate it?
PHP Code: private function thumb_dragStart(e:TouchEvent):void { StartstageX = mouseX; prevX = mouseX; addEventListener(Event.ENTER_FRAME,checkMouseDir); addEventListener(TouchEvent.MOUSE_UP, dragStop); function checkMouseDir(e:Event):void {
I am trying to use the ENTER_FRAME to update the coordinate of my mouse when the mouse click is down but when I extend to touch, the enter frame doesn't seems to work, because my mouse is no more on that stage, the enter frame cannot locate the movement of my mouse on the SimTouch neither on CCV. What other method I should use so that I can check the coordinate of my mouse or finger movement on the flash platform?
The title pretty much describes it all.. According to the information of the Acer T231H Monitor, it should be able to detect simple gestures. When tracing Multitouch.supportsGestureEvents it returns false. Same goes for supportsTouchEvents. Is this because Windows wants to use the monitor as a mouse? Google doesn't turn up any useful information about this problem. Note, I have installed the monitor driver from the Acer website.
How do you make a movieclip move horizontally from the start of the stage to 3/4 of the stage. Stage size is 700 px by 600 px i want just one row in the middle of the stage. i want that movieclip to disappear right after it reach the end of the 3/4 mark.
My company want to develop an online multitouch scrumboard for our scrumteams. We are still in doubt between flex and silverlight as platform for the application. (don't want to fire a hole new flex vs. silverlight discussion again) Installation rate & platform independence are not critical to us, because it's just for teammembers and only windows 7 enables multitouch events in flash or silverlight.We would like some pros/cons specifically for this project (multitouch, rich user interface, integration with backends).[code]
I am making a site and have a component on the stage that is put there dynamicly through AS 2.0. When I F5 or Ctrl F5 it seems that the actionscript is read allover again?Only the script that is situated in the specific label. What if I have script in that label that creates a news reader. I f12 and the news reader is there I jump to another label with the menu. when i jump back to the home label the news reader does not appear on the stage. after a f5 or ctrl f5 it does.Do I have to attach the movieClip in each label to assure a the dynm-movieClip script is on stage for the ctrl f5 issue?
I have a movieclip on the stage(lets call that selection movieclip) that once a button is clicked is going to open another movieclip(call this slideshow) I am trying to remove the selection movieclip when you launch the slideshow movieclip.
Error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display:isplayObjectContainer/removeChild() at mc_work/clickHandler3()
On the stage I have a movieclip called mc_back. I also have a movieclip on the stage called mc_content. Now, inside mc_content I have a bunch of code and some of it adds, or should add, an EventListener to mc_back as well as a a function that works when mc_back is pressed.
So basically, all code is written inside mc_content and some of it needs to interact with mc_back.
how to target mc_back from inside mc_content. Using stage.mc_back or root.mc_back doesn't work and Google should be my friend, but in this particular problem, it's acting more like my enemy.
How do you align a dynamic movie clip position with another movie clip which is in the root stage? I tried to get the mc in root x,y position, but the starting point of the class that loads the dynamic MC does not seems to be accurate. (Meaning at the root stage, the x,y is 0,0 but at the dynamic class, its somewhere like 100,20 for the browser area (and it actually vary base on the browser size))
**the other classes I used to run the custom classes below, I have it added this MC to stage
var blocker:stageBlocker=new stageBlocker(); this.stage.addChild(blocker);
Below is the dynamic MC. Should I not add it to its own "stage"?
public class stageBlocker extends MovieClip { private var blocker:MovieClip= new MovieClip(); public function stageBlocker():void {
I have a Movieclip on stage with nested movieclips inside. All referenced at 0,0. None of the child movieclips load any dynamic content, animate or have Masked Layers. It does have an input textfield in one of the child MCs. The parent MC shows 280 px width, while it returns 313 px with a .width trace. There is no code that alters the .width value of the parent MC at run-time. And the ParentMC on stage is not scaled (it is at 100% width/height)
I'm not sure if this is an actionScript3 question, or a general flashCS5.5 stage editing question (i'm using Windows76bit):HISTORY:I've made a complicated animation, with many different layers, tweening at different times.Now that I'm all done, I realize I should have put it all in a movieclip in the first place (so I could do things to it easily, in Actionscript).PROBLEM (A):I can't just select everything and right click and choose "convert to symbol" (if I do, any layer that has animation is left out. for some reason).PROBLEM (B):I tried writing action script code that says var canvas_mc = new MovieClip() canvas_mc.addChild(stage.root); //(I've also tried just canvas_mc.addChild(stage);but this gives the "TypeError: Error #1009: Cannot access a property or method of a null object reference." I'm guessing it's a no no to just add the current stage into a MC(?)
On the click of a button I am having a movie clip load onto the stage from the library using the _root.attachMovieClip command and that part of my code is working perfectly.I have a close button embeded into the movieclip being loaded in but I am unable to get it to remove the movieclip from the stage when the close button is clicked. The close button has to be inside the loading movie clip so it doesn't interfere with other items on the stage which is why i'm not using _visible to show and hide the menu.
I'm trying to use the stage as a movieclip so that I can use onRelease to simply make the whole stage clickable. I'm creating various banner sizes and I rather do this simply using code rather than creating a movieclip on the timeline and adjusting the dimensions for each banner size.