IDE :: Using And Controlling The JW Player Inside Of Another .fla?
May 23, 2009
I've looked over thier website quite a bit and there is no clear method to get what I want to do working.I'd like to take this JW video player I've configured:
[URL]
and put it as the player for this
[URL]
I've tried a bunch of different methods but I just can't get it working on a blank .fla, let alone mine.
I've looked over thier website quite a bit and there is no clear method to get what I want to do working. I'd like to take this JW video player I've configured:[URL]I've tried a bunch of different methods but I just can't get it working on a blank .fla, let alone mine.
I have three buttons I have built as MC's. In each on the MC's timeline I have another MC's with instance name voted01_mc, votecd02_mc, and voted03_mc, respectively. And each of the MC Buttons have instance names Q01_btn, Q02_btn and Q03_btn.
I would like to find a way to control the "visibility" of a movie clip inside one movie clip from inside another MC. I am sure there is a way to do this such as:
I have a SWF that is 300x250 and needed to be resized to 336x280. There were a lot of elements to work with and the resulting SWF needed to be less than 40 kb (my starting SWF was 35 kb). To make things as easy as possible I created a stage and background of 336x280 then imported the SWF into the library and centered it. The result fits the correct dimensions without having to resize every element in the original SWF and I was able to come in under 40 kb.The problem is that I need to control the number of times the movie loops. I tried to do this using the following code on the centered movieclip (instance name smallOne):
I'm using a scrollpane for a loaded external swf file. Scroll works fine but I want to add exra buttons to control the file such as size and position. If this is regular movie you can simply add the instance name and call it but in this cane since it's inside of component I don't know how I can reach it... The component is named "mySp" and the loaded swfg file is called "photography.swf" which I set it up in parameters tab under "contentpath"
I have a flashplayer in html page and I want it to stop the auto play function when the page loads and play whenever I click play, and I tried to play with the code and added this: <param name="Autostart" value="0" /> but it's not working. On the other hand, I set the autoplay function for the quicktime player to "false"and it worked.
I have loaded a SWF and attached to a MovieClip which exist in my current movie using the following code, and now I just want to access the loaded SWF to send it orders like play() or gotoAndPlay(); I have tried also: container= MocieClip(loader.content); instead adding child, but it trhows an error
Im trying to produce my online portfolio but for that i need to play movieclips backward and forward to various frame numbers.I found a very good script (as2) and it works great in the main timeline but inside a mc it doesnt work at all. this is the script
1. Call to Action Create an actionscript layer that extends the full length of your movie. In that layer, include the following actionscript:
function Movement() { if (_root._currentframe > _root.mytarget){ prevFrame();
[code]....
Using the code above, the movie will play either backwards or forwards to the desired destination.As i said before this script is great but it doesnt work inside an mc.
Im trying to produce my online portfolio but for that i need to play movieclips backward and forward to various frame numbers.I found a very good script (as2) and it works great in the main timeline but inside a mc it doesnt work at all.this is the script
1. Call to Action Create an actionscript layer that extends the full length of your movie. In that layer, include the following actionscript:
function Movement() { if (_root._currentframe > _root.mytarget){ prevFrame();
[code]....
Using the code above, the movie will play either backwards or forwards to the desired destination.As i said before this script is great but it doesnt work inside an mc.
This is my first time coding a website using ActionScript. So far everything has went very well, I designed the website in Photoshop, and imported to Flash CS5. Then I cleaned everything up, and started adding navigation to the various pages using buttons.The website is constructed in a very simple manner, there are five main pages and they are connected by buttons on a static navigation bar (the first page, home, doesn't have a corresponding button). Then there are nine sub pages, that each contain information on a character of the game, and are connected to corresponding buttons in the 'Character' layer/MovieClip. My four menu buttons (Story, The World, Characters, Extras) all navigate correctly without problems.
The problem arises because inside my Characters page (a movie clip) are nine buttons, each linking to a different page. These buttons should bring the timeline to the frame specified, but when the buttons are clicked nothing happens. I've spent hours searching for a solution to this, but with no avail, and I have a feeling the answer is prettysimple.gotoAndStop("gowang", "Scene 1");line in the Gowang character button function with:MovieClip(root).gotoAndStop("gowang");
I have a Nav Bar on my _root timeline. Inside of which I have buttons and MC's. I want to have all the code for my buttons on the _root timeline. So, I can adjust from there.
Below is an example of what I'm trying to do from the _root timeline Actions Layer:
Code: // ------ NAV BAR ON MAIN STAGE ----------------------------------- // ------ Instance Name = NavBar ------------------------------------ // ------ Button inside of "NavBar" = MyButton ----------------------
I am currently working on a Flash application in which I have several vertical bars that go across the window, and when one of the bars is clicked on, the others move to either the left or the right to create space to the right of the selected bar for a large image.[URL].. I have already written enough of the script to get the bars to move to where they should be when they are clicked on, but they do it instantly--there is no show of movement between point 1 and point 2 (this being the starting and ending x coordinates for each movieclip).
If you're wondering about any of my number values, they are the way they are because the document is 800 wide, it has 5 vertical bars within it, each of them 30 wide, and the bars are 5 pixels apart when placed next to each other. Anyways, here's the script I am currently working with:
[Code]...
With this code, all the speed variable does is determine the length of the pause before the bar goes from its original x coordinate to its final x coordinate. I have tried to replace the line that reads "clip3_mc._x += speed;" with several variations ("clip3_mc._x ++;" , "clip_mc._x = clip_mc._x + 15"), but I don't think that's the issue.
Am gonna create an encyclopedia program, consist many of Chapter. I have difficulties about controlling external swf inside my Main swf. This is my Main.as in Actionscript 3
public class utama extends MovieClip { var loader:Loader; var urlReq:URLRequest;[code]........
Am using eksternal page as a Chapter, and A Chapter consist of many Pages (it using Scene) For an example :
Chapter 1 --> Page 1 it will be represented as hal1.swf-->Scene 1 Chapter 1 --> Page 2 it will be represented as hal1.swf-->Scene 2
how to add like a youtube type control bar into a swf to control a movieclip inside the swf so i can add any movie clip in and change a few varibles and still have the whole thing self contained inside the swf. I have been looking for about 2 hours now and i cant find any info on what im looking to do has
I want to know if it is possible to use javascript, flash or flex to make a youtube video player that is capable of controlling left/right audio channel volume. For example, mute the left channel and play right channel audio on both left/right speakers.
i have dynamic buttons in movieclip and i want the movieclip goto 2nd frame once some one click single movieclip while rest remains in 1st frame.the movieclips can be in arrayi have some code here:
Actionscript Code: var mc:MovieClip = new MovieClip();for(var i:int = 0 ; i < numberOfButtons;i++){ var btn:MovieClip = new button();
is it possible to somehow put VLC player inside flash?or maybe some sort of VLC plugin inside flash for playing all sorts of videos... or to just combine the two... flash for GUI and VLC for other stuff?
Can I create a flash file which will be used as web-browser. So basically, Flash will behave like Internet Explorer or Firefox, perhaps like loading a page inside iframe.
The Flash site I'm working on is causing Flash player to crash, both inside the browser (taking Firefox down with it) and inside the Flash IDE (taking Flash CS4 down with it) --this is regarding Flash Player 10,0,22,87 (debug version)
The exact point of crash varies considerably and no Flash errors appear, so I can't pinpoint the problem to any particular code. I thought there must be a nasty memory leak somewhere, but since I've started monitoring that (via System.totalMemory) that doesn't appear to be the problem. I thought maybe using hardware acceleration might be the cause, but turning it off hasn't made a difference. I'm using PaperVision3D Great White. Not using full screen--at least not YET. I'm streaming some video, streaming some audio... I don't know what's left.
I'm editing a flash site that needs a multi video player. I've already added a few other features to the site, so know the drill now... This video player just doesn't load the external files to it. I'm doing exactly the same thing I did with the other elements, but this doesn't seem to want to work. I've triple checked the spelling of 'config.xml' and even tried changing the action script settings to frame 2, which just makes all the preloaders spin around!
I have a site I've added a few new modules to, but the video player module just doesn't want to play at all All the components load when I test the movie but none of the external data loads, and when I test the scene with all components on its own it works fine.I've tried a few things but, still can't get this to work, and I've even tried downloading another multi video player and it did the same thing, I don't know where I'm going wrong It's all contained in a movieclip called 'bsv' and as I said works fine when I do test scene or be able to take a look at the site if I were to upload it?
Is it possible to embed a flv into a swf and then run it thru an arbitrary flash player and be able to send information from the swf to a destination of my choice?The information could be some variable that is sent when the movie starts playing etc
Is it possible to embed a flv into a swf and then run it thru an arbitrary flash player and be able to send information from the swf to a destination of my choice?
The information could be some variable that is sent when the movie starts playing etc
Anybody can tell me how to display pdf file inside of the flash player with acrobat?I got this same option in AS2.0. But now i required in AS3.0. Using flash paper i've tried this option in AS2.0. But flash paper is not upgraded after AS3.0 release so its not supporting in AS3.0.
I have a SWF that has a movie player in it. What I want to do is load an flv or audio file into the player from anywhere on my computer using a file browser. Currently it does work, but ONLY if the flv is located in the course folder where the SWF compiles to. How I can make it play an flv located anywhere other than in the same directory as the SWF?
Anybody can tell me how to display pdf file inside of the flash player with acrobat?I got this same option in AS2.0. But now i required in AS3.0. Using flash paper i've tried this option in AS2.0. But flash paper is not upgraded after AS3.0 release so its not supporting in AS3.0.
Does anyone know how to get the width and height in ActionScript for a Flex application running inside the flash player in the web browser.
e.g. In the web browser I can use the tag to embed a Flex application (as a .swf). To the embed tag, I can provide the dimensions. I would like to get these dimensions inside the flex application action script.
I will inlcude here to code i used and a zipped folder containing all the files of my mp3 player. What i would like to do, (i am not an actionscript expert and did this following a tutorial) is to include a download button for the track which is being listened, be able to insert the playlist 'track buttons' inside the scrollpane on the stage, and sort an annoying bug which makes the music form the player continue even when i leave the section of the site where its in, keeping the music in the background running and starting a new track ontop every time i renter the section where the player is placed.
I am trying to create my first semi-serious flash game. The problem I am having is I want to be able to click a button in the players inventory to equip a different armor to the player, and have that armor work in the game on the same movieclip(Player) without having to re-make all the attacks and moves etc. for each change on another movieclip. My ideas are extremely novice like putting each armor and update on a different frame inside the Player movieclip and then doing a gotoAndStop to the frame. Though that may work I don't know how to goto a frame inside a movieclip. I would like to control this using as much code as possible.I would paste my code but I don't have any code for this part of the game so far. I have tried some simple coding but so far I cannot get the pieces together.