ActionScript 2.0 :: Put The Video In The Index.php?
Jan 2, 2004
I want to know, i have a video.swf in a page, and when the video finish, it go to another [url]...
how can i put the video in the index.php, and send 1 variable via post, so when it finish send to the same url that he are but with a varible, and them in php i look this variable and show the page
main.swf has a button that when clicked activated loadMovieNum 1.swf on top of main. I need a button on 1.swf to unloadMovie back to main (works) but when the main.swf is loaded I need it to go to a specific frame. I tried this on the button in swf 1 and the first part works but how can I get the videoindex.swf 0 to play a frame?
on (release) {loadMovie("videoindex.swf",0);} on (release) { gotoAndPlay("spaces"); }
I want to show a div over a YouTube video but can't get it to work. I know that if you set the wmode to transparent or opaque it should work, but I've only seen this work when the <embed> or <object> tag is used. YouTube now embeds the video in an <iframe> so when I tried it, it didn't work.
Here's what my code looks like. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[URL]"> <html xmlns="[URL]"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title></title> <style type="text/css">@import "reset.css"; [Code] .....
have a FLV (video) that we'd like to set up as a quickintro before the browser is automatically re-directed to the homepage. Trouble is, the AS written so far opens the new pageimmediately; there's no wait-for-a-trigger written into it, andfrankly, no trigger. The movieclip is a self-starting one-framer;when I select it, I cannot create actions ("Current selectioncannot have actions applied to it"). I can, however, select the keyframe and write actions. Here iswhat I've got so far:
var url:String = " http://www.mywebsiteurl.com/index2.htm"; var req:URLRequest = new URLRequest(url);
How can I have a video (or youtube video) play on loading my website with the option to "skip". If the skip video is clicked then that will redirect to the index.html however how can I set it up so that when the Video finishes playing it automatically loads the index.html in the website.
(If the video has to be embedded in the index.html so that the rest of the website is elsewhere that's fine too).
I'm looking for a Flash Video Player (something like JWPlayer) that I can embed in an html page, that provides a JavaScript API with a method to get the exact timestamp (aka position, or frame-count) for the current frame.
Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..
I made a video in After Effect and export it to flash as a FLV video.. and write de code to load it into flash.. but I need it to loop.. Here is the code
Ive copied some code for an xml image viewer that contains a thumbnail scrollbar which loads an enlarged image on click. I want to change the code to go to the next image when I click on the big image. I cant seem to figure out how to find the current index number and add 1 to go to the next one in the onClickBack function.
function fileLoaded(event:Event):void { myXML = XML(event.target.data); xmlList = myXML.children();
I've set the tabIndex for three input boxes in a flash form. When tabbing through the boxes I get a green highlight. Is there a way to change the color or eliminate the highlight all together?
Inside the movieclips I have some code. In this code I need the index-number of the movieclip. I'm staring the code off with: var indexr:Number = _root.i; The for-statement is so fast that all the movieclips get number 9 in the index-variable! Is there any trick to manage this, like can I get the index from the name in some way? Or do I have to work around it in some more or less complicated way?
I have a flash drop down menu that overlaps a separate flash piece in an HTML page. The example of what I am talking about can be found here: [URL]
When you hover over product types, you'll notice that the drop down falls under the 'water banner'. I have set the z-index of that specific banner to be lower than the flash header but it still did not work. When I change the 'water banner' to a static image instead of a flash file, the menu overlaps without a problem.
This is the style that I have applied to the navigation bar
I thought that there was a way to be able to name array indexes. Like instead of myArray[0], it could be myArray["tileFour"]. I thought that instead of using index numbers one could use index words.
I'm just fooling around making an inventory system and I was wondering if there is a way to work out the next available index in an array without pushing the item into the array.So for instance
var array:Array = new Array(); array[0] = new Object(); array[1] = new Object();
a main movie clip (photo_group) which call an external movieclip from xml which call another movieclip which load a video... but the video is placed at the bottom of my main stage and i would like to have it at the top of everything.
main clip : function loadClip():void { var Clip_request:URLRequest = new URLRequest( folderswf + photo_list[swf_no].swf); var Clip_loader:Loader = new
I have used flash for several sites. I am using CS5. I'am use to publishing Flash files to the server, naming the HTML file as index, I also name my SWF file as index. But When I go to the web and look at my site, the tab syas index. I tried changing the SWF file to the name of the site, but this does not work. I also tried and renamed both files and indexnameofsite.HTML, but this also does not work. I tried looking at the script file (open it in notepad) but its mumbo jumbo to me.
where activeCarton is a variable referencing an array of movie clips. Does activeCarton contain the name of the mc or the index. How can I get the mc name string?
I created some classic text boxes and assign to each of them a tab index using the syntax: "fNameInput.tabIndex = 0; fNameInput.tabIndex = 1; fNameInput.tabIndex = 2;" etc.
afterwards, I decided to turn them into TLF boxes but after I did so, the tab index feature stopped to work.
What's wrong in my code and what should I do in order to turn on the tab index attribute?
I have a game map made of tiles, each tile is stored in an array called _tiles.The very each tile has a "plantable" parameter, which determines whether or not something can be placed on it.Then i loop through the array and check the position of each its elements against the mosue cursor, so I know which tile am I hovering with my mouse.
And it works pretty good. The problem is that even though I know what is the position of the tile I'm having the cursor on, I still lack the knowledge of what index is that tile. I simply can't tell where exactly in the array is placed this tile. I just know its position. The reason why I want to know the index of it, is because it's the only way for me to set a proper flag, namely whether it's plantable or not. Here's the code:
I made a flash website in AS3. Normally, when an user enters a webaddress, the index.html is opened. Now I want to open the index.swf file INSTEAD of the index.html. I DONT want to create a html document that includes the swf file, I just want the swf file to play on its own. A long time ago I red an article about creating an index.php file, with a little piece of code that does this for me, but I cannot find this code anymore. Someone knows what to do?
Is there a way I could specify the index of a array using this short code:[code]How would I go about giving a custom index name instead of it being myArray[0]? I could do it the long way like posted below, but I was wondering the there was a way to shorten this:[code]