Flash :: Php Parameters Exchange - Parameterize The Video To Select

Feb 9, 2011

I am new to flash, and I am trying to make a simple video player. I have a problem setting the source of video: In my action script I have this: [URL] where getVideo.php is:

[Code]...

View 1 Replies


Similar Posts:


ActionScript :: SQLite Parameters On Select Using Like?

Dec 5, 2011

I tried looking on google but without luck. I have a SELECT SQLStatement and I want to use the LIKE operator but the parameters won't work and the query give me an error

public function getUsersList(username:String):SQLStatement
{
selectRecord= new SQLStatement();
selectRecord.sqlConnection = connection;
selectRecord.text =
"SELECT id_u

[Code]...

View 2 Replies

ActionScript 3.0 :: Flash Video Project - Playback With 3 Choices To Select

Mar 28, 2012

I am having trouble getting a function to work within flash. I basically am creating a video where the intro video plays through then the user is prompted with 3 choices to select which video will play next. I am using keyboard input to make the selection. I have the keyboard input capturing working, pretty basic, but I am having trouble getting it to switch to say scene 2 (where I have another video).

Code:
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.KeyboardEvent;
function reportKeyDown(event:KeyboardEvent):void {
[Code] .....

And I get a compiler error stating "Scene 1, Layer 'content', Frame 1, Line 11 1120: Access of undefined property event.

I've created a new layer in the scene 1 and put that code in and everything compiles fine. I created scene 2 and imported a video into it from the library but the video plays and does not respond to any key input and the output is not showing the trace any longer. Enter does work to pause and play the video though.

import flash.events.Event;
import flash.events.KeyboardEvent;
function reportKeyDown(event:KeyboardEvent):void {
stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
if (event.keyCode == Keyboard.ENTER){
gotoAndPlay("Scene 2");
}}

View 0 Replies

Flash :: What Parameters Can Be Used When Embedding A Video And Access Via ActionScript

Nov 29, 2010

No matter whether you embed a flash video using Flash Satay, swfobject, or some other method, there are a number of parameters that can be passed to the embedded video. I'd like this to be a community wiki for the following questions: What parameters can be used to embed a flash video? How can the parameters be accessed via ActionScript?

View 1 Replies

ActionScript 3.0 :: Exchange Data Between ASP.NET And Flash CS3?

Aug 29, 2009

I was looking for data to be transferred from ASP.NET page to Flash CS3 with actionscript 3.0

View 5 Replies

ActionScript 3.0 :: Exchange Values Between ASP And Flash?

Mar 19, 2012

I want to exchange values between ASP and Flash. I don't want to send it as a querstring like :myswf.swf?var1=value.I don't want my user to see or edit this value.

View 4 Replies

ActionScript 3.0 :: Flash - PHP - MySQL Data Exchange

Nov 6, 2010

I've been struggling with this for a few weeks, but I still can't get it right, and all the info I found is too ambiguous or uses AS2. What I want to do is to retrieve info from a MySQL database, using PHP, and send it to Flash; and in the other way, input info into the database from a Flash form. I want this to make a series of Flash tests for my website. show me a simple example code (on both PHP and Flash) of how to exchange data? PD: I know how to work with databases on PHP, so the only PHP code i need to see is the php-flash communication part.

View 3 Replies

IDE :: Download From Macromedia Exchange This Extension For Flash?

Aug 31, 2004

I just download from macromedia exchange this extension for flash, and all ready have a headache

can you see where my problem is: (i get the "undefined" message all the time)

[Code]...

View 2 Replies

ActionScript 3.0 :: Select Next Video At End Of An FLV?

Aug 4, 2009

I'm completely new to Flash and this forum, so please take 'er easy! I have spent the last several days on lynda.com and searching the internet for various tutorials and trying to get a crash course in AS3. Here's my question:

I am working on a project with multiple FLV's where the character is traveling along a path, and gets to a certain point where the movie pauses and the viewer selects from several options where the character goes next. It's actually a kayaking going down a river and at each rapid the viewer selects which line he's going to run, but that's irrelevent.

At first, I thought I would do this in one long FLV using cuepoints, where I'd use an event handler to pause the video at a certain cuepoint and display button's presenting the options. The button's would skip the video to the appropriate cuepoint down the line in the video and it would continue. It would be one ridiculously large FLV file though, so I don't think this is the route to go.

Then I realized, I could just chop each "option" or "route" up into smaller FLV's. Then, the character is going and the FLV ends when the viewer is presented with their "choices." At the end of the video, I'd like to have the last frame of the video remain on the screen (simulating a pause) and the options buttons pop up so the viewer can select where the character goes. The button's then link to the appropriate FLV correlating with the viewers selection. [code]...

View 6 Replies

Flash :: Data Integration - Exchange Information Between XML And Files

Jan 17, 2008

i'm remodeling a website i've done ([URL]). i want to exchange information between XML and Flash files. i almost did it, but where shoul display information about one item, the whole content of this 'field' is shown. i'll explain better. this swf displays works of an artist. but the field 'date' (or any other text field) display the content of all works (separated by commas). i'll post the xml code and the actionscript code.

View 2 Replies

PHP :: Flash Browser Game - Real Time Data Exchange

Feb 16, 2011

I am developing a non-real time browser RPG game (think Kingdom of Loathing) which would be played from within a Flash app. At first I just wanted to make the communication with server using simply URLLoader to tell PHP what I am doing, and using $_SESSION to store data needed in-between request. I wonder if it wouldn't be better to base it on a socket connection, an app residing on a server written in Java or Python.

The problem is I have never ever written such an app so I have no idea how much I'd have to "shift" my thoughts from simple responding do request (like PHP) to continuously working application. I won't hide I am also concerned about the memory and CPU usage of such Server app, when for example there would be hundreds of users connected. I've done some research. So, considering the fact I don't need real time data exchange, will it be wise to develop the server side part as socket server, not in plain ol' PHP?

View 1 Replies

ActionScript 3.0 :: Making A Flash Website: Not Able To Exchange Info Between 'sections'

Aug 23, 2009

Let's say i have a class that simulates a 'button section'.The button bears a title. Like news. I click on it, i transfer the title in the button and the respective news to the body.The body exists outside the class. It's a textField variable. let's assume.

ActionScript Code:
public function xmlLoad()[code].....

keeps giving me an error.1067: Implicit coercion of a value of type Number to an unrelated type String.but i've seen this done before, except it was on a loader variable...but i don't see how that would be any different.

View 1 Replies

Javascript :: Gain Access To An Embedded Flash Video's Parameters That Is Embedded On A Site You Don't Own Via A Browser Extension?

Jan 2, 2011

I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:

Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)

Is this possible by using Javascript and HTML5 from a browser extension?

Would I have to use something like the SWFObject Javascript API [URL]

View 1 Replies

ActionScript 3.0 :: Select All Video Error - Invalid Source

Jul 15, 2009

I am stuck in custom video player for a long time. The original example of the thumbnail buttons are jpg image. They work. However, instead of stable place of the thumbs, I changed the thumbs to swf file with motion.

I got the error.
Select allVideoError: 1004: Invalid source
at fl.video::NCManager/connectToURL()
at fl.video::VideoPlayer/[URL]::_load()
at fl.video::VideoPlayer/play()
at fl.video::FLVPlayback/doContentPathConnect()
at fl.video::FLVPlayback/set source()
at MyVideoPlayer_fla::MainTimeline/playVideo()

Here is my AS3 code
Code: Select allimport fl.video.*;
var thumb_width:Number;
var thumb_height:Number;
var thumbs_x:Number;
var thumbs_y:Number;
var video_x:Number;
var video_y:Number;
[Code] .....

View 2 Replies

Browse And Select Video From Local File System?

Mar 20, 2010

I'm building an application in Flash CS3 to be deployed on CD as a Projector file. Is there any way to enable the user to browse to and play video files from their local file system.

View 3 Replies

Media Server :: Select Video Codec When Publishing Camera To FMS?

Apr 6, 2010

I learned from some previous post that the default encoding format used when you publish the camera from a Flash player is Soreson. I'm wondering whether it is possible to select to use other codec such as VP2 or H.264?

View 3 Replies

ActionScript 1/2 :: Passing Video Into Flv Playback Component With Extra Parameters?

Mar 9, 2010

I've been given a video url that I want to pull into an the flvplayback component. The url for the video I've been given is:The problem is when I set the contentPath with the above url the component won't load the video with the extra parameters ?var_log=102|441100001-1|- added as it says the path must end with .flvI am asumming that the video provider needs this extra var/parameter to be called in order to track the number of video requests, in which case I will need to keep this in.

View 2 Replies

Actionscript 3 :: Select The Viewstack Container Id Based On Select Field In ComboBox In Flex?

Jun 23, 2010

I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.

<mx:ViewStack id="viewstack1" width="95%" height="85%" x="0" y="63" >
<tables:KeyMetricsBasicTable basicArrayDataProvider="{basicArrayResult1}" width="100%" height="100%"/>
<tables:KeyMetricsAdvTable advArrayDataProvider="{advArrayResult1}" width="100%" height="100%"/>
</mx:ViewStack>

View 1 Replies

Flex :: Select All And Select None Button With In The Drop Down Of Combobox?

Dec 6, 2011

Flex 4 Combobox is extended with a Text Input that helps in getting to the item that is searched for.I have created a Check Box as an itemrenderer for this Flex 4 Combobox. I would like to Add a Select All and Select None options in the drop down of the Combobox. I know that i could accomplish by editing the dropdownfactory in case of a Flex 3 Combobox. But in Flex 4 the dropdownfactory doesnt exist.

View 2 Replies

ActionScript 3.0 :: Exchange One Image For Another With A Click?

Apr 8, 2010

I need to create an interactive web-based system which takes the user through steps to assemble something. One of the pages will have images of the tools needed. I want the user to be able to 'tick' off each tool, so that when they click on the image of a specific tool it is replaced by the image faded out and a big red tick over it. essentially it is replacing one image for another when it is clicked on.

View 1 Replies

ActionScript 2.0 :: Images Exchange On Mouse Over

Jan 12, 2009

I've bought a photo gallery flash template. It's easy to change the photos at this template, just need to put them into gallery folder. But what I need is when the user put the mouse over the other photo "before" version of the photo will pop up. I read this is called mouse roll over or something like this. My question is how can I do it and where should I do it?

View 9 Replies

ActionScript 3.0 :: Exchange Pixels In Bitmap With It From Another?

Nov 23, 2011

I got one bitmap with a (almost) one color background. i need to change all of this with pixels at same x,y from another bitmap.

I know i need to run it through a double for loop and then into an if sentence.

like this:

If (color at x,y is > redvalue && color at x,y is > greenvalue && color at x,y is > bluevalue)then exchange with pixel from the other bitmap.

View 1 Replies

Actionscript 2.0 :: Exchange Different Xml Files From The Same Component?

Jan 27, 2010

You know how when you load xml you use this code.

Code: Select allxml.load("data.xml");

which is the file path to the xml. I would like to know how I could exchange different xml files from the same component. Their must be a way to do this. Like say-

Code: Select allbutton1.onPress = function(){
xml.load("data.xml");
}
button2.onPress = function(){
xml.load("data2.xml");
}

View 2 Replies

ActionScript 3.0 :: Adobe Swatch Exchange (ASE) Loader

Jul 17, 2010

[URL]. You can use it to download and parse into an object the ASE files from sites like Kuler or ColourLovers, for those who want more control than their RSS feeds provide. You get all the group and color info for RGB, CMYK, and Gray color modes (Sorry, didn't do LAB). The object just needs the ByteArray representation of the ASE, so it can be used on embedded or dynamically loaded files.

View 1 Replies

ActionScript 3.0 :: Functions - Modifying To Exchange Information

Jan 26, 2009

I have nested functions, I have removed most of the code.

[CODE]....

LOTS and LOTS of code (pages of it) including multiple arrays, series of questions and prompts that run my tutorial and all are initiated by an initial button press and then act on key-press responses provided by the user. These key-presses are stored in arrays. I could not possibly explain it all without getting comments that I was providing too much information ***

[CODE].....

View 4 Replies

Flex :: Exchange Strings Of Text Between It And Rails?

Dec 4, 2009

I want a Flex UI to send a string of text to Rails which will process and return a string of text. Wash, rinse, repeat. That's all I want. All of the examples I am finding are much more complex and not very informative given my noobiness.

View 1 Replies

ActionScript 3.0 :: Adobe Swatch Exchange (ASE) Loader?

Jul 17, 2010

You can use it to download and parse into an object the ASE files from sites like Kuler or ColourLovers, for those who want more control than their RSS feeds provide. You get all the group and color info for RGB, CMYK, and Gray color modes (Sorry, didn't do LAB). The object just needs the ByteArray representation of the ASE, so it can be used on embedded or dynamically loaded files.

View 0 Replies

ActionScript 1/2 :: Create A Live RSS Stock Exchange Feed?

Mar 2, 2012

how to create a live RSS stock exchange feed using AS2

View 2 Replies

Data Integration :: Netdrims FlashSQL Component On Adobe Exchange?

Nov 11, 2007

i am having a problem with setting up the filpath and datasource using the component inspector for OFFLINE development.I am using Windows XP Pro Service Pack 1.I then installed Network Services although I am OFFLINE.I then installed IIS.I then installed mySQL 5.0 Community Server as a Windows service and client. I then installed PHP5.I am using Flash 8 Pro.I now have a c:php (the php did not create a c:phpwww directory as the instructions say to use)IIS created a c:Inetpub and c:Inetpubwwwroot directory [which I tried putting the flashsql_v51.php file in to no avail)

my component inspector window shows:

ASP_DB : MSAccess
ComponentInst:
dataSource : C:WebsitesFlashDevelopmentFlash with
SQLNetdrimsflashsqlmainflashsql

[code]....

I get different id numbers.how to set these parameters up ASAP for the filepath and filesource, esp this flashsql_v31.php that comes supplied with the component and encounters the above error.

View 1 Replies

Flex :: Exchange User Names And Peer IDs Between All Connected Users?

Feb 13, 2012

I'm building a chat using Flex. The problem is how to do that new user get the list off all users online and added to the lists of all users. I try to put this information in DataGrid through dataProvider "callerns"[code]...Exchange user names and peer IDs between all connected users

View 1 Replies







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