ActionScript 3.0 :: URL Links From Cue Points?

Jul 17, 2009

I've looked in the forums but couldn't find a related topic for this...I have a video with 6 cue points and a button to navigate to each point However I would like to add a getURL to each point.Is there a way to add that in the Video Encoder or another way with AS3? It's a progressive download and my code looks like this:

import fl.video.*;
var cuePoints:Array = ["orange", "green", "red", "blue2", "white", "yellow"];
var targetCuePointIndex:uint = 0;

[code].....

View 0 Replies


Similar Posts:


Actionscript 3 :: Calculating Evenly Distributed Points On A Line Of Points

Oct 3, 2011

I have been tasked with trying to create a drawing tool that draws dotted lines as you drag the mouse across the stage. I can easily capture the points on MouseEvent.MOUSE_MOVE and store them in a vector and then draw the points as dots:

The problem is that I need to calculate evenly distributed points on an ever growing Vector of points so I can only draw the line between say every 5th point (say using modulus). I have been battling away with Bezier curve equations both Quadratic and Cubic but still can't quite figure out how to convert my Vector of points into an evenly distributed Vector of Points without sucking the life from the CPU.

View 1 Replies

ActionScript 2.0 :: Can't Select The Links Which Animate Out A Menu That Holds A Couple Of Links?

Mar 23, 2004

I have a menu once clicked it animates out a menu that holds a couple of links, but with my code I can't select the links.

[code]...

View 9 Replies

ActionScript 3.0 :: Slideshow With Links - Incorrect Links After 1 Replay?

Aug 17, 2011

i created a flash slideshow with pictures of events and link each picture with its own event (ie. each pictures has its own links to the website). I created the fade in and fade out effect using the class motion tween. With the link, I created a layer with a button that has alpha= 0 (so the user don't see it) and then I used code snippet to make another layer with the action script "click to go to url."

When the slideshow goes to the last picture I made it fade out and the first picture of the slideshow would show up and then the slideshow would replay itself (by default?). My goal is to make a continuous slideshow.

When I tested the swf file, the first time it runs, everything is right. The urls and the pictures are in correct order. However when the slideshow replays itself automatically, I notice that the links are incorrect. In the first play, when I click the picture of the event it would open the url of that event.However when the sldieshow replays, clicking the pictures would only open the url of the first event picture. When I click on the 2nd, 3rd, 4th, etc.pictures the browser opens only the link of the first picture of the slideshow.

View 11 Replies

ActionScript 3.0 :: Disabling Links And/or Redirecting Links In HTMLLoader?

Oct 30, 2009

code for disabling and redirecting links in the HTMLLoader:

Code:
import flash.html.*;
import flash.net.URLRequest;

[code]....

View 0 Replies

ActionScript 2.0 :: HTML Links From An XML Document - Links Not Working

Apr 21, 2011

I've got a PHP script that searches for links in a block of text and converts them to HTML values. The $message variable is then entered into my database using a simple INSERT. So far, so good. Then I have Flash parse the message using XML:

ActionScript Code:
function messStyling() {
messCSS = new TextField.StyleSheet();
var messCSSURL = "include/links.css";

[Code].....

The problem, however, is that my links don't work. The rollover works from the CSS styling, but the links don't actually go anywhere. When I rollover the links, the hand cursor doesn't appear, and clicking only serves to change the color back to the non-hover value.

View 9 Replies

Coding - Links Linking To Wrong...links?

Sep 14, 2009

I'm writing some code in Flash MX 2004 and everything works fine except for the last button (4DSystemsProducts).According to the coding if none of the drop down buttons work it should go to products.php, but for some reason it goes to 4DSystemsProducts.php. All of the other menus are coded the same way and work fine, if I take out that button it works fine,or if I take out button 7 and switch 4DSystems to button 7 everything works.Here is the code to clear up this explanation. [code]....

View 5 Replies

Actionscript 3.0 :: Trial Links To Html Links?

Apr 14, 2011

I want to add links to 3 different external html pages in the place of th 3 my trial links(which are on the timeline) Here is code, this creates the three buttons listed in var catBtmmenu_label Array:

Code: Select all// Catalogue Bottom Button
//stop();
//hide button on the stage[code]..........

I dont know how to assign links to dynamic created buttons.

View 1 Replies

AS3 :: Points & Lines - Getting Lines To Follow Points As They Are Dragged?

Jul 21, 2010

I am trying to create a mindmap where the user can drag points about the screen. I have gotten as far as drawing the line via actionscript, and drag+drop the points (defined as movie clips on stage). This is the existing script - I don't know how to get the lines to follow the points. Something to do with ENTER_FRAME or updateAfterEvent?

var line:MovieClip = new MovieClip();
line.graphics.lineStyle(1,1);
line.graphics.moveTo(ptOne.x,ptOne.y);

[code]....

View 1 Replies

ActionScript 3.0 :: Multiple Links - Open The Second Link As Soon As You Open The Links Page

May 17, 2009

I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.

[Code]...

View 15 Replies

F8 Can't Edit FLV Cue Points

Jun 18, 2008

I am following a good tutorial here:URl...And it uses the following example file to display an embedded FLV movie:URL...I am having a problem editing the cue points. If I open the compenent inspector for the FLVPlayback, and then open the cuePoints dialog, I should be able to add, remove, or modify cue points. However, I can't edit anything in the dialog at all. It seems locked.The tutorial clearly states you should be able to edit the points.

View 1 Replies

[CS3] Can't Edit FLV Cue Points

Jun 18, 2008

[URL]In the tutorial, it says I should be able to edit cue points for the FLV video. I open the component inspector and the cuePoints dialog. All the cue points are listed, but it won't let me edit them. They seem ti be locked. I need to be able to edit cuepoints within flash for a linked flv file.

View 1 Replies

Can't Edit FLV Cue Points

Jun 18, 2008

I am following the tutorial here at URL...and it links to the following tutorial file:URL...In the tutorial, it says I should be able to edit cue points for the FLV video. I open the component inspector and the cuePoints dialog. All the cue points are listed, but it won't let me edit them. They seem ti be locked. I need to be able to edit cuepoints within flash for a linked flv file.

View 1 Replies

ActionScript 2.0 :: Using Cue Points In FLV's?

Jul 17, 2007

I am SUPER confused on how to make use of the cue point that I embedded in my FLV.It is called "END", is at time 00:00:46.114 and is Event type.How do I go about calling an action, say loader.loadMovie("info.swf), when the movie reaches that point?

View 5 Replies

ActionScript 2.0 :: Skipping To Cue Points With FLV?

Apr 28, 2009

I'm currently streaming a video with AS2 using netstream.I have already found out how to pause my video on certain cue points, however I do not know how to skip to certain cue points.Basically I have buttons, which will each skip to a certain part of the video.All my cue points are embedded in the FLV.To pause my video I have the following code:[code]Any help on how I can use the buttons to skip to say "SecondCue" and "ThirdCue"?

View 1 Replies

ActionScript 2.0 :: Using Cue Points With NetStream?

Mar 9, 2010

I have a video with 2 embedded cue points (event). The video player uses NetStream and is NOT a FLV Playback component. I can trace them and see both name and time with this:

[Code]...

View 1 Replies

Use External XML To Add And Set Parameters For AS Cue Points?

Dec 3, 2008

I am trying to use external xml to set cue point times (for video), titles, and other parameters. I have everything set up, except getting the proper data from the xml file to set the parameters for my cue points. I am researching hard and learning quickly

View 2 Replies

Why Registration Points Are On Objects

Jun 18, 2009

For some reason I'm having trouble designating where my registration points are on my objects. When I create new objects the option is simply not there. Also, when I'm doing some actionscripting, my text does not change colors, even though I've set it to do so...

View 3 Replies

ActionScript 3.0 :: Getting A Cue Points Time?

Aug 11, 2009

Is it possible to get the time of one of my navigation cue points. I am using the NetStream class and want to seek to it, but just realized that I can only do that if I have the time for it. Is that possible?

View 12 Replies

ActionScript 3.0 :: No Access To Cue-points

Dec 2, 2010

I have added an flv-playback instance to the stage in Flash CS4. The flv has some cuepoints named "01" - "10". The cue-points were set in AfterEffects CS4. There's some event- and some navigation-type cuepoints. I now attempted the simple task of getting a specific cuepoints' time using actionScript. Easy enough one should think, but apparently it isn't.[code]...

View 6 Replies

ActionScript 1/2 :: Navigating From Cue Points In A FLV

Sep 24, 2011

I am using Flash CS3 and AS2 on a PC. I am making a CD in Flash, for a client. The CD has videos, images and text. What I need is be able to go to the next scene once an FLV has finished playing. Also if a new FLV can be loaded once the curent ends. The FLV is in the FLVPlayback component. I need to add Cue Points which I can use to navigate with. The client would prefer a minimum of buttons, and thus auto navigation once a point is reached.I would prefer to avoid the need for me to use third party software or add-ons unless absolutely necessary.

View 3 Replies

Professional :: Looping With Cue Points?

Dec 17, 2011

I would like my video to play through the external flv once, and then loop back to the middle of the external flv.I have made 3 cue points on the stage in actionscript, labeled "beginning","middle", and "end.here is my code which seems like it should work, however, I get an invalid seek 1009 error.

stop();
import fl.video.FLVPlayback;
import fl.video.VideoEvent;
import fl.video.MetadataEvent;[code]......

View 3 Replies

Use Event Cue Points To Add Buttons?

Dec 17, 2011

How do I go about having buttons display in an external flv file?  I know I can establish event cue points with Adobe media encoder.  I want the the buttons and graphics to appear and stay on the screen, even though the external flv loops.

View 18 Replies

ActionScript 3.0 :: X And Y To Specifc Points

Feb 2, 2012

I can bring the two selected cards (out of 28 in a grid). Is there a way to get any two cards in the grid to line up inthe center? I'm thinking of having two invisible mcs and have one align to one and one to the other. I want to make sure they don't overlap (hence why the mc idea). trying to accomplish this without going crazy as its just aligning two things.[code]

View 9 Replies

Creating A Line Between 2 Points?

May 20, 2009

I want to create line between 2 points ...such tht the line will start when i click the point A then i will drag the line by holding it to point B and i will join the line to point B by clickin on point B (somethin like the pen tool) ..then line will then be joined between the points ...

View 1 Replies

Actionscript 3 :: Distance Between Two Points

Apr 19, 2011

Is there any difference between: distance = point1.subtract(point2).length; and distance = Point.distance(point1, point2);

View 3 Replies

AS3 :: Flash - Get The Two Points Of A Line?

Oct 15, 2011

I have a component (link to Test class) which contain one line in it, and I put one point of this line to (0, 0).

Then drag it to Flash(fla), and get its Shape in AS3 like:

// in Test.as
// assume that the movie clip only contain one line.
var line:Shape = Shape(getChildAt(0));

And I can get one point of this line which is x and y of var line. But how to get another point of this line?

Edit:
Ignore component stuff above, here has another question but I guess it pretty much the same as the question above:

Draw a line from (0, 0) to (10, 10) and draw another line from (10, 0) to (0, 10), how to get those lines of two-point form in AS3?

If I access them as Shape then I get two similar shapes which have same x, y, width and height values. Does AS3 has some way to access line as a REAL line not just a shape? or does it has any way I can calculate it out?

View 2 Replies

ActionScript 3.0 :: Points On A Shape?

Jul 3, 2009

I have found many posts on how to draw shapes using the drawing API. However, I'm trying to figure out if it is possible to get the coordinates of points along an exisiting path on the stage and then tween these points to new random coordinates (distort the path).

View 5 Replies

ActionScript 2.0 :: Pause Flv Xml Without Cue Points?

Oct 23, 2009

What I want is for a video to load and then four photos to load in over the top with linked text below each photo. This would then move onto the next piece of xml and load the next video, new photos and accompanying text. I have tried to simply duplicate some of the attributes that are already there but for some reason the xml is not loading into my created holders. Plus because of the way it is loading only the video changes and not the photos and text.

View 9 Replies

ActionScript 2.0 :: Use Xml To Link To Cue Points In Flv

Feb 17, 2010

I have a fla file with a menu and flv video in it. The buttons for the menu are created with an xml file. I want to use the buttons to go to navigation cue points in my flv instead of a url, but I do not know how to do this or if it is possible. Here is an example of one of my buttons:[code]

View 2 Replies







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