Electrongeek - music bars

How did you make the msuck abrs on your site? The things that ho up n’ down with t3h music! :stuck_out_tongue:
Are they fake or real things! I thing they’re real! how how how?
very hard?=)

http://www.kirupaforum.com/showthread.php?s=&threadid=12190

doh’! silly me!
thanx! :slight_smile:

haha thanks senocular for covering that. :beam:

And Syko, all I did was take one of flashkit’s standard flashtrak player and modified its appearance. I also did some minor tweaks to the AS to make it automatically start but that’s about it.

Here is the link to the player I modified if you’re interested. =)

http://www.flashkit.com/movies/Third_Party/Flashtraks/Standard-Den_Ivan-2907/index.php

hey thanx! I think I’ll do the same! very cooL! Finally I get a normal music player for my site! :slight_smile:

■■■■ that .fla is confusing!:x
1 question: what does /: mean?
e.g. there’s a line (3 lines actually)
if (load/:load == “yes”) {
gotoAndPlay(4);
}

load/:load
what? what? what ? what what? :stuck_out_tongue:
there’s also a movieclip call “load” so this is confusing me!:smirk:

its flash 4 syntax.

/ is equivalent to a . (dot) in ‘dot’ syntax - seen like a folder heirarchy. / alone represents _root. /box/kitten references _root.box.kitten

: represents a variable in any given scope. /: means a variable in _root
… and so on.

If you’re having too much trouble, try using my example. Ill show you all the code in that fla right here:


stop();
fscommand("allowscale","false");

audio.loadMovie("swiftmp3audio.swf");
// further code for enterframe on audio clip
// Audio swf created using swiftmp3 using the following at the command prompt:
// swiftmp3 -fps 20 -stop 1 -spectrum 1 -goto finished swiftmp3audio.mp3

for (i=0; i < 18; i++){ // attach equalizer bars
	bars.attachMovie("bar", "bar"+i, i);
	bars["bar"+i]._x = i*11; // space them apart
	bars["bar"+i]._yscale = 1; // make them small to start
}// further code for enterframe on bars clip
/***************************/
onClipEvent(enterFrame){
	if (!Loaded && ID3){ // ID3 is 1 when song is loaded
		Loaded = true; // sets condition true so this wont be played anymore
		_root.info = Title +"
from: "+ Album +"
by: "+ Artist; // adds info in textfield from ID3 tag
		_root.nextFrame(); // shows play and stop buttons
	}
}
/***************************/
onClipEvent(enterFrame){
	for (i=0; i < 18; i++) this["bar"+i]._yscale = _root.audio["s"+i]*2;
}

‘my example’ btw, being in the link I posted earlier

thx! I’ll try figuring it out myself then I’ll see what I can see! :slight_smile: