ActionScript 3.0 :: Mp3 Player And Ignoring Button

Apr 21, 2009

Im fairly competent with flash just getting my head around cs3. The problem i have is that i have built an mp3 player with a menu system similar to an ipod (in other words as the mouse moves around a circle and highlights text then the line moves down in the menu window) Now i have that part sorted and what happens is on hovering over the text it skips to a specific frame where the text is highlighted and on pressing the centre button it goes to another frame holding the content I need.

Now the issue i have is after using this part i press the menu button to get to the main frame again to choose another sub menu it works fine and i can come back to the main menu but try and go to the first again and the button seems to keep the same script and it instantly goes to the 2nd frame. This may sound confusing but what i need is a way of telling flash to ignore the previous action of the button and learn the one im currently telling it.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Flash Is Ignoring It

Aug 19, 2009

Flash is ignoring my actionscript

Even when debugging it gives me the error "You cannot debug this SWG because it does not contain ActionScript."

There's very few commands in the script and shouldn't be overloaded.

View 1 Replies

Why Is Loaded Swf Ignoring Stop Actions

Mar 2, 2009

I have a main swf into which has a number of clip instances which serve as buttons to load separate swf files dynamically. The swf I'm testing has stop(); actions on various frames, but when loaded it simply plays through to the end and loops continuously.I was able to use onLoadInit to stop the loaded swf in the first frame, but have failed at various efforts to direct the clip to play again in the manner that I desire- i.e. stopping at the various pause points until a click starts it playing again.

View 2 Replies

ActionScript 3.0 :: Keyboard Ignoring Some Keys?

Jan 11, 2008

I have this code on a frame in the main timeline:

ActionScript Code:
addEventListener(MouseEvent.MOUSE_DOWN,startSquare);
stage.addEventListener(KeyboardEvent.KEY_DOWN,addPoint);

[code]....

When I test it, it seems to ignore most keys, but notices others. I went through the alphabet, and it only responded to dguw&x

View 5 Replies

Flash Ignoring Keyboard Layout?

Aug 3, 2005

I noticed that some of my flash movies didn't allow user to input the @ and � characters in Firefox. Some did, and some didn't.

Just now I found myself once again struggling against that problem and I just figured out the combination that makes this happen.

When I make a movie with "wmode=transparent", running on Firefox, the keyboard layout is ignored and set to american (i suppose). I discovered this because when testing I tried replacing the "@" for "(at)" and the parenthesis were also out of place (on a portuguese layout, opening parenthesis is shift+8, and on an american layout it's shift+9 - the @ char on a portuguese layout is AltGR+2).

I've turned off the transparent background and it works fine, but in this case I can't get rid of it and placing a note saying "try shift instead of AltGR for the @" seems lame.

View 6 Replies

ActionScript 2.0 :: Ignoring Interface On OnMouseDown

Mar 19, 2007

The issue is that I am making something that has many buttons, and rather making a variable that has it turn true onMouseOver (when I go over an interface object, the variable wont let the click register), making clicking not register, and then register onMouseOut (when I leave the interface object, clicking is registerable) for every single button, I rather have it auto recognize if I am actually hitting the root object like shown in my attachment.

View 6 Replies

ActionScript 3.0 :: Bitmapfill Ignoring Png Transparency?

Jun 30, 2007

I have an issue which confounds me. I am working on a parallax engine which can be seen here. See all those trees with the white trim? The white bit should actually be transparent. The .png I am using can be found here. Aaaand here are the classes which pull in the .png and apply it to a custom shape as a bitmap fill:

[Code]...

View 9 Replies

Flash5 Flash Ignoring Stop(); Function?

Apr 19, 2011

In main timeline I have a layer that contains my levels. So far 3 test levels. In the actions layer in the main timeline I have this code

Code:
if (circle_mc.hitTestObject(platforms.goal1))
{
nextLevel.alpha = 1.00
nextLevel.addEventListener (MouseEvent.CLICK, nextLevel1);

[Code]...

View 2 Replies

ActionScript 1/2 :: Search Ignoring Case Sensitiveness?

Apr 16, 2010

i"ve got a SEARCH facility in my website. It is case sensitive. How do alter the script below to search ignoring case sensitiveness?
 
Eg. if someoene types "Pigs" or "PIGS" or "PIGs" it should bring the same result.
sruch_btn.onRelease = function () {
if (cosearchbx.text == "Pigs"){clearTimeout(srch1TO);srch1TO=setTimeout(srch1F,5000);srch1._visible = true;}function srch275F(){srch275._visible=false;}
}

View 6 Replies

ActionScript 3.0 :: Copy Bitmapdata Ignoring Mask?

Aug 30, 2011

I'm trying to copy the bitmapdata of a movieclip in which i have a mask. And it copies by ignoring the mask. It's there a way to make it copy what i see (including the mask applied)?

View 7 Replies

Actionscript 3 :: Target Ignoring Parent MovieClip

Apr 4, 2012

I changed the question as its seems to be a problem with target not registering children mc/ or nested MovieClips.

var box:Box = new Box();
ground.push(box);
levelPlane.addEventListener(MouseEvent.MOUSE_DOWN, onOver);

[Code]....

How Do i target the movieclips(BOX) inside of the main MovieClip(levelPlane)?
imagine i have nested 10 boxes inside a MovieClip Called "levelPlane" i want to click on any of the boxes to add another Mc on the box i clicked x,y location.

View 2 Replies

Xml :: Ignoring Case On E4X Node Names And Attributes?

Jan 26, 2010

Does anyone know of a trick to ignore upper/lower/camelcase on XML node names and attributes?A quick example: I give an XML file to my client which contains an XML attribute named fooID but the client could change the XML, and - not being aware of upper/lowercaseness change or add an attribute under 'fooid'. Naturally my parser (in AS3) would ignore the all lowercase attribute. Note that the value contained in fooID isn't the problem here but the attribute name itself.

View 2 Replies

Facebook :: Flex Ignoring Policy File

Oct 26, 2011

I'm loading in profile images from both facebook and twitter into a flex application. Based on the answer from this question, I'm loading the domain policy from the redirected url. However, now I'm seeing this error: Error: [strict] Ignoring policy file at [URL] The crossdomain.xml file from that URL looks like this:

[Code]...

The error states that there is a missing Content-Type. How do I get around this? I, obviously, can't update facebook's files.

View 1 Replies

ActionScript 3.0 :: Child Ignoring Mouse Event?

Mar 27, 2009

I want the child of an object to be completely ignored by the mouse, including the parent's mouse event. For the sake of example, let's say I have an instance of a green rectangle movieclip called Green. Green has a mouse click event that traces "Green clicked." I also have an instance of a movie clip Blue that is sitting over Green. Naturally when I click Blue, I don't fire Green's trace, unless I say "Blue.mouseEnabled = false". I want Blue to have an event of its own, tracing "Blue clicked", so I do not set this property. Now, let's say Blue's MC contains an instance of another MC, a red circle (conveniently named "Red"). However, Red is just a part of Blue that is only meant for show. Red needs to be associated with Blue, but I don't want Red to prevent my interaction with Green.

Neither "Blue.mouseChildren = false" nor "Blue.Red.mouseEnabled = false" will prevent Red from firing Blue's mouse event.

View 2 Replies

Flex TextFlowUtil.importFromString Ignoring Whitespace In Some Cases?

Feb 17, 2011

In the following complete functional Flex application the line breaks between the two links ought to be preserved when importing the input text into the TextFlow:

[Code]...

View 2 Replies

Actionscript 3 :: Flash Is Ignoring My Most Of My Tags In A HTML TextField?

Feb 29, 2012

I usually manage to make my textFields work properly.I have this TextField that I inject HTML formatted text (contained in a XML file). For some reason, almost all my tags are ignored (<b>,<i>,<u>,<ul> and <li>). I can only get it to render <br /> tags properly. I could use a StyleSheet, but I don't think it would make my lists work...Here's how things are set up:

Text I inject:

<text>
<![CDATA[<b>Some bold text </b>and some normal text <br/><u>This text is underlined</u> normal text to compare<br/><i/>This text is italic</i>]]>[code].........

Edit: So I decided to test having no CDATA in my XML, and adding the <b> tag in my AS3 code. Didn't work either. I don't get how I can have my fonts correctly embed, but Flash refusing to use them.

View 1 Replies

ActionScript 2.0 :: Streaming Server Ignoring The Seek() Method

Oct 29, 2008

I am building a flash app that will start playing a streaming video (wowza streaming server) x number of seconds in. I have built the player, and I have it reading the file name and start point (in seconds) from an XML file. The problem is, it is ignoring the seek() method. I have traced out the variables, so I know that the value is being passed to the function properly, but it always starts playing at the beginning. Here is the code:

[Code]...

View 1 Replies

ActionScript 3.0 :: Ignoring Content Outside Of Mask When Calculating Height?

Feb 19, 2009

I have a widget bar system where I�ve apparantly been a little short sighted. I�ve now made a widget that has a masked overlay effect. The problem is that the part of the effect that is outside of the mask is taken into accord. All widgets have a parent movieclip container, and the spacing between widgets are calculated by the height of this container.

View 1 Replies

ActionScript 3.0 :: External Textfield Ignoring Container Size When Set To Autosize?

Mar 3, 2010

Really not enjoying myself with AS3 - it's about as userfriendly as an airplane cockpit. I'm sure Flash the program is quite happy with it, but spending hours into weeks trying to implement pretty ordinary functionality is getting really tiring.
 
I have a textfield loading in html/CSS file. The textfield is in a container mc. I'm trying to use a scrollbar on the textfield, and I need to set the textfield to  newsText.autoSize = "left";. When I do this, the textfield displays the entire contents of the html file in the swf, ignoring the textfield size AND the mc size, displaying all the lines in the file in howover many lines are in the html file.
 
I'm autocenting my swf in the browser, so this of course throws the whole thing off center.

[Code]...

View 1 Replies

ActionScript 1/2 :: Movie Clip Ignoring Stop() And Looping Continuously

Jul 31, 2010

I have a movie clip, which is loading a portfolio. A movieclip holding the images drops down into the screen and then when the user clicks the return button within this movie clip, it dispatches an "end" event. In the main timeline, I have put in a gotoAndPlay(frameno); in response to the "end" event.

From this "frameno" the movie plays on and is supposed to come to a stop at the end of the timeline. The problem is that it is ignoring the last stop and jumping back to the first frame of the movie. Also, the stop I placed to let the user browse the images, and listen for the end event, is being ignored and the timeline is proceeding as normal and looping continously.[code]...

View 1 Replies

Actionscript 2.0 :: Flash MP3 Player - Previous Button And A Volume Scrolling Button?

Apr 18, 2009

I am completely new to this with flash and action script. I checked the Flash MP3 Player tutorial and I wonder how I'm doing a previous button and a volume scrolling button in action script?

View 1 Replies

Flash :: Add Button-like Behavior To A Video Player Button Component?

Feb 23, 2011

I'm trying to create a simple "universal" media player which presents the same user interface (or as similar as possible) for video and audio playback. Unfortunately, FLVPlayback seems not to be able to handle audio files as far as I can tell, so I'm using a Sound and SoundChannel.

My video playback is handled using an FLVPlayback component which is "wired" to standard controls on-the-fly when needed. What I want to do is wire them to the Sound / SoundChannel when I'm playing a sound so that the same UI widgets work in both cases. I'd like to avoid building all my components from scratch because the FLVPlayback component does a lot of nice stuff "for free" but it's starting to look tricky.

The standard PlayPauseButton is a MovieClip with two layers, one containing the Play button (and with the instance name play_mc) and the containing the Pause button (pause_mc). Inside one of these is a movie with some code like this:

stop();
this.upLinkageID = "PauseButtonNormal";
this.overLinkageID = "PauseButtonOver";
this.downLinkageID = "PauseButtonDown";

[Code]....

View 1 Replies

ActionScript 3.0 :: Movie Clips As Buttons Ignoring Stop Actions And Event Listeners?

May 1, 2009

Anyway, I am just trying to figure out movie clips as buttons, and have been following along on however, I seem to be doing these things right, but when i test my movie, the button just loops regardless of rollovers or stop actions.You can check this addressto see the failed anim, and you should be able to import it as well. Here is my coding:

function rollover (e:EVENT){  myBtn.gotoAndPlay ("in");}
myBtn.addEventListener (MouseEvent.MOUSE_OVER, rollover);
function rollout (e:EVENT){  myBtn.gotoAndPlay ("out");}

[code]....

View 4 Replies

Flex :: Resize An Entire Air App AS IS - Ignoring Component's Positions And Sizes Logic - Like Zooming

Dec 5, 2010

i have written an air app which is fixed in dimensions: 1000 w X 800 h i have set the resizable and maximizable tags of the app-xml to false, to prevent the user from changing it's size. this app looks and interacts perfectly at these dimensions but not at other: it has "bad" coding techniques in it like hard-coded display sizes and such, rtl and ltr combined layoutdirections and so forth...

when the applicationComplete event dispatches, i check Capabilities.screenResolutionY and if it is less then 800 i want to resize the app programatically (preserving the width/height ratio). i have tried all the StageScaleModes and tried changing the dimensions of the stage, the nativeWindow, the app itself("this") and so on in every combination.

i am looking for a way to resize the entire app as is, meaning i dont want to use display logic of the components and such, just to "shrink" or "expend" the whole app as is, with hard-coded pixel amounts to change within the logic of the app accordingly (change all sizes, locations, fonts etc.. in sync) the app should look and work exactly as it did in it's 1000x800 default size, only smaller or bigger

View 2 Replies

ActionScript 3.0 :: Error "Ignoring Cross-frame Javascript Url Load Request By Plugin"?

Mar 14, 2011

I have this code in my html

function open(direccion, pantallacompleta, herramientas, direcciones, estado, barramenu, barrascroll, cambiatamano, ancho, alto, izquierda, arriba, sustituir){
var opciones = "fullscreen=" + pantallacompleta + [code].....

And I call it from as3 like this:

var request:URLRequest = new URLRequest("javascriptpen('+ prop.link +',0,1,1,1,1,1,1,800,500,0,0,1);");

navigateToURL(request);

But when I click to open the new url.. chrome brings me this log error "Ignoring cross-frame javascript url load request by plugin"

View 1 Replies

ActionScript 2.0 :: 1 Button Mp3 Player?

Nov 2, 2005

i have 3 bars they move up and down randomly.they are stoped at first. how would i make it play a mp3 when clicked and mute the mp3 when clicked again?

View 1 Replies

ActionScript 3.0 :: MP3 Player Button - Start Over The Top

Jun 24, 2009

I've made a very basic mp3 player with simple play and stop buttons and it works just fine. However I have noticed that when you click play again while the song is playing it plays the song again from the start over the top. Same if you click it 3 times 4 etcetc. I have no idea how to disable the button while the song is playing/until the user clicks stop. This is the code I have on the play button:

on (release) {
weddingSound = new Sound(this);
weddingSound.attachSound("wedding");
weddingSound.start(0, 99);
}

This is the final part of a website I built and the owner is holding out on payment until this is done

View 1 Replies

ActionScript 2.0 :: Fullscreen Button For FLV Player?

Jun 19, 2011

So I've been assigned to create a custom flash video player. I followed a good tutorial by Lee Brimelow and went far with the project, until I've hit a dead end - fullscreen function for the video itself. I would simply want to add a fullscreen toggle button that doesn't scale my whole scene, but only the video container (videos are loaded from xml via tree component), while preferably keeping the controls visible.I'm really hard pressed here, since I have to finish by tomorrow, but I really can't see making any progress without some guidance, even if I pull an allnighter.

View 0 Replies

ActionScript 2.0 :: Skip Button On MP3 Player

Dec 14, 2006

I need to make a skip button that stops the track playing and skips to the next track in the php file.
skip_btn.onPress = function(){
} play_btn.onPress = function() {
if (playing == undefined or playing == false) {
if (pause == true) {
pausePos = ((slider_mc.dragMe_btn._x/100)*song.duration)/1000;
[Code] .....

View 7 Replies

Simple Flv Player With Play Button For Website

May 1, 2009

I am oriented around html/css webdesign, and graphic design in photoshop, but know nothing of Flash, and i am attempting to learn!I have found a lot of complex tutorials but none that fit my specification. All i need to know is how to make an interface incorporating a play button which plays a .flv file. I already have a .flv file ready and the graphic i want to use for the button, but no idea how to begin.The .flv i want to play is a short 3-4 minute clip of someone talking including audio - i dont know the best way to play it and have heard of different options including embedding or somehow linking to an external flv file.I have tried various tutorials to try to achieve a simple interface with play button - i dont need a skin, rewind, forward, etc, just a play button and for it to go away while the video is playing, and perhaps a pause/stop button in the corner of the swf, over the top of the flv file itself. But I have had no success, mainly due to errors within the actionscript.

View 17 Replies







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