Dynamic User Interaction Flash UI?

Dec 13, 2009

I am looking at taking on a project that will be a considerable challenge since I come from a LAMP development environment. I am wanting to create a Flash driven community with chat and profiles. In PHP I know how I would go about handling the data as everything is put together on the server and returned to the user completely formatted, however adding a flash layer on top of it present a problem. I am not sure how to transport data from the server to a flash file without using XML. The obvious problem that I see is as more people are online, Sending updated XML files to flash could become a bandwidth hog and make for a slow UI. best method of moving result data from a PHP script to Flash without using XML or is that going to be the only viable option? My concern is load time. Also is there a good way of unloading data once it is no longer used (ie Photos).

View 4 Replies


Similar Posts:


Flex :: Record User Interaction In Flash App?

Apr 30, 2010

I am looking for a way to capture the user interactions with a text input control in Flash over a period of time (not a screen cast)?For example: If the user enter some text, then delete, then enter something, I would be able to store that interaction as it happens and replay that later.

View 2 Replies

JQuery :: Tracking User Interaction With Flash Outside Of SWF?

Mar 26, 2012

I have been tasked with tracking user interactions with a flash movie that contains several chapters. I need to track which chapters the user decides to watch. But I have no access to the flash movie itself and I can not modify it. The movie loads in a modal. I do have access to the HTML page from which the modal is spawned. This is a screenshot of the interface. There are 6 chapters. Users can select the chapters they want to watch. They can then click Play Your Demo. Alternatively there's a Play All button. I would like to track which chapters users select. This can be easily done with flash, but this is not an option. I hope I can use jQuery on the page to monitor user clicks. I am inclined to say this is not possible though, since JS can not track events/interactions with the flash movie, but I could be wrong.

View 2 Replies

ActionScript 3.0 :: Flash - Upload A PPT Without User Interaction

Apr 5, 2012

I'm really stuck on this - I'm supposed to be delivering the project today. I need to be able upload a PPT without user interaction (so no FileReference)

View 2 Replies

ActionScript 2.0 :: [CS4] Flash/PHP/MySQL Multi-User Interaction?

May 22, 2009

On load - Get the current position of the movieclip object on stage which is stored in MySQL through PHP.When the user moves the movieclip object, update the x and y position of the object by sending it to MySQL through PHP.It's a pretty simple way of understanding Flash/PHP/MySQL Integration and I find it much less complex than a socket server but I don't think it's efficient enough to use with the constant queries. [URL] Does not really work very well, dont think the Y position works at all lol, when you refresh the page it is suppose to save your current object position into the database then load it again but it appears a bit buggy, not completely sure why - I'm pretty new to Load/Send but it doesnt matter much. Also the movement appears to be lagged too and opening a new window as a 'new user' does not share the same instance of the object on stage (I think that would require me to make seperate ID's for each user though to give them their own unique objects on stage.)Is there any better (more efficient and reliable) way of creating a stage for multi-user interaction (like player characters for a game which move around by user key input, not a chat room)...Which does not involve the use of a socket server?

View 1 Replies

ActionScript 2.0 :: Flash 8 - Trigger Time Up Without User Interaction?

Aug 10, 2009

I would like to start a timer on a button release which will trigger a "time up" on the user when a reasonable time to respond has been reached. I think I know how to use getTime to set a starttime variable but how do I trigger the "time up" without any user interaction?

This is the code I have:
var starttime=getTimer() // put this where you want to start tracking time
var elapsedTime=getTimer()-starttime; // put this where you want to know the time.
while (elapsedTime>4000)

View 1 Replies

Flash Player - Fullscreen Without User Interaction (automated Testing)?

Jul 4, 2010

At the moment I'm using Selenium-Flex to write functional tests for a video playback app.At the moment, I need to test that the app behaves appropriately when switched to fullscreen mode - make sure that the control bar is in a reasonable spot, the video resizes appropriately, etc., and of course to do that I need an automated way to make Flash Player go fullscreen.

For good reason, Flash's security features prevent being able to fullscreen except in response to user input. Actual user input, a javascript callback being called does not count.Is there any way to disable this security feature on my test rig, so I can actually run my automated tests on fullscreen mode? Barring that, is there any way to put Flash into fullscreen mode externally, so I can hack it up to work that way?

View 1 Replies

Flash 10 :: Javascript :: Open File Dialog In "without" User Interaction?

Sep 25, 2009

I want to open a file dialog via FileReference.browse() but I get #2176 error which means that this action can only be invoked upon some user interaction. I'm aware of security considerations but in my scenario I have a thin flash movie which merely displays an image and the whole UI is in javascript (I heavily use javascript <-> actionscript communication).

So the question is - do you think it would be possible to invoke FileReference.browse() upon the user interaction coming from javascript?

View 4 Replies

Actionscript :: Code Not Executed Without User Interaction?

Sep 27, 2011

The following code works as expected: when a user clicks the button, the installer automatically launches.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"[code]....

I verified that the installApp function is executed.Why doesn't the second piece of code work? Is user interaction required? If so what's a way around this?

View 1 Replies

Actionscript 3.0 :: The Colors To Be Constantly Changing Without Any User Interaction?

Apr 7, 2010

I'm trying to change the colors of a blur filter. But I want the the colors to be constantly changing without any user interaction. So far i've set up a color matrix filter

View 4 Replies

ActionScript 2.0 :: Getting Custom Cursor To Act Opposite User Interaction?

Apr 13, 2006

Is it possible to get the custom cursor MC to act opposite the users actions? I want it to be opposite the center of the stage, lets say the real mouse cursor is 200px to the RIGHT of the center of the stage, but the custom mouse cursor is 200px to the LEFT... get it? And the same goes for the y coordinates. I gave it a try, but can't seem to get it right, math never was my strong side

View 3 Replies

Actionscript 3 :: Download A File From Server Without User Interaction In Flex 4?

Sep 27, 2011

The code flow is as follows: user clicks 'download details' button on the page -> on button click handler a call to a RPC method is made using s:CallResponder -> RPC method generates and returns a URL from where to download the file -> the success event handler of the CallResponder gets the url where FileRefrence.download() is used to download the file but throws following error:-

Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.

[Code]...

View 3 Replies

ActionScript 3.0 :: Create User Interaction Simulating The Use Of A Spirit Level?

Jan 18, 2012

I need to create a user interaction simulating the use of a spirit level showing that a rectangular object on the stage is level. It doesn't have to actually work like spirit level, basically just has to give the impression that it has worked like one.

Maybe make the bubble of the spirit level should move (become animated) when being dragged to the object, then settle (animation come to a stop) when dropped in place on top of the rectangular object? Although I am unsure of the code to go about this?

View 4 Replies

ActionScript 2.0 :: Dynamic Interaction With Objects?

Jan 22, 2006

I am making a chainsaw massacre game, you can find the beginning of it here; http:[url]... I want to be able to jump up and kill the guys in the head, and also the stomach etc etc, but I don't really know how to make it this dynamic, should I have a MovieClip for each body part, or how should I do it?

View 1 Replies

Flash - Make A Dynamic Text Field Increase In Increments Of 1 If The User Hovers At The Upper Half Of The Screen?

Jan 15, 2012

If the counter reaches 350 and I move my mouse down now it hops on over to 250. I just want it to start counting down. I.e. 349, 348, 347 and so on. What do I need to change?

//Function
function countUp(e:TimerEvent):void{
if (mouseY < 180)
{

[code]...

EDIT: What do I need to write in AS3 to make a dynamic text field increase in increments of 1 if the user hovers at the upper half of the screen, and decrease in increments of 1 if the user hovers at the lower half of the screen?Purpose, it isn't a game.

What I have right now isn't actually doing any of those things, I've just been mucking about trying to get all the masks working and they finally are.

I've included the code to offer as much information as possible about my specific project. There is also a few more lines that changes the colour of the dial when the user rolls over the specific coloured bars. I can post that as well if it helps.

To clarify the scene, the arrow part of the dial tracks the user's mouse. Always pointing towards it. The bars, when rolled over changes the colour of said dial. The "73M" is static, as well is "POINTS" but the 380 value is dynamic. It is that string I need to affect.

If anything is unclear please feel free to ask, I've been at this all night so there is a chance I'm so into it that I can't see straight.

[code]

View 1 Replies

Doing Interaction Design With Flash

Feb 28, 2011

I've been trying to teach myself flash for a couple of weeks and am totally lost. I have had experience with programming in the past, so I understand logic, etc, but I really am not grasping this forced time based system.What I need to do seems pretty simple. I have a jpg of a washing machine front panel. I need to be able to put some transparent "buttons" over it, and have some areas "light up" when the buttons are pressed. So far I understand that I have to work in a chronological setup, with key frames for each state of interaction, and use buttons with some kind of gotoframe action script. what I can't do:

1. get the background jpg to stick to the stage. it apparently has to be either a symbol or a layer?

2. make transparent buttons. in flash catalyst I can just set the opacity to 0, but I'm not sure how to do this in flash pro.

I guess those are the pressing issues. I had tried to import the jpg as a psd background, but then I had to put the button on a separate layer, and it was always either behind the background, or I had to have it's action refer only to the timeline of it's own layer and not the background.

View 10 Replies

Flash Interaction After Flv Video Playback?

Dec 7, 2010

I have a video embedded in Flash as an FLV. I'm able to get the video to play through the way I want, but when the video plays through and ends, I want to have two options/"buttons" display that allow the user to either replay the video a la youtube, or link to another web page.

I know it must a very basic question but I can't seem to find any answers. I've included a screen capture of the end of the video.

View 1 Replies

ActionScript 2.0 :: Interaction Between Two Flash Files?

Jan 31, 2003

I wish to be able to use a Flash animation (call it "one.swf, loaded into "one.html"") as a control panel to control the activities in another animation (say "two.swf" which of course will reside in "two.html")The control panel ("one.swf") will have 10 buttons for the navigation around "two.swf" and "on release" of the butons, I would like for BOTH 1. the navigation in "two.swf" to happen AND 2. "one.swf" to be (preferably) minimised or else closed.What sort of coding is needed to enable this interaction between the two swf files?here will be a button on "two.swf" which will be used to call up "one.swf", but presumably the coding there will need to be different if "one.swf" is minimised to how it is if it is closed. Whilst I can hack opening "one.swf" from fresh if it has been closed, how do I code the button to restore it from being minimised?

View 1 Replies

ActionScript 2.0 :: ASP Flash Interaction - Too Many Variables

Aug 15, 2006

I created a huge flash application and I need it to interact with an ASP file that interacts wiht a database. But when i loadvars in flash it take a very very long time to load. My guess is that becaus there are sooo many variables, passing them all takes a long time. Is there anyway I can pass only a few variables or speed up the process?

View 1 Replies

ActionScript 3.0 :: Flash / CSS / Javascript Interaction

Jun 24, 2009

I have search all forum, but didn't find any good example with sources of as3/css/js integration. I need that swf could send itself dynamic height's value through javascript and css (div). Or, as last hope, to another swf with redirectiong to another page.

View 2 Replies

Javascript :: Flash - JWplayer Interaction Not Working?

Jun 27, 2011

i have been trying every possible way to stop and pause and play the JWplayer latest version using its JavaScript API and nothing works.

here is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

[code]....

View 1 Replies

ActionScript 2.0 :: Create A Basic Interaction Between Flash And ASP.net V1.1?

Sep 17, 2007

I'm trying to create a basic interaction between flash and ASP.net v1.1.In flash code I'm using the LoadVars function and on asp.net page I'm using "Response.write" to return the value to flash.I have a flash button which send the load to the asp.net.(meaning the first time I click the button , the asp.net page is called and return the value , but the second time nothing happens!)

Here is my code:

FLASH:
---------------

Code:
function doCheck()
{
checkSessID = new LoadVars();
checkSessID.onLoad = function (serverIsOnline)

[code]....

The first time in click on the flash button the doCheck() function is called and the sendResponse function (which is in the "IMService.aspx") return the value to flash.Then , when clicking the second time on the button , nothing happens.

View 2 Replies

Flex :: Application Interaction With Loaded Flash SWFs

Dec 14, 2009

I am creating a Flex application with a component that displays various dynamically loaded SWFs, one at a time (kind of like a kiosk). These loaded SWFs are created in Flash IDE, not Flex. They will not be created by us (we will provide a .fla template but that's it), so I am loading them into a separate SecurityDomain.

My Questions:

I want the application to be able to call methods inside the loaded SWF. To do this, would I just call Security.allowDomain("domain original app was loaded from") in the startup process for the loaded SWF? I want the loaded SWF to be able to throw events that are caught by the application. Can I accomplish this through the SWFLoader.swfBridge property? I am defining an interface for the methods inside the loaded SWF. But, I don't want to leave the implementation up to the customer. Instead, I want to provide another SWF that contains the interface implementation and have it be a constraint that the customer includes it in their SWF. I am not very familiar with the Flash authoring environment, how would it work so that the interface implementation SWF exposes its methods in such a way to be accessible to Flex? Is there a way to sign the SWF so that the Flex application knows that it is dealing with the original, not a spoof? How would the Flex code pass in arguments, since it is across SecurityDomain boundary -- is there marshalling involved (say if I want to pass in a Dictionary or some kind of object graph)? The Flex application may load hundreds of these smaller other SWFs during its lifetime. How do I make sure it doesn't keep using up more memory? I plan on using SWFLoader.unloadAndStop() and clearing all references in the Flex object that refers to it. Is this enough? Will the AppDomain for the loaded SWF be torn down automatically so that the class definitions are no longer in memory?

View 2 Replies

ActionScript 3.0 :: Flash Interaction Between .swf Action Frame And .as File

Oct 25, 2011

I have a .swf file. From there I use a MovieClip witch is associated with a class. The information is inside of a separate .as file. On Runtime i create several instances of this object. This all works. Now I would like to let functions inside of th .as file give access to variables set in the action layer on frame 1 where i handle the code that is associated with the .swf file. Or the other way around. Is there a way to manage this communication?

View 2 Replies

Flash 9 :: Flash Interaction With Windows Volume Control?

Nov 28, 2008

Is it possible for flash to access the windows xp system volume controls?I assume flash can't by it's self, but can flash be used to trigger a function in another language that can access and alter the system volume? At least detect if the audio is muted on the system and give the option to turn it on.The flash movie would be embedded in a browser. The content of the movie has audio that is required. We want the user to be able to control the system volume from within the flash movie.

View 0 Replies

ActionScript 2.0 :: Flash MX - Fading Buttons And Mouse Interaction [renamed]

Jun 24, 2005

im making my portfolio in flash. And the designing goes oke etc, but now im at the programming part, and thats not what im good at.[URL] If you mouse your cursor over the most right (black) button you see "contact" fading in, thats oke, and when you click on it a big orange shape slides in, some text is needed to put in here. But! When you move the mouse of the button the orange shape slides back.

So my question is, how can I make the orange shape stay while the mouse is of the button? And when the mouse moves out of the contact button and over another it should fade in that name to, (like it does now).

View 2 Replies

ActionScript 3.0 :: Flash To Ignore The Cloud Layer For Purposes Of Interaction?

Feb 2, 2009

After adding a floating cloud layer on top of the map all the elements below the cloud layer are inaccessible as the cloud layer is the only object getting mouse events.Is there a way to to tell flash to ignore the cloud layer for purposes of interaction?

View 3 Replies

Flex :: Demonstrate Many Of The Specific Graphics, Animation, And Interaction Capabilities Available Using Flash CS4 Pro?

Jul 28, 2009

I am looking for an app or apps which I can use to demonstrate many of the specific graphics, animation, and interaction capabilities available using Flash CS4 Pro. Basically something just like the Tour de Flex app only for Flash CS3/CS4 Pro. The Adobe site has a sparse set of some examples, but again I am looking for something more comprehensive like Tour de Flex.

View 1 Replies

Flash - Webcam Service For A Website: User To User Directly?

Mar 14, 2010

I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.

In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.

View 1 Replies

ActionScript 3.0 :: Flash Sending User-generated Info To The User

Feb 22, 2011

We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.

See the interactive in question here:

[URL]

We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.

View 1 Replies







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