ActionScript 2.0 :: SWF In Director On Touchscreen - Double Tap Required

Jan 5, 2011

There is a known problem with swf's with nested mc's embedded in a director projector when used on a touchscreen (with dragmode enabled). Basically, the problem is that flash requires a mouseRollOver event to give the focus to the mc, before it registers an onPress. With a touchscreen, where the cursor is disabled, the first click and release on the swf (or nested mc's) reads as an onRollOver event, and the user must click again to register an onPress and onRelease. This leads to very confusing behaviours in my application where I have dots (embedded mc's) being created when an image is touched, then the dots can be clicked and dragged, or double tapped to be removed.

All works fine when the mouse and cursor is used, but I can't get it to work using a single tap on the touchscreen. In some cases I can get away with using onRollOver but when used with startDrag I can't think of a way of stopping the drag when the user lifts their finger. (which doesn't register as an event). What I need is an AS2 script that forces a click event (onPress) when the user taps the button once. Unfortunately I only know AS2 so can't use mouseEvents from AS3.

View 1 Replies


Similar Posts:


Xml :: Get Required Tag Form XML And Required Children Tag?

Sep 13, 2011

I have a XML schema.I want to read only table tag and its geometery tag using action script3 code.Any Idea.

<table name="TableBase 1" id="TableBase3010" overflow="false" direction="lr-tb" suppress-empty-lines="false">
<style-ref name="default"/>
<geometry size="absolute" position="absolute">
<location left="117" top="102"/>

[code]....

View 2 Replies

CS3 Launching A Director .exe File

Jan 28, 2012

I've made some games using Adobe Director and I would like to open them in a separate projector window.I tried attaching this code to my button.[code]I placed my .exe file in a folder named 'fscommand', that folder is in the same folder as my .fla and .swf files.It doesn't work, unfortunately. : When I click, nothing happens.

View 1 Replies

Professional :: Touchscreen TV App Slows Down?

Sep 5, 2010

We have created an interactive Touchscreen using flash CS4 - [URL]
 
The Touchscreen is already in the showroom. Every morning it is restarted. By midday the whole application slows down to the point were it becomes very slow. I presume this is a caching problem. In order to resolve this we close down IE and restart it (playing the SWF file through Internet Explore on full screen mode). Once it has restarted it plays at the correct speed.
 
I have thought about setting up windows 7 to reboot IE and have the flash file restart every few hours however a client may be navigating through the display when it reboots it self. I would prefer to avoid this if possible.

View 3 Replies

ActionScript 2.0 :: Flash Within Director?

Mar 23, 2004

How to control de timeline of a director movie thru a Flash movie imported to it.The buttons of my flash movie must control the director movie.is that popssible?

View 2 Replies

ActionScript 3.0 :: Swipe Gesture, Use Without Touchscreen?

Dec 14, 2010

I looking into developing an AIR application for carPC's.These pc's all have touchscreens, but usually not multitouch. Also Windows 7 will reconize them as a mouse, not as a touchscreen. Now I know AS 3 supports gestures

View 3 Replies

ActionScript 3.0 :: Possible To Load Director Level Into Flash?

Dec 14, 2009

I am planning a complex system where eventually users will need to do immersion into 3rd dimension and also play lots of flash quizz. I know director can load flash which makes it obvious choice for development but coding in lingo (a non POO language) maybe a little bit of regression looking the average age of the development team that I am building. So looking forward, i wonder if it's possible to make flash load director levels.

View 3 Replies

Professional :: Iphone Touchscreen Code Samples?

Sep 11, 2010

Would anyone like to share iphone touchscreen code samples with the community? I would share mine, but I don't have a clue.

View 3 Replies

ActionScript 3.0 :: Integrate Director Movie Into Flash CS5?

Jun 13, 2011

I have couple of interactive media pieces created in Director MX 2004. I would like to know if the latest Flash CS5 can handleDirector Movies. st way to creat  a portfolio (consisting of Dorector and Flash Movies) that can be showcased in a websiteas well as in a CD-R.Also, a tutorial or direction to creating an Adobe Director website whereby the swf movies can be integrated would be useful.

View 1 Replies

Exit Fullscreen Mode From Flash On A Touchscreen?

Oct 14, 2011

I need to know all methods to exit from a fullscreen mode of a flash application on a touchscreen (because i want that people exit with my custom button).

I know that with a traditional desktop, ESC of the keyboard and double click with left button of the mouse allow to exit from fullscreen (like youtube).

View 1 Replies

ActionScript 2.0 :: Passing Variables Between Director & Flash

Nov 6, 2003

I'm trying to use some functions in Director by wrapping a Flash movie in a Director movie, both running locally as a projector. I need to pass a string variable from the Flash movie into the Director instance. Here's what Macromedia has to say on the subject: Using GetURL: (any string) Requires the Director movie to have a behavior called 'on GetURL me, stringVariable'

When using a movie script instead of a behavior the 'me' is not needed in the above handler. The 'stringVariable' value will be the holder for the passed value from Flash (i.e. stringVariable = <any string>). This method is executed every time a 'GetURL' event is issued in the Flash movie.

View 1 Replies

ActionScript 2.0 :: Flash Touchscreen Kiosk Program?

Dec 22, 2009

i have created a program in flash to run on several touchscreen kiosks here in my city. its a simple flash presentation and uses basic actionscript 2.0 for navigation etc. and its all working fine. now, the organizers want me to create a hit counter that can track how many people are using the kisosk services. so basically, each time someone hits the home button, a "hit" should be generated.

now i know of some scripts that use flash and PHP that can do that, but unfortunately i dont know how i can use it. The program that runs on the kisosks is just a flash file rendered as an exe and installed on the machines. i know basic PHP but as far as i am aware of, u need to run PHP through some HTML pages to be able to use it. besides, you would also need a php server to be able to get the hit counter working.

so my question is, is there a way to have the hits generated and stored in some kind of file (text, or xml or anything)? it has to be generated from within the swf file and stored to the (text, XML?) file.

View 1 Replies

ActionScript 2.0 :: Passing Variables Between Director And Flash

Nov 6, 2003

I'm trying to use some functions in Director by wrapping a Flash movie in a Director movie, both running locally as a projector. I need to pass a string variable from the Flash movie into the Director instance. Here's what Macromedia has to say on the subject:
Using GetURL: (any string)
Requires the Director movie to have a behavior called 'on GetURL me, stringVariable'. When using a movie script instead of a behavior the 'me' is not needed in the above handler. The 'stringVariable' value will be the holder for the passed value from Flash
(i.e. stringVariable = <any string>).
This method is executed every time a 'GetURL' event is issued in the Flash movie. What the syntax would need to look like in the Flash movie?

View 1 Replies

ActionScript 2.0 :: Control De Timeline Of A Director Movie?

Mar 23, 2004

How to control de timeline of a director movie thru a Flash movie imported to it. The buttons of my flash movie must control the director movie.

View 2 Replies

Flex :: Would Director Be An Option For Creating A Socket Client

Feb 1, 2010

Would Director be an option for creating a socket client? My client needs to accept server commands; frame rate, start etc.Director seems like it was made for controlling movies. I've got Director 11.5 at the office.

Interaction with client
SERVER==>XML PACKET==>CLIENT==>swf plays on given frame and duration

[code].....

View 1 Replies

ActionScript 2.0 :: Passing Variables Bettween Director & Flash?

Apr 11, 2011

I'm trying to use some functions in Director by wrapping a Flash movie in a Director movie, both running locally as a projector. I need to pass a string variable from the Flash movie into the Director instance. Here's what Macromedia has to say on the subject:Using GetURL: (any string)Requires the Director movie to have a behavior called 'on GetURL me, stringVariableWhen using a movie script instead of a behavior the 'me' is not needed in the above handlerThe 'stringVariable' value will be the holder for the passed value from Flash (i.e. stringVariable = <any string>). This method is executed every time a 'GetURL' event is issued in the Flash movie

View 2 Replies

Actionscript 3 :: Create A Touchscreen Restaurant Ordering System?

Oct 15, 2011

What I need to create a touchscreen restaurant ordering system?

I've got the touch UI understood and implemented 100%.

What I can't figure out is how to implement the "Send order to kitchen" and "Call waiter" functions.

Each table will have a "client" computer running an air app. Calling the "Send order to kitchen" and "Call waiter" functions from the "client" computer should make the "client" communicate with a different "kitchen" computer over wifi.

View 2 Replies

ActionScript 3.0 :: Touchscreen Project - Memory Usage Optimization

Jan 12, 2011

I am working on a touch screen project right now. There is a chance that the touchscreen will never be turned off, so I have to be very aware of the memory issue with the pc. I don't want the memory to keep building up and eventually it just freezes up the pc. Basically, I have separated each section into a separate swf. The idea is to load only the swf that is needed in order to optimize memory usage. I tested the app on a pc, when looking at the "processes" in the window task manager, it seems the memory used will just keep increasing as I navigate through the application, it seems to me it just keeps piling up external swfs in the application, but sometimes the memory will just suddenly decrease. And when the touchscreen application is idle, the memory will drop too.

The following code is what I used to load and unload the external swf. Did I do it right? Is there anything that may have left unnoticed that is still staying in the memory? Is there any other way to optimize the memory usage too?
ActionScript Code:
var prevLevel:* = this.parent;
var currentPage:MovieClip;
var oldPage:MovieClip;
var bgID:String;
[Code] .....

View 0 Replies

ActionScript 3.0 :: Flash Presentation On Xoom Tablet With Touchscreen Functionality

Mar 23, 2011

putting a Flash application on the Xoom tablet or another Android device w/ touchscreen?

I have a Flash presentation that is built in Papervision 3D and I want to put it on the Xoom tablet. Are there different event handlers to make the touchscreen work or will normal button events port correctly?

I have exported the application into an Air Android application.. I'm waiting for my Xoom tablet to test it out.

View 0 Replies

ActionScript 3.0 :: Make A Touchscreen Flash Keyboard With Multiple Fields?

May 24, 2011

How to make a touchscreen flash keyboard with multiple fields? any tutorials with multiple inputbox fields which is a touchscreen flash keyboard?

View 1 Replies

Professional :: Touchscreen Phone - Jump To The Main Menu When The User Presses On The Screen

Jul 23, 2010

im creating a simple mobile application for a nokia 5230 touchscreen phone in flash. Im just trying to create some code to tell it to jump to the main menu when the user presses
on the screen. I have a key catcher in which i have the following code:

[Code]...

Im not sure if this will work for touchscreen phone because i got it from a sample program from my lecturer in college but i dont know what i should do as it wont recognise a press on the screen.

View 7 Replies

Professional :: Flash File 1920x1080 (touchscreen) Compressed To Website Version 945x532?

Aug 3, 2010

We have create a flash file for both Touchscreen TV and Website.The document frame is is 1920x1080 however we would like to export the project so it can be seen on the website at the correct compression.Is there a way to export the SWF to the required 945x532.I know how to export it in the HTML however this reads the same SWF that is still too large in file size (not web friendly).I could pull the compression down to say 10% before exporting the SWF however there must be a better method.

View 5 Replies

ActionScript 3.0 :: XML - Find All Nodes (<item>) That Contain: <subtitle Title="Director">

May 31, 2010

I have a huge XML with many nodes and childnodes. Example of a node in the XML:

[Code]....

I'm trying to find all Nodes (<item>) that contain: <subtitle title="Director"> How can i do this? I've been trying for hours.

View 3 Replies

ActionScript 2.0 :: Double Click Or Not Double Click?

May 20, 2008

I've got a bug in my code, where a button has to be double clicked to work.Just wondering what is the standard distinction for the difference between single and double click.

my code

ActionScript Code:
ns.seek(0);
subtitles._visible = true;[code].....

the idea is that it runs a function only when the above button is pressed, but it doesn't seem to work the first time you press the button ?

View 5 Replies

Actionscript 3.0 :: Import Authorware Project And / Or Director Project In Flash

Dec 10, 2010

I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???

View 1 Replies

ActionScript 3.0 :: Providing FLA With Required Libraries?

Nov 1, 2009

I'd like to give someone else the FLA to recompile SWF's, but the libraries I'm using are spread out in many places (Tween libraries, custom libraries, etc), and would be somewhat arduous to package cleanly to include with the FLA. compile the imported libraries into the FLA somehow?

View 3 Replies

Make Text Fields Required?

Apr 8, 2010

Can I do this in flash or do I have to do it in php?

View 2 Replies

Professional :: Required With Limiting StartDrag()?

Jul 26, 2010

Quite new still to AS3 so if someone can help me out, or point in the right direction,Stage size is set to 750 wide x 440 high and my hi res image is 1500 wide x 880 high. image is called mcImage.The hi res image on the stage that is scaled down to 50% on both X and Y axes.I have a zoom in button, a zoom out button and a reset button. All do pretty much what their name suggests.When you zoom in, it adjusts the Z axes of mcImage to make the image appear larger on the stage. So far so good.I then get the new co-ordinates of X and Y by using the localToGlobal feature and record them in a variable, passing them to the mouse Handler for the dragging of the image.The issue is, whatever I try in startDrag(); does not limit the size of the dragable image, nothing happens, though I am expecting it to allow me to drag the image around within it's boundary!I am sure that the code can be tidied up, but I am still learning a lot about AS3 and trying my hardest.

[Code]...

View 6 Replies

Professional :: Add The Required Information To The 'Summary' Tab?

Jun 9, 2011

I want to add the required information to the 'Summary' tab when looking at the properties of an SWF file.Could somebody tell me how to do add the required informations .

View 5 Replies

Flex :: Is Flexunit Is Really Required For Application

Oct 3, 2011

I have a doubt on Flex unit. Unit test cases are really required for flex application for displaying data.

View 1 Replies







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