ActionScript 2.0 :: Making An Advanced Internal MP3 Player?

May 31, 2005

we need some movie clips.Place in a movie clip (MC) with the instance name "volume" of a line with a width of 250 exactly, do it with the properties tab.Once you have done that double click it. Inside this MC lock the layer with the line on it, and lock it. Create a new layer, and on that put in a picture of a slider, and give it the INSTANCE NAME, "knob_mc".Now, make another image,which will be easy for users to click on, make the the width of this, 250 exactly also. Instance name it mask.

Now, create your buttons. Name the buttons for the songs respectively, song1, song2, etc...Also make an image of a speaker, with no sound wave coming out of it. Make it an MC, then, inside this movie clip insert 4 keyframes of the speaker,each with one more sound wave than the other, starting with no waves. Put stop on each frame, in the actions.Then on the last frame,frame 5, make the mute image, also put stop on the layer.

Place in a movie clip with the instance name "slider_mc" of a line with a width of 200 exactly, do it with the properties tab.Once you have done that double click it. Inside this MC lock the layer with the line on it, and lock it. Create a new layer, and on that put in a picture of a slider, and give it the INSTANCE NAME, "knob_btn".Now, make another image, which will be easy for users to click on, make the the width of this, 200 exactly also. Instance name it mask.Then insert a picture of speakers, width of 100 exactly, instance name of speaker. Then inside that, create an image to show the amount of balance to one side. With a width of 50, instance name of balance.

Others;Play button, instance name "playbut", 2 keyframes, frame 1 play image, frame 2 pause image.

Stop button, instance name "stopbut".
Next button, instance name "next".[code]......

View 12 Replies


Similar Posts:


Flex - AIR - Making Use Of Air.swf File In An Internal Network?

Apr 19, 2010

StackOverflow community,[URL].. used to launch AIR applications from Flex applications requires the use of an air.swf file located here:[URL].. We have tried to download this SWF and use it in our internal network, but it is not working, we depend on using the one located in the Adobe site.

Is there anyway to use this air.swf file without having to access the Adobe site?

View 2 Replies

Flex :: Making Advanced DataGrid Height Of Rows?

Nov 17, 2009

I have an ADG along with some other components in a VBox. The number of rows of items in the ADG is variable. I want the height of the ADG to be however tall it needs to be to show all the rows without scrolling. This is because I want the containing VBox to handle all the scrolling. The reason being, is because sometimes there is a horizontal scroll bar on the VBox, in this case you have to scroll all the way to the right to reveal the scroll bar for the ADG before you can scroll the ADG.

View 1 Replies

Making Existing XML Link Goto Internal Menu Page?

Dec 10, 2009

I have recently purchased a XML based template and need to make an existing XML link goto an internal menu page. I have been able to create buttons in the flash template itself using action script with no problems. In my site I have several buttons that say more, so in the XML document it has these internal links, asfunction:_root.more_click_func,1. So what I am trying to do is have thiese links goto the contact page, so I assumed it was simple as directing the asfunction to the internal menu which is 6 but it doe snot work.
asfunction: "6"
asfunction: contact

View 4 Replies

ActionScript 2.0 :: Tween Class - Keep On An Internal Page By Just Making Each Section A Scrolling Content Box

Apr 21, 2007

i've got a fair bit of text i'm trying to keep on an internal page by just making each section a scrolling content box. So there are 3 buttons at the top, each 'scrolls' onto a new section and I would like the ability for it to scroll back too, hence using the tween class to do this. I've managed to set it up and each button goes to each 'page' fine in reading order, so to speak (1, 2, 3), but if I got to 1, 2 then back to 1 it will start from 0 on the x axis.

Basically what i'm wanting to do is set the tween from the current _x value. So if I go 1, 2, then back to one, it will take the current _x value from 2, and scroll the opposite direction back to one. I am using the following code on the buttons:

[Code]...

View 1 Replies

Professional :: Flash Media Player Advanced Options

Oct 3, 2011

I have created an online streaming radio on Shoutcast website, now I want to add this radio player in my website to let user listen to my radio while browsing the website, I have no problem with that, but I want to add some extra features to my flash player as following :

1- Show Song Name
2- Show Singer name
3- Show Previous Song Name
4- Show Next Song Name
5- Show Singer Photo

View 1 Replies

JavaScript :: Advanced JQuery / Flash Player For YouTube Videos

Dec 4, 2011

How to implement advanced video player (javascript/jquery/flash) for youtube videos that supports playlists? Is there some good open source script for this, that I could modify.

View 2 Replies

ActionScript 2.0 :: Making The Simple Player Using The Player Component Preinstalled In Flash?

Jun 3, 2010

I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:

Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)

This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:

Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};

But this is not working.

PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.

View 2 Replies

Auto-import As3 Classes (internal/intrinsic Flash Player Classes At Least) Using Emacs?

Aug 23, 2011

Is there any way to auto-import as3 classes (internal/intrinsic Flash Player classes at least) using Emacs ?

Looked for as3-mode and actionscript-mode but nothing working was found. as3-mode can import class if it is opened in buffer (but not *.mxml files)

View 1 Replies

Html :: Rendering HTML Text Containing Advanced HTML Tags Like <strong> - <em> - <span> And Advanced HTML Entities In Flex

Aug 4, 2011

I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-

[Code]....

View 3 Replies

Actionscript 2.0 :: Seek Bar Making For FLV Player?

May 22, 2009

Now i am doing a FLV Player. But how to make a seek bar for that.?

View 5 Replies

ActionScript 3.0 :: What Is Internal And The Use Of Internal In OOP

Jun 26, 2009

I am unknown about internal in OOP. Is there any body about internal. How we can use this in pratical world

View 1 Replies

ActionScript 2.0 :: Making A Buffering Video Player?

Jul 15, 2004

tutorial for making a buffering video player, with scrubber etc that lets the viewer see how much of the video has loaded whilst they watch it. I've been searching for ages but to of no avail!I'm using MX, not MX 2004

View 2 Replies

ActionScript 2.0 :: Making A Fullscreen Enabled Flv Player?

Oct 27, 2007

I got a problem while making a fullscreen enabled flv player.I developed a player which will got to fullscreen but the problem comes when the monitor is wide. There comes blanh space left and in the right side of the video.

my code is like this

function goFullScreen() {
Stage["displayState"] = "fullScreen";
flvplayer._width = 600;
flvplayer._height = 450;

[code].....

flvplayer is the movieclip which contain the video.

View 4 Replies

ActionScript 3.0 :: Making Stage Follow Player?

Nov 21, 2009

I am trying to make the stage follow the player in AS3 (basically, so the 'view' follows the player and he remains in the center of the screen throughout).Here is what I tried:

Code:

this.x = player.x-stage.width/2;
this.y = player.y+stage.height/2;

View 4 Replies

ActionScript 3.0 :: Making An Enemy Follow The Player?

May 27, 2010

I've been working on a game for my AS3 class that involves enemies randomly spawning from all direction and following the player in an attempt to collide with him. I can get the enemies to spawn from one direction as well as move in a single direction but I can't get the spawning from all sides or the following the player around to work.

I've been at this for a couple of weeks now and followed several suggestions and tutorials (including one from here) with no success and this thing is due by tonight . Here's the code from my enemy class. All of the code of the game is done through AS files with no coding done within movie clips or on the timeline.

package
{
import flash.display.MovieClip;
import flash.display.Stage;
import flash.events.Event;

[code]....

View 14 Replies

Java :: Making A Web Player Frontend For My Media Server?

Feb 21, 2011

I have a small media server. It's actually a Netgear GoFlex Home (NAS) running Plugbox Linux. It's currently running a bunch of servers HTTP/FTP/WebDAV/DLNA/Webmin etc and I want to create a frontend for my multimedia that I can access from the internet. (I preimarily use it as a DLNA media server).At first I considered using a Java Servlets backend with a Flex based frontend but that fact that I can't use Flex Builder from work (licensing) and I'm unwilling to pay a few hundred pounds for it, that's out of the question.

View 1 Replies

ActionScript 2.0 :: Making MP3 Player Play Next Track Automatically

Mar 10, 2006

[URL]

On the first page, my player begins to play like a radio show. i have different sections which are all individual tracks. the player works and plays each track when i manually press next or previous...but it doesn't automatically play through all the tracks. instead it pauses after the first track and i have to manually press next.

here is what i used...can you find the problem:

stop();
playlist = new XML();
playlist.ignoreWhite=true;

[Code].....

View 2 Replies

ActionScript 2.0 :: Making An FLV Player - Adding Timeline And Fullscreen Options?

Jun 26, 2009

I am in the process of making my first FLV player in Flash CS4, for videos I plan to upload on my site. The play/pause/rewind buttons seem simple enough. However, I have searched and can't find-a timeline 'duration' that tells how many minutes have been played and how many total there are-a fullscreen button that toggles full/not fullscreen in the browser-if possible, some way to manipulate the timeline (e.g. drag the cursor forward to make the movie skip ahead)or explain to me how to do thisAs I said, I have searched for the above and found the play/pause/rewind tutorials but no timeline/fullscreen ones.

View 2 Replies

ActionScript 3.0 :: Making Mp3 Player Play Random Songs Upon Load

Aug 16, 2010

Im new to the AS3 game but I need some help with something. I have built a pretty good website mp3 player but it plays the songs in order. I want the the mp3 player to play a different song everytime it loads.[code]

View 2 Replies

Professional :: Writing A Class For Making The 'enemies' Follow The 'player'?

Feb 14, 2011

I'm an actionscript beginner and trying  to write a class to  make the 'enemies' follow the 'player' (shown below). I'm trying to write it such that it takes two MovieClips as arguments, and moves the first one toward the second one. When I import the Class try to use it in Main.as by typing  " var followPlayer:FollowPlayer = new FollowPlayer(fishMov0, player);", I get the following error:
 
"ArgumentError: Error #1063: Argument count mismatch on jab.enemy::FollowPlayer/followPlayer(). Expected 2, got 1."

[Code]...

View 3 Replies

ActionScript 3.0 :: 2D Lighting Shader - Making Stuff Near Player Visible

Oct 25, 2011

How would I go about making a 2d lighting shader, that only made the things near the player visible?

View 3 Replies

ActionScript 2.0 :: Making A Video Player With Selectable Dubbing For Different Languages?

Nov 6, 2008

Right I'm back on making a video player with selectable dubbing for different languages. On 56k simulator. (3min video.....audiolessFLV =5MB, mp3 = 707KB)using net stream

Preload - ---------------------------------- 19 seconds

aprox "6 Minutes worth of subtitles" (2xmls) + 50% audio -- 1min27secs

NB... this is NOT including FLV download as the DL sim, doesn't account for that.

For saftey lets say 10 second audio buffer delay... so what double/triple accounting for flv? Another issue is sync. According to ns.time and s.position, the audio is half a second early... when in sync.

1-2 moves of the scrubber is ok, but if you start messing around with the scrubber it goes out of sync.

Is the sync issue my code problem or an inhertant issue?

Code:
_root.controlbar.loader.scrub.onPress = function() {
vFrame.onEnterFrame = _root.scrubit;
this.startDrag(false, 0, this._y, 298.3, this._y);[code].....

View 1 Replies

ActionScript 2.0 :: Making Sound Stop In Embedded YouTube Player After Removal

Mar 18, 2011

I have the site: [URL]

There are videos there and they play fine and get removed when I change pages. The problem is, if I leave a video playing and then switch pages the sound continues even though the video disappears. How can I make the sound stop? I have done quite a lot of research. My video's appear code is:

Code:
this.createEmptyMovieClip("video_mc",10000);
this.video_mc.loadMovie("youtube video");

[Code]......

View 5 Replies

ActionScript 2.0 :: Sound.onLoad + OnError - Making Music / Video Player In Flashmx2004

Dec 23, 2004

i'm making somekind of music / video player in flashmx2004. it plays streaming mp3 en flv files. random people can put a link into the players database. ofcourse there will be some that insert a dead link, now i want to check with actionscript (1.0) if the link is dead and if so, the player automaticly will skip this track. this is what i've got allready to load te streaming sound:

[Code]...

View 1 Replies

ActionScript 3.0 :: How To Use Internal Css

Feb 25, 2010

i found plenty of tutorials and posts on loading and using external stylesheet, but i find it slows down my app for no reason, im only using 2 styles. i was using an internal css in as2 but cant get it working in as3. how to use internal css in as3?

View 5 Replies

ActionScript 3.0 :: Making Spacebar Act As Mouse For Making A Sidescroller?

Feb 8, 2011

For a project, I'm making an interactive side scroller.You move the character with the arrow keys and press the space bar to interact with things.So far, I followed DexNote's tutorial on YouTube.I thought that I would make the interactable objects as buttons, while the mouse focus would be on the character and when you press the space bar it make a mouse click in that area.The trouble I'm having now is that I don't know how to make the space bar trigger the "interactions."

View 1 Replies

Flex :: Use Advanced Datagrid In It?

Feb 22, 2011

How to use the advanced datagrid in Flex?

I am trying to get the values from a database and construct the hierarchial data. In particular, constructing the dynamic hierarchal data for advanced datagrid.

View 2 Replies

ActionScript 2.0 :: FMX Advanced Buttons (mcs)

Jul 29, 2003

I'd like to know if there is a way to do the following: have a movieclip to act as a button, that is:

have an "over" and "out" states but at the same time have another frame that is used to have an "active" state when clicked. The problem is the following: since there is a rollOut state defined, when clicked the mc jumps to the active state (frame) but returns to the out state when cursor moved out of it of course...so...how do you have a button with, over, out and active states?

View 5 Replies

IDE :: Advanced Masking With Flash?

Jan 14, 2009

Lets say I have 3 layers A, B and C. I want A to be the mask for B which is pretty easy, but at the same time I want B to be the mask for C. Is that possible?

View 2 Replies







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