ActionScript 3.0 :: FlvPlayback Skin Custom Button Calling External Function
Apr 1, 2011
I have a custom movie clip in the flvplayback skin and I am looking for a way to call an external js function.[code]Unfortunately, the External Function is not being called at all.
View 10 Replies
Similar Posts:
Jul 29, 2010
I have an FlvPlayback skin, which works really well, except the custom button. Basically this button needs to be able to call a function in the parent movieclip (that loaded the FlvPlayback, which in turn loaded the skin).
I am not really a Flash developer, and have not found anything on Google relating to this. It seems like a simple issue, but I just do not have enough knowledge of flash.
How to call a function in the base swf which has a FlvPlayback movieclip, from a custom button in the skin file.
View 1 Replies
Sep 13, 2010
I am trying to set a custom skin URL on an FLVPlayback object. The object is on the stage named vid. When I have the following code: vid.skin = '[URL]'; I get the following error when debugging in the CS5 IDE: Error #1014: Class fl.video::UIManager could not be found When publishing the file to an SWF it "dies" (it stops video playback) at exactly the same point. There is no error message or other indication of what happens in the browser. The flash still seems to work, it responds to ExternalInterface events. It just refuses to play the video. I'm using FLVPlayback 2.5.0.26 with Flash Pro 11.0.2.489 on Win7 64-bit.
How do I fix this? If I comment out the video.skin assignment then the video plays great (except there are no play/pause controls). But when I try to set it I get this internal Flash error. Incidentally if I assign vid.skin = 'invalid/url' then it doesn't die, instead it gives me a warning that the skin cannot be found. The valid.swf url is a copy of the MinimaFlatCustomPlayBackSeekCounterVolMuteFull.swf skin that comes with CS5.
[Code]...
View 3 Replies
Feb 24, 2011
I am working in CS5/AS3 with an FLVPlayback component and a pre-made skin with some custom colors. It is a skin with the caption button included (SkinUnderAll to be exact). I'm using Timed-Text files for the caption content. The captions work just fine. All other buttons on the skin show up, but the toggle button isn't showing up.
I checked all of the linkage in the skin's FLA, checked the AS that creates the FLVPlayback and FLVPlaybackCaptioning objects. All seems fine there.
I've checked the paths and SWF locations to be sure all are in the right places.
I've also included a SKIN_LOADED event listener to get around the default captions-on issue. I'm just not seeing what the issue is. I'd prefer to not go back through my code and make a custom control panel with button components. Started this in CS3 and moved the file to CS5, so I'm not sure if there's something I overlooked in the documentation that spells this out.
View 4 Replies
Jun 17, 2011
I'm building a videoplayer using the flvplayback component for flash cs5 the skin i'm using is SkinUnderAllNoCaption.swf.my question is how do I modify the code for the forward button currently the forward button scrubs the video file.I want the forward button to go to another video and for the rewind button to go to the previous video.
View 1 Replies
May 22, 2009
I am creating my own skin for the FLVPlayback component. I coped an existing one, renamed it and made some changes very easily.
However, I want my player to have fewer buttons. I had a go at removing some buttons from the layout_mc but when I published I found that the buttons I had taken out were appearing in the video playback area of the stage (I'm not really surprised it didn't work because the manuels say that layout_mc isn't actually put onto the stage at runtime, its just used for working out where things will go...)
ANyway, how to I successfully delete a button such as the fast forward
View 5 Replies
May 23, 2010
Is there anyway to add some new custom buttons on a FLVPlayback skin? i already try to put the button, everything fine, add a dispatchEvent with bubbling true,to that button to capture elsewhere in my aplications, the button appear on the skin but canīt get the Event
View 2 Replies
Apr 29, 2009
A video should be loading to the second pane of this carousel[url]...
But, on some systems, the playback controls, and the video, are not loading. When working correctly, as the swf seems to do on some systems, the video is covered by a movie clip of the first frame, and then a play button is loaded atop the image. When a user clicks the play on the skin controls or the button that has been loaded on top of the video, the image and button are moved off the stage and the video plays.[code]...
View 1 Replies
Sep 7, 2010
Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file? I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project. When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin. If it is not possible to publish as one swf, how I can insert the 2 swfs into a Captivate file and get them to work?
View 3 Replies
Mar 25, 2011
I am trying to customise a FLVPlayback Skin that has a counter in it, (MinimaFlatCustomColorPlayBackSeekCounterVolMute.fla)If i modify any of the skins without a counter there is no problem however when i try to publish one of the skins with a counter i get these compiler errors:Warning: unable to load SWC FLVPlaybackAS2.swc.1046 type was not found or was not compile time constant: NetstreamPlayOptions
View 4 Replies
Apr 11, 2011
I'm trying to set a fixed dimension for the skin of a FlvPlayback that is loaded dynamically irregardless what size the container is.
View 3 Replies
Oct 30, 2010
I'm trying to insert a player on a Facebook Page tab with FBML with fb:swf. I have the following:[code]I can see the video, no problem. It plays inside a FLVPlayback component, which uses a skin (referred by /player/skinName.swf, I tried also the absolute path here). This player works perfectly everywhere else (even on an iframe Facebook application, where it's not inserted using the fb:swf tag, but with object, of course). However, I can't see the skin on the Page tab.
View 2 Replies
Apr 29, 2009
A video should be loading to the second pane of this carousel:But, on some systems, the playback controls, and the video, are not loading. When working correctly, as the swf seems to do on some systems, the video is covered by a movie clip of the first frame, and then a play button is loaded atop the image. When a user clicks the play on the skin controls or the button that has been loaded on top of the video, the image and button are moved off the stage and the video plays.Here is the code referencing the video:
Code: Select all//Import FLVPlayback components
import fl.video.*;
import fl.video.VideoEvent;
[code]....
View 1 Replies
Jun 30, 2009
Here's a coding question for the guru's I've written a simple function that will clear a form. I want to call this function from another function (4 of them to be exact). I could copy and paste code multiple times and everything will work. But where's the fun in that? There's something to be said about clean code.
For sake of explanation, the tween are working 4 layers that are on top of each other (don't ask )
Code:
[Code]...
View 2 Replies
Oct 13, 2009
I want to play a video, for it I decided to use a FLVPayback with a skin, and it works very well when I test it in Flash CS4, also when i called it from my server with the "network access" only preference. But when i embeded into a html... it plays the video but the skin doesīt shows up.
here is my code:
package
{
import fl.video.FLVPlayback;
import flash.display.Sprite;
import flash.display.*;3
[Code].....
View 1 Replies
Jul 9, 2010
I have been working on modifying an existing FLVPlayback skin. Ideally I would like to have one that uses a counter. The problem is, all the fla's provided for the skins with counters fail to publish/compile correctly. Fla's are here: C:Program FilesAdobeAdobe Flash CS5CommonConfigurationFLVPlayback SkinsFLAActionScript 3.0
[Code]...
View 2 Replies
Jul 21, 2010
FLVPlayBack asks a link for it's skin. How can I bult-in skin in project, so I will have only one swf in result?
View 1 Replies
Mar 4, 2010
I'm trying to insert a player on a Facebook Page tab with FBML with fb:swf. I have the following:
<fb:swf
imgsrc="http://IP/player/player.gif"
swfsrc="http://IP/player/player.swf"
[code]....
I can see the video, no problem. It plays inside a FLVPlayback component, which uses a skin (referred by /player/skinName.swf, I tried also the absolute path here). This player works perfectly everywhere else (even on an iframe Facebook application, where it's not inserted using the fb:swf tag, but with object, of course). However, I can't see the skin on the Page tab.
View 1 Replies
Apr 6, 2005
I need to get access to the buttons inside an flvplayback skin. After a bit of googling I've come across several solutions for AS2 but it doesn't seem to function in a similar way. I know skin_mc is a private function of the flvplayer but I can't for the life of me figure out how to access it as an object that retains its properties all I get back is a string with the path to the skin swf.d.
View 10 Replies
Sep 28, 2009
i am searching for a way to change the actions taken while clicking on the forward- and back-button of and embed FLVPlayback componente.
View 2 Replies
Mar 17, 2009
I want to call a function in my parent movie from my external swf wich is loaded through a loader. Can anyone give me a nudge
View 4 Replies
Nov 22, 2010
why FLVPlayback isn't working properly in MVC views?I think i narrowed it down to the "hard coded" skin url file not being correct. Where should I put the skin file( e.g.skinOverAllNoCaption.swf)so that flash can find it?Or are there any alternative approaches to somehow setting the skin file dynamically.
View 1 Replies
Aug 18, 2010
I am looking for flash to javascript function calling external interface using AS3[code]...
View 1 Replies
Jul 5, 2010
How do I call a private function from an external ActionScript3 document? I'm working in Flash Builder 4, and I need to call a private function from an external AS3 document. I think I've imported it correctly....
import myapp.utils.WebcamFaceDetector;
import myapp.utils.FaceDetector;
But I want to call a function from "FaceDetector". Here's the part of the code in FaceDetector...
public class FaceDetector
{
private var detector :ObjectDetector;
private var options :ObjectDetectorOptions;
[Code]....
I want to call "private function FaceDetector()" to initiate at a certain point in another AS3 file. How do I properly declare it and get it to run?
View 3 Replies
May 12, 2008
I've tried looking everywhere for this answer, but I'm still at a loss. I'm beginning to think it's not possible or I'm just not looking in the right places.I have three swf files. The main container and then two external swf files being loaded into the main swf. Swf 1 (frame.swf) has a function on the main timeline that needs to be called from a button in swf 2 (toolbox.swf). My initial thought was to place the actionscript of frame.swf into a movieclip and call it from toolbox.swf using:_root.callFunction("PH", "doPhone");Although this would work, I cannot use this option. The actionscript of swf 1 must stay in the main timeline. Using a class file is not an option either. Is there any other way to call a function from the main timeline of an external swf?
View 1 Replies
Apr 7, 2011
I want to separate the time_txt inside the counter_mc into two objects. One displaying just the displayheadTime and the other the totalTime. I want to do this on the skin file. What my problem is I can't seem to find the part where the text is being set at all. I am using CS5/FlvPlayback 2.5.
View 1 Replies
Jul 6, 2011
I have a program A that loads another swf B, and after B is loaded, A will call a function of B.It used to work when B creates a TextField and uses TextFormat, but when I changed to creating a TLFTextField, I got this error:[code]I got Error #1069 again, but when I changed TLFTextField back to TextField, it works again.Test A can now find the function "changeText()" in Test B.
View 8 Replies
May 17, 2009
I have 4 instances of the same button on a single layer in a timeline of the mc 'coverflow_mc' named 'ThatsMe_btn_a' to 'ThatsMe_btn_d' ie same button, same position.. it just changes instance name on 4 keyframes. Why does it call the function fine for button a but not for b,c, or d? There is a stop on each of these frames and I can see from the swf that it is stopping at the correct frames.
function thatsMe() {
right = new Sound();
right.attachSound("right");
[Code]....
View 3 Replies
Feb 24, 2009
I keep getting an "undefined property" error when I try to call an external function from within the Doc class. I added the error message to the Doc Class below so you can see where it occurs.
If I take the code from the Tooltip.as below and place it on the FLA's main timeline I can get things working fine, but I would like to move all script to classes. The document class structure looks like this:
Drag_and_Drop.as
Code:
package {
import Tooltip;// Import custom class
public class Drag_and_Drop extends MovieClip {
[Code]....
I realize that I could just combine all the code in the Doc class to get it working, but it would be nice to separate out this particular code which has only one use.
View 4 Replies
Apr 8, 2011
With autoHide set to true I would like to have the skin show when a video is loaded then fade away after a couple of seconds.
View 5 Replies