Creating A Live Poll?
Jul 14, 2009
I need to create a website that has only one question on it, and then displays the poll results automatically after a user makes a selection, showing the overall results updated in real timepoint me in the right direction on where to get started with this.I imagine I will need some php and possibly mysql to make this guy go.
View 5 Replies
Similar Posts:
Jun 28, 2004
I have followed the tutorial on creating a live page counter in flash and somehow run into a problem to which i don't seem to be finding the solution. Perhaps someone here might be able to offer his/her generous help in solving this issue. Problem: The page counter works just fine the first time i load the page. After doing a refresh using the Ctrl & F5 key or just by clicking on the refresh button in my browser the count keeps going up (which as far as i understood from the tutorial is not supposed to happen).
When i do the same kind of refresh on the tutorial page the count stays unchanged though! I also downloaded the finished fla file but for some reason or other flash MX doesn't let me open it, giving me the error: "unexpected file format". Here is my code of the php file that i wrote for the counter.
[Code]...
View 6 Replies
Oct 28, 2009
i am wondering if it is possible, and if someone would be so kind to help me code a scene where two thumbnails, side by side, are flipped up and down, and back up, each time revealing a new random image culled from a feed such as a flickr feed (or any others available, is there a random google image search feed that i dont know about?).if this is possible, i would need assistance in coding the script so that the flash movie is dynamic and pulls image data in real time from the feed, displays it within the two thumbnail cells, and for added headache pain, i would hope to also learn how to code a random image to be selected based on a visitors date/time stamp.i am a graphic designer with rudimentary knowledge of action script 2.0 (yikes!) so please, go slowly / explain yourself. i have searched the forum, but i cannot find any previous threads that combine the random image generator idea with a live feed (unless if i missed it, please point it out to me if you can find such threads).
View 1 Replies
Aug 19, 2010
I am building a menu that is to run on a mobile device.. the menu is populated with data from a live xml feed. and then suppose to be both dragable and "throwable" - meaning if you swipe up or down fast is scrolls with a little velocity physics slowing down over time. I wanted this menu to use as little processor power as possible so I am using scrollRect along with all my menu items being set to
cachAsBitmap= true;
Its working for the most part except once it stops scrolling and the user mouse downs on it again to start dragging, it tends to jump up or down like 20-100 pixels.
ActionScript Code:
menu.addEventListener(MouseEvent.MOUSE_DOWN, menuDrag);
menu.scrollRect = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);
addEventListener(MouseEvent.MOUSE_UP, menuStopDrag);
function menuDrag(e:MouseEvent):void{
isDragging = true;
[Code] .....
View 1 Replies
Jul 9, 2010
How do I create a simple live drawing board/whiteboard functionality using flash as3, and flash media server 3.5.
View 1 Replies
Sep 23, 2009
I'm new on FMS, but I've managed to create a web page with an embedded player that shows a live stream that I capture with a webcam and FMS. What I need is to be able to pause the live stream from the web page player and to play it again from the point I've paused it. I thought to stream a live video and save it to a file on the server as well, but I don't know how to tell the player to start from the end of the file rather than the begining of it. The client should connect to the page and see the live stream, but he can pause it and continue watching it later from that point, but if a different client connects, he should see the live stream.
View 1 Replies
Nov 7, 2011
I'd like to tell if a certain key is being held down around the startup of my AIR (desktop) application, and I'd like to tell if a specific key (ALT in this case) is being held down. Unfortunately, flex seems to be so event based that there is no way poll the keyboard directly. Can anyone verify this?
I know that it's possible to take the keyboard events and keep track manually. However, this won't work if the user presses the key right before startup, so it isn't a solution for my specific problem.
View 2 Replies
Oct 30, 2006
I am currently looking for a tutorial that will explain how to build a flash poll. This is for a website I�m working on. However, the server is not PHP friendly. Thus, I am looking for a Flash poll ASP tutorial.
View 1 Replies
Nov 14, 2011
I have decided of using AS3 on my Evaluation Quiz because only AS3 supports saving pdf file. I need this feature for reports/tracking.
The question now is where can I get Poll/Evaluation Quiz Template?
View 2 Replies
Jan 30, 2010
Has anyone any good links to an flash poll tutorials?
I have looked at one on Activeden,One that shows a percentage of votes preferably
View 0 Replies
Apr 5, 2004
i would like to make a voting poll with flash mx, how can i do it ?
View 2 Replies
Sep 26, 2011
I'm attempting to connect to an existing Comet-style long-poll service using an AIR app. The service expects a client to make a GET request with a Connection: Keep-Alive header. This request will remain open for long periods of time so that the server can push data through. In my app, the connection is terminated with an IOError after 30 seconds.
Is this an undocumented limitation of URLStream? A restriction on adl (I've only been running my app through adl)?
The server does not send any "keep-alive" messages to the client but, unfortunately this is not something i have control over.
Update
To test this, I've set up a stripped-down version using a little php script (linked by leggetter below) and am hitting it from a simple AIR app. I'm finding that my connections are closed after 30 seconds whether I use URLStream or URLLoader. the PHP:
<?php
set_time_limit(0);
sleep(40);
[Code]....
If i adjust the initial sleep time in the php script to anything over 30 seconds, the IOError event is triggered. If I lower the sleep time, but the request continues adding data past 30 seconds, the onComplete event is called, but _urlLoader.data is empty.
The only way this process completely successfully is if the entire thing is over before 30 seconds elapses.
View 1 Replies
Jun 26, 2009
I have a flex application that repeatedly polls a remote XML file to detect changes, but I've found that once the file hits a certain size, the poll blocks the UI and makes the page unresponsive for a short time.
Is there any way to ensure that the call made to the server or the event from the flash.utils.Timer class runs asynchronously to the main UI thread?
View 3 Replies
Apr 20, 2004
I've been using Flash for a while now but have just started using Flash Combined with XML. I'm trying to make a poll system in flash which grabs data from a PHP generated xml file. This is the contents of the xml file at the moment.
[Code]....
View 1 Replies
Dec 13, 2010
I am getting this back:
TypeError: Error #2007: Parameter text must be non-null.
at flash.text::TextField/set text()
[code]....
View 1 Replies
Feb 14, 2012
I'm noticing a 13-16 second delay with live streams to iOS devices. Is there any way to improve this delay time by modifying the Event.xml parameters or the Apache hlshttp_module parameters in httpd.conf?
View 9 Replies
Mar 8, 2011
Basically I have a sales presentation showing on a screen in various offices where I work. These show daily sales figures that can change as and when somebody makes a sale. I have an swf loading data from an XML file into slides and everything works great apart from if the XML file changes at the moment I need to force a refresh (manually). I'd like to make it so that if the file changes it automatically reflects in the swf. So far my research has pointed me to AS3 Socket Communication but I haven't been sucessful in finding a relevant tutorial.My code is below,
[Code]...
View 1 Replies
Jan 3, 2010
I would like to know if there is a solution available that allows me to plug 2 HDV cameras into a laptop and live switch between the 2 cameras while uploading the live stream via adobe flash media live encoder to the adobe streaming server? the scenario is I want to offer live streaming of corporate seminars that I normally shoot with 2 cameras.
View 1 Replies
Jan 25, 2012
I would like to know whether it is possible to record a live stream with default fms application "live" or "livepkgr", so that the video stream can be played later on using "vod" application? If this is possible then how? What should be configuration for "live" or "livepkgr" application?
View 1 Replies
Sep 9, 2009
In using Flash Live Media Encoder to aquire a webcam video and to send it to a Flash Media Development Server 3.5 for live video streaming to one client by the same local network.The client device doesn't support flash player but is able to read and play flv video format.So, if i get a flv video file from apache 2 it works.But I don't know how to get a live video streaming from the server. The client application needs a flv file to point to.Does FVS generate a flv file for live video streaming?
View 6 Replies
Feb 19, 2011
How i can record a live stream.
I need a very simple app that will connect to rtmp and record it. The app will be on the same server as the live stream.
View 14 Replies
Feb 7, 2012
Is it possible to live stream both RTMP and HLS with FMS 4.5?
I want flash users to have the least latency possible using RTMP, and iOS users use HLS.
View 1 Replies
Jun 14, 2011
I'm developing a site with PHP, now i need to show a live video 24h pear day that is displayed by a webcam.
Is there any possibilite to integrate a tool to do that? I think i'll need to use Flash and PHP.
View 2 Replies
Sep 17, 2011
How can i stream video live by the help of PHP like live tv? I am willing not to use flash media server. If it is must to use it then which server is free and reliable?
View 1 Replies
Feb 2, 2010
Let's say I have a news panel that is reading all the info from a xml file. And a user is reading my news on my site, and in that moment I update my xml file and I add 3 more news. I am wondering if it is a method that knows when the xml file has been updated and shows the user a message like this: 3 news has been add it. And if the user is pressing a button to read those 3 news, this 3 news will be add it on the top of the news panel.
View 2 Replies
Nov 5, 2009
How would I go about this? any one know of any good tutorials of how to stream sounds from a recording? any special type of server i would HAVE to use?
View 1 Replies
Aug 20, 2011
My video player keeps crashing. Works fine on pre-recorded video streams but when I try and connect to a live video stream it crashes. This is happening in the browser and in the Flash application. No idea how to debug. If I remove the live netstream the player works fine. Am I missing something with the setup for a live stream?
[Code]....
View 11 Replies
Feb 18, 2009
There seems to be very little information on developing a custom component with live preview.So far i've created a swf whose application class extends UIComponent.I've also created a custom component.Then I've added the Live Preview field in the custom component's Component Definition.What I would like to do now is reposition elements within the preview swf when the user resizes the component.
To do this i need to know two things - 1 what event to listen for when the user resizes the component, and 2 the current dimensions of the resized component.
1. My only success was that ComponentEvent.SHOW seems to dispatch when the user resizes the component. (i had no luck with any of the RESIZE events - Event.RESIZE etc)
2. However the width/height properties don't seem to change on resize, they stay at the original dimensions of the component.
View 3 Replies
May 3, 2009
Is it possible to implement a live dvr player that you could record video for say a day, then on the client return to a certain time?
View 1 Replies
Jul 31, 2009
Is there a way once a flash site is live, that my client can change the text or even the images? Even if it's by uploading to the server? If perhaps they were all predetermined in size ect.? Similar to how HTML calls images from a folder located on the server. I'm guessing something to do with PHP? Touching upon this briefly so understand flash uses PHP to communcate outside of the swf file to complete certain tasks.
View 1 Replies