ActionScript 3.0 :: Several Buttons That Each Target A Video Cue Point But Only One Works?

Mar 17, 2010

I have the code that works for one button to find a cue point but how can I make this work for several buttons and their respective cue points?
 
seek-btn2" to find cue 2(named "lou2")
import fl.video.*;
// Video component instance namevar flvControl:FLVPlayback = display;var flvSource:String =

[code].....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Several Buttons That Each Target A Video Cue Point But Only One Works

Jul 27, 2009

I have the code that works for one button to find a cue point but how can I make this work for several buttons and their respective cue points?[code]

View 3 Replies

ActionScript 3.0 :: Evt.target.name Only Works Once?

Jul 8, 2010

I have a simple event listener which calls a functions which first uses a switch case statement to determine what evt.target was pressed by name so I can assign info there--presently I just have trace statements--the problem is that it only works once and then I just get instance29 and the switch case evaluates to the default.

Code:
lifering1.addEventListener(MouseEvent.MOUSE_OVER, playSplash,false,0,true);
function playSplash(evt:MouseEvent):void
{

[Code].....

View 21 Replies

ActionScript 2.0 :: Target Is Correct, But Button No Works?

Apr 13, 2005

this.menu_buttons_mc.menu_01_mc.menu_01_btn.onRele ase = function ()
{
trace ("this.menu_buttons_mc.menu_01_mc.menu_01_btn.onRe lease CALLED");

[code].....

View 3 Replies

ActionScript 2.0 :: FMX Target Path That Works Both Ways?

May 25, 2003

i have a main-movie with a movieclip called "area", into this movieclip is loaded an external movie.swf

a clip inside this movie.swf has the below script
onClipEvent (enterFrame) {
_level0.area.displayfield = "hello"

[code].....

View 3 Replies

ActionScript 2.0 :: Target Is Correct But Button No Works

Apr 13, 2005

I used as usual: this.menu_buttons_mc.menu_01_mc.menu_01_btn.onRele ase = function ()
{ trace ("this.menu_buttons_mc.menu_01_mc.menu_01_btn.onRe lease CALLED");}; But problem ist : it works only for one btn. Why? Try click the second flake from above and see AS layer please. I think it would be easy for you but diffic. for me.

View 3 Replies

ActionScript 3.0 :: .target.content Works Offline, But Not On Server?

Aug 21, 2009

I've set up an event listener to check if an image has been loaded. If yes, then change the width and height of it. I achieved this by using .target.loader.content. It works fine on my machine, but things are different, when I upload the swf to the server. the images get loaded, but aren't resized as they were offline. What might be causing this? What changes should I do in the snippet to get it working.This is the function that is called using the eventListenerfunction setImage(evt:Event){  sig_txt.text =evt.currentTarget.content.toString();  var loader:Bitmap = evt.target.loader.content as Bitmap;  gallery_mc.addChild(loader); var ratio:Number = loader.width / loader.height;  loader.width = 100;  loader.height = 100 / ratio;  loader.y = total_height;  total_height += loader.height + 20

View 11 Replies

ActionScript 2.0 :: Movie Clip Buttons - Target / Make The Buttons On The Other Frames Work

Aug 7, 2009

I have a movie clip with 15 frames. Each frame has buttons on it (mc's)... I was going to put the actions on the main timeline/stage and navigate within the MC from the main timeline. Is that possible? I can get the buttons on the first frame of the MC to work, but I can't seem to figure out how to target/make the buttons on the other frames work? I was thinking I could identify the path of the MC with the frame labels, but that doesn't seem to work. like: _root.RMChanger.(frame label).buttonOnFrame = function

I have to move a text box in and out over the MC backgrounds on the main stage... which is why I was thinking to do it this way? I've been switching back and forth bwtween AS2.0 and 3.0

View 9 Replies

ActionScript 3.0 :: Pan Buttons Are Not Working But Zoom And Reset Buttons Works

Aug 12, 2009

im working on a zoom/pan gallery and i have a problem that i can't solve.URL...the pan buttons are not working but the zoom and reset buttons works. im working on movie the image using the mouse now, if you will hold the image and move it it will drag it on stage.the image is a loader the loads and image and placed on screen.there is a mask on top of it and a frame that indicates the size of the gallery.when the user pan the image loader content i want it to stop as soon as it gets to the gallery frame,but i cant seem to find the best way to do it.so basicly when the image is in 100% i dont want the user to be able to drag it but after you zoom the user will be able to drag it but only to the edge of the frame so there wont be any white spaces.i tried a lot of different ways to do it but all of them are complicated and not working the way that i want them to work.

View 2 Replies

ActionScript 3.0 :: Cannot Change A Target Point Of Loaded Bitmap?

Apr 28, 2010

I have gallery which I want to modify. Now, I load big image on the stage by clicking thumbnail menu. I can see a small preview of that thumbnail on mouse over. Thumbnail preview is done by cloning thumbnail image and nest that image into thumbnail preview window.

[Code]...

However, it did not work yet. I do something wrong. I am wondering if someone can help me to figure it out. I spent a lot of time to modify it as It looked like a simple thing but without any success. I will provide more information if needed. The project consists of many classes I can explain more if the information I provided is not enough.

View 0 Replies

IDE :: Bind Method So Event Point At Parent / Class Rather Than Target?

Feb 16, 2009

I just recently been using a lot of prototype javascript stuff, and was wondering there was anything like the "bind" method, for use in AS3. It's proved quite useful to be able to look both at the event.target as well as the class object the handler function might be associated with.

View 5 Replies

ActionScript 3.0 :: Next Video Play When The First Video Reaches Cue Point - Error 1046

Jan 6, 2010

I have a project where I am bringing in one video with a cue point at the very end with the name of "End." I'm trying to have the next video play when the first video reaches that cue point. I keep getting this error: 1046: Type was not found or was not a compile-time constant: MetadataEvent. Here is the relevant code I believe:

[Code].....

View 7 Replies

ActionScript 2.0 :: Tell Target With Buttons?

Oct 21, 2003

I am currently having a problem adding the Tell Target action to a button.

The following is the hierarchy of my timeline:

-Root
---Movie Clip (Instance Name="FadeIn")
------Button (Instance Name="Button")
----------Movie Clip (Instance Name="About")

The Movie Clip i'm trying to control is "About". This MC is also placed within the 'Over' state of "Button"

I keep receiving the Target Not Found error in Base="_level0.FadeIn"

View 3 Replies

ActionScript 2.0 :: How To Target Multiple Buttons

Aug 6, 2006

[code]I can contorl the current selected mc.like myButton1.But How I can control the other button action at the sametime.like myButton1._alpha =50, myButton2,myButton3,myButton4...._alpha = 30.

View 5 Replies

ActionScript 3.0 :: AddEventListener - Different Buttons - Same Target Frame

Nov 3, 2009

I am trying to make an animation with addEventListener, different buttons, same target frame. My problem is that the animation keeps changing automatically from one frame to another. Here's my zipped fla file.

[Code]...

View 4 Replies

ActionScript 3.0 :: Target One Movie Clip From Another Using Buttons?

Apr 11, 2011

Im just learning AS3 and am having some problems finding the answers to what I need so im trying here. I have two movie clips on my stage.

movie clip #1 (instance name "menu_mc") has a button inside it with the instance name of "btn1_mc" and the following code (what i have as of right now...need click function) on frame 1:

[Code]...

View 3 Replies

ActionScript 2.0 :: Adding Tell Target Action To Buttons

Oct 21, 2003

I am currently having a problem adding the Tell Target action to a button. The following is the hierarchy of my timeline:
-Root
---Movie Clip (Instance Name="FadeIn")
------Button (Instance Name="Button")
----------Movie Clip (Instance Name="About")

The Movie Clip I'm trying to control is "About". This MC is also placed within the 'Over' state of "Button". I keep receiving the Target Not Found error in Base="_level0.FadeIn".

View 3 Replies

Sticky And Malfunctioning Buttons - Works Not All The Time

Apr 18, 2010

I have these navigation buttons (code below) and only some of them work and not all the time.

[Code].....

View 1 Replies

ActionScript 3.0 :: Playing A _mc From A Certain Point With Buttons

Oct 21, 2009

I am creating my first flash website and have hit a wall, i have four buttons"HOME, ABOUT, PORTFOLIO, CONTACT" and each button plays through the same movie clip from different points. ie the labels.

"HOME" being the first part of the movie and "CONTACT" being the last section with "ABOUT & PORTFOLIO" playing the sections inbetween.

but what i am trying to do is make it so that when i am at the home section and click "CONTACT..etc." i want the movie clip to play all the way through the about & portfolio sections to get there, and back again if i click one of the others*(from contact to the about, home or portfolio section)

View 0 Replies

IDE :: Navigate To Cue Point Using Custom Buttons

Nov 25, 2009

I just imported a video file with 2 sections titled:

music
light

This should help:

So this code works perfect with a componant button but I can't make it work with a normal one. Why? What is so different about them. Why can't I make a normal button and give it the same name "my_button"

For some reason even if I name the button the same thing as the component button it no longer works

View 2 Replies

Flash Video Works In IE Not Firefox?

Nov 9, 2009

I've started my first flash movie and it works in IE but not in Firefox. Can anyone help me out? Here is the code that I am using (I pulled the syntax from a web site and modified it):

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=6,0,40,0"

[code]....

View 1 Replies

ActionScript 3.0 :: Target Buttons That Are Nested 2 Levels And One More Thing?

May 12, 2011

The garage door has a chevrolet logo on it that is pulsating. I know how to make buttons but I need the garage door to become a button that when clicked the animation plays rather than it playing automatically.The top of the tool chest will be a button that plays the animation in reverse and the drawers are buttons that open to an email form for each.  But I don't know how to target these buttons because they are nested two levels below the main timeline.

View 1 Replies

ActionScript 2.0 :: Code On Buttons Works While On Movieclips It Doesn't

Dec 4, 2009

I've got several buttons in a tween (graphic) and a few movieclips in two of the buttons. They all have the same code

[Code]....

but this code works only on buttons, not on movieclips.

View 0 Replies

Professional :: Video Start At Specified Point?

Dec 10, 2009

how to make a video start playing at a specified point in the  middle of the video rather than from the beginning. Not sure if it's something that easily can be done in Dreamweaver or if it's involved with the flash settings.

View 21 Replies

ActionScript 3.0 :: Following A Point In An Embedded Video?

Aug 25, 2010

I'm working with Actionscript 3.0 and I'm working on a project that requires me to know where a certain point in a video is at all times and have it relay that information to me via trace. I'm having a hard time figuring out how to select a point within the video and getting that point to move with the subject.

View 3 Replies

Flash :: FLV Cue Point On Video Import?

Feb 23, 2012

I'm having trouble with a simple AS3 (CS5.5) project I have imported a video encoded through Adobe media encoder as a FLV file and have added a Navigation Cue Point at the end of the video as I would like the video to simply go to a frame number when the video has ended so it doesn't stop on that video.

I have used a code I have used on many occasions in AS2 which I put on a keyframe at the top where the video runs under and give the video an instance name of vid:

[Code]..

Ideally I just want the code go to a frame number when the video finishes instead of staying on the video.

View 1 Replies

ActionScript 3.0 :: Starting Video From Cue Point?

Oct 12, 2010

I have a video that I don't want the beginning of, I know how to set the Cue Points but I am not very familiar with ActionScript 3.0 and would like to learn some code to start my video out at a cue point so I can put this video inside another flash video.

View 0 Replies

ActionScript 3.0 :: Loading SWF On Cue Point In F4V Video

Oct 17, 2011

I'm simply trying to load an external swf on a cue point in an F4V video. I used the FLVPlayback component to add a cue point where I want it, and I have a separate swf that's just an animated button I want to play, but I can't figure out the AS to use to play the swf on the cue point.

View 2 Replies

IDE :: Load A Linked Mc Via A Video Cue Point?

Mar 31, 2009

Using flash 8 pro, I've imported a video clip and embedded cue points at the first and last frames - these are named 'intro' and 'outro'. I have the flv paused at the first and last frames via the component inspector, and it is a 'talking head' type affair - all good so far.

At the very end of the video clip I want the 'outro' cue point to dynamically load a movie clip from the library with the linkage name 'p-overlay_mc' which will, in effect, blend a logo over the video when it ends. Can this be done?

I guess this sort of cue point triggered event is the equivalent of an 'enterFrame' event. My guess is that i will need a script from the root timeline targetting the cue point within the .flv, but i really don't know the script needed.

View 1 Replies

XML Scrolling Thumbnail, Image Loader, & Buttons [halfway Works]?

Jul 2, 2009

Intro:I started a flash-based website a few years ago. Back in 2006 I was able to get a xml scrolling thumbnail, image loader to work without a glitch.For numerous reasons I had to put the project on hold until now. [one was that my 30 day trial of flash expired and only recently was I able to purchase the Adobe Web Suite CS4 as well as a new computer which could run the apps.]

Last Friday saw a bump in the road in the development of my site as two, rather straightforward task, turned into something short of a nightmare as I have been unable to get past these two, seemingly, relatively simple task.I have posted in 4 other flash forums the issues, in detail, that I am facing - and have quite a bit of interest/views in the topic as the numbers suggest - yet no response/answer as of yet. [Which confirms other messages I have seen which seem to state that working with buttons has become increasingly difficult with the newer version of flash - something Im a bit surprised with actually from Adobe. - I would have thought there would be a palette where you could set parameters...] 

Screenshot of Site/Timeline: Before getting into the two questions I have, I would like to post an image of the site as it looks whenever an swf file is saved out, as well as a piece of the timeline in the back for reference.As of now when the swf file is saved out you get exactly what you see above:

a: A scrolling thumbnail

b: ...which loads a large image when clicked on it - PEFECT...
 
BUT...1a: I need for the buttons to load in this action, not for it to just load on its own.[i.e., the silk_paintings gallery is what is open, so I need the "silk_paintings" button to call up this action]
 
note: Initially I had attacked this problem by taking out the actions layer you see above and applying it directly to the individual buttons with some crude MouseEvent Listener/Handerls... that did not work - at all.Im sure it may be "easier" to make an array out of it, but with my coding level it may be "easier" to apply it to the buttons.
 
1b: How I currently see it, I would take the xml-list and duplicate it for the number of galleries I have.[I would then re-name the xml-list to reflect the name of the galleries they are to represent, i.e. "silk_paintings"][also, I would have to rename the folders to "thumbnails1,2,3, etc., & "images 1,2,3, etc"
 
From there I would duplicate the actions and paste it into the buttons, changing the xml-list name to that of "silk_paintings", etc., as well as write in the MouseEvent listener Handler to make it work. [ah, ha, but what is that magic phrase, I have tried to implement various code from other tutorials, and all in vein.]
 
At this point I would be tickled pink just to get this to basic function to work.However, once the buttons are working and calling up the xml, etc., then I need the buttons to stay on the semi-transparent blue color it is whenever in the 'hit' state. [note: NOT pictured above.]With the way the buttons are currently set up, and with wanting to use scripting to get them to interact with the thumbnail gallery, it will have to be some miraculous code to tell that button what color to stay as whenever its clicked, and of course it going back to white when another button is clicked.
 
Conclusion:Since this is an Adobe Forum I would like to make a few additional statements in hopes that the developers, etc. may take heed.Adobes products are not cheap, and when I went to purchase the websuite I went in as a designer needing a program as not to need to program.I understand the flexibility that coding gives, but something as simple as linking buttons should not be in the realms of rocket science.

stop();
fscommand(allowscale, false);//keep SWF display at 100%

var x:XML = new XML ();//Define XML Object[code]....

View 31 Replies







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