MXamp Release 1.0 - Check Out My New UI Component
Fellow FlashKit Members:
I started work just recently on MXamp, a Flash MX UI Component that will act as an mp3 player. Mxamp is fully customizable and increddibly easy to set up, just drop the component on the stage, write the info.txt file, rename your mp3 files and you are ready to listen to some music.
download MXamp here: http://www.trikenit.com/MXamp/MXamp.zip
For more information about how to install the component and set it up, view the short help.txt file included in the zip file.
FlashKit > Flash Help > Flash MX
Posted on: 06-10-2002, 04:05 PM
View Complete Forum Thread with Replies
Sponsored Links:
Ok I Got MXamp BUT.....
I changed the info.txt to look like this
&songAmount=2
&song0=Linkin Park - Crawling
&song1=Busta Rhymes - Pass the courvouisier
&textloaded=ok
and named the 2 MP3s 0.mp3 and 1.mp3 WELL ITS NOT WORKING!, WHY!?
View Replies !
View Related
AddEventListener Method Release For Check Box
Hi All
I am working with the check box component. I have a listener on the check box for when it is clicked. I need one on release and or press. So basicaly I need the equivalent of having one funciton called on press and then one on release with the checkbox component using the addEventListener to call those functions. Any help would be great
thanx dave
View Replies !
View Related
Tree Component Help On(release)?
I have my tree component in working order as far as the labels go. However, I can't figure out how to put actions to the different nodes of the tree. So, if someone hits "node 1" then "movie 1" will load, "node 2" and "movie 2" will load. I have looked for tutorials on this and can't find a simple explanation.
What are the actions that I use to do this, can I use on(release){?
View Replies !
View Related
Check Box Component
I would like this code to be carried out when a person clicks on a checkbox
_root.info[1] = "DJ SHelter http://www.vulvair.co.uk/ryo
";
and when a person reclicks (ie unchecks it)
_root.info[1] = "";
Thanks
View Replies !
View Related
Check Box Component
Hi guys, I want to make a learning object page in flash MX 2004, so I want to use the check box and put it beside the answers allowing the user to check the right answer. But the point is If the user checked the wrong answer, It should tell him at the end or in the same page that the answer he checked was wrong otherwise the user keeps going.
View Replies !
View Related
Mx Check Box Component Code
I've searched for a tutorial/answer on this but can't find what I've done wrong.
I have a 2 movie clips. 'recon' has a checkbox. If it is checked, I want a movieclip in 'stress' to go to another frame.
My comments show what I think I'm doing but the clip in 'stress' never shows up...
'recon' has this code:
Code:
//capture values of checkboxes
function setValues() {
image.setValue(image_value);
}
//convert to variables
function getResults() {
image_value = image.getValue();
}
and a gotoAndPlay(1); on the second frame, to make it keep checking.
'stress' has this code:
Code:
//if box checked, go to visible frame
if (_root.recon.image.image_value == true) {
image2.gotoAndStop(2);
} else {
image2.gotoAndStop(1);
}
and again a gotoAndPlay (1);
Hope you can help this ActionScript beginner!
View Replies !
View Related
How Do I Change Value Of A Check Box Component?
Hi all,
I am pretty new to Actionscript and am just picking up bits here and there, but this is something I have to hold up my hands and admit I need someone's help!
As there is no "toggle" button component in the standard Flash MX selection, I have used two check boxes.
I need some actionscript for the function called by the change handler to make the other one false when the other one is ticked. I'm sure its just one line of code but I just can't get it to work!
I tried
function changeyear_2002() {
year_2003=false;
}
stop();
but that didnt work, probably for reasons obvious to you guys!
Thanks a lot in advance for any help provided.
Steve
View Replies !
View Related
Form Check Box Component
I have been searching for ages now and need a solution to a MX 2004 components problem in conjunction with coldfusion.
I have made quite a simple email form that works and outputs with the aid of a cfm file quite sweetly. As soon as you introuduce a checkbox component, the email does not come through. My question is then, how do you get the variables from the checkboxes sent to the cfm form?
here is link to download the form:
www.cynergyhealthcare.com/form
her is the cfm code:
-----------------------------------------------------------
<cfmail to="paul@cynergymedical.com" from="#form.fullname#<#form.email#>" subject="Healthcare User Response" server="mail.das.uk.net" type="HTML">
<B>Name:</B>#form.fullname#<br><br>
<B>Email:</B>#form.email#<br><br>
<B>Message</B>#form.message#
<B>i like crisps</B> #form.yesCrisps# #form.noCrisps#
</cfmail>
---------------------------------------------------------------
Any help much appreciated.
View Replies !
View Related
Check Box Component And Feedback Help
Hi
I'm having a few problems with this checkbox quiz i'm re-developing from old Java Applets.
I've managed to create the checkboxes dynamically, but need to get the true/false answers out of the dataset and show feedback in the dynamic textfield box.
This link has the fla attached http://board.flashkit.com/board/atta...chmentid=55657 as it is too large to attch here.
Can anyone help... would be much apreciated.
John
View Replies !
View Related
Passing Values To Check Box Component
I have a flash movie where someone can type into an input text field and click a button called "Search" and a list of what they searched for is returned into 6 text fields which are named with variable names. The results are brought to my flash movie using a PHP script. That is working fine. Once someone searches and the variables are given values and displayed in the text fields, how can I associate 6 check box components to the 6 values that are returned? The catch is, I only want the check boxes to be equal to the values if the check box is checked by the person. Thanks for any help you can give!
View Replies !
View Related
Set Check Box (component) Properties Intelligent
I have e.g. 10 check box and for every ia neee the same property (look)
now i do it so:
Code:
jewish_point_chBox.setSize (10);
jewish_point_chBox.setStyleProperty ("highlight3D", 0xECB09D);
//jewish_point_chBox.setStyleProperty("shadow", 0xD25126);
jewish_point_chBox.setStyleProperty ("darkshadow", 0xE07E5F);
jewish_point_chBox.setStyleProperty ("background", 0x6F4E26);
jewish_point_chBox.setStyleProperty ("check", 0xffffff);
jewish_point_chBox.setStyleProperty ("textColor", 0xFFFFFF);
jewish_point_chBox.setStyleProperty ("textSize", 10);
jewish_point_chBox.setStyleProperty ("textFont", "_sans");
//** check box synagogue_chBox properties
//synagogue_chBox.setStyleProperty("focusRectInner", 0xFF0000);
synagogue_chBox.setSize (10);
synagogue_chBox.setStyleProperty ("highlight3D", 0xECB09D);
//synagogue_chBox.setStyleProperty("shadow", 0xD25126);
synagogue_chBox.setStyleProperty ("darkshadow", 0xE07E5F);
synagogue_chBox.setStyleProperty ("background", 0x6F4E26);
synagogue_chBox.setStyleProperty ("check", 0xffffff);
synagogue_chBox.setStyleProperty ("textColor", 0xFFFFFF);
synagogue_chBox.setStyleProperty ("textSize", 10);
synagogue_chBox.setStyleProperty ("textFont", "_sans");
is possible another solution?
all in one setting?
View Replies !
View Related
Check Boxes In Tree Component Help
Has anyone ever tried incorporating check boxes into a tree component. So for example each "folder" on the tree would have a check box next to it that is useable?? If so can someone direct me to some info on how to go about doing this?????
I would really appreciate any help
View Replies !
View Related
Controlling Check Box From Radio Button Component
I have a radio button that when clicked, needs to set a checkbox to true.
Here is my code:
radiofax.setChangeHandler("myRadio");
function myRadio(component) {
if (_root.generate.radiofax.getLabel() == "Fax") {
_root.generate.fax.setValue(true);
}
}
radiofax is the radio button component and faxcheck is the fax checkbox.
Generate is my movie clip that the components resides in.
View Replies !
View Related
Attach Check Boxes In Component Table
I am trying to modify this table component that I have downloaded..
I want to add another column for the checkboxes where it will be in each row....
Can anyone help me what should i modify/add into the script for the checkboxes??
I have attach a zip file on the table example...
View Replies !
View Related
Dynamic Text In Custom Component Invisible - And I Can't Check By Using 'Trace'
Hi,
I have made a custom component in Flash MX 2004, and all it has right now is two dynamic text fields whose content is defined by a variable, and a link whose url is defined by a variable also.
I enter the values for these variables in the parameters area of the properties window, but when i preview my movie, the only thing that shows correctly (i.e. has text in it) is one of the two text fields...the other is blank.
I have uploaded my fla at this address:
http://www.lucid-life.com/my_component.fla.zip
Is anyone able to see what I'm doing wrong?
It's weird...that one works and the other doesn't.
Thanks..
Cheska
Also it would seem i can't check to see if the variables are passing because the variables are the same in each instance of the custom component (or I dont know how to target the variables in each is probably more to the point)
Heeeeelp (please!!!)
View Replies !
View Related
On Release Stop On Release Play. How?
Its like a stop and play button. Like, lets say a button or much more likely, a movieclip, in the shape of a pause button, is clicked, it stops on the frame. Once it is clicked, it looks like a play button, and when it is clicked again, it plays from that same frame, And it then looks like a pause buttons again. How?
View Replies !
View Related
Reality Check: Flash CS3/AS3 Check Syntax
I need a quick reality check. I've finally started playing around in CS3/AS3 on my Mac. Whenever I click "check syntax" I get a very limited error response: specifically, I get actual syntactical errors (e.g., a missing brace or paren), but I get NO COMPILER ERRORS (e.g., use of an undefined method or property). These compiler errors trigger at runtime, but not having them during authoring makes coding and debugging unnecessarily difficult.
Is this really how it's supposed to work?
In Flash8/AS2, we had compile-checking right in the AS file. If I attempted to access an undefined method or property, the error-checker would catch that right away. No time-consuming compile was necessary to catch these obvious errors (see example below). But AS3 doesn't seem to be as clever.
Am I missing something?
Thanks much!
-------------EXAMPLE---------------
Attach Code
import flash.display.BitmapData;
class myClass{
var _bmp:BitmapData;
function myClass(){
_bmp = new BitmapData(500,300);
_bmp.methodNotDefined();//unknown method of BitmapData triggers an error
myVar = 5;//unknown property of myClass triggers an error
}
}
View Replies !
View Related
On Release
may sound a little stupid but, can't get the onrelease command to be available to me on flash 5. it keeps saying:
"Clipboard Actions: Line 1: Mouse events are permitted only for button instances
on (release) {"
HELPPP!!!
View Replies !
View Related
On Release (if .. Else )
I'm trying to on release of a button check the _y position of a MC on the stage. I wish to reposition it from position 1 to 2 if it's at 1 else I wish to reposition it to position 1 if it's at position 2.
Hope that made some sense, I'm not sure if I have to put this into a function then called it on the button release? If so where do I put the function?
This is the code so far :
on (release)
{if (move == 300) ){
setProperty ("move", _y, "300");
}else {
setProperty ("move", _y, "100");
}
View Replies !
View Related
Key Release
Hi!
Does anybody know if the Flash4 can understand a "Key Release" situation... If really exist this command or we have to simulate it.
Im making a 'Racing Game' and I need to know when the player isn't accelerating.
Ex: <Up> Key pressed = Car Accelerate
<Up> Key released or
< > No Key Pressed = Car Slow down.
Thanks a lot!
=Carlos Moffatt=
http://www.vocevai.com.br
View Replies !
View Related
On The Release Of A Key......
i'm trying to make a game where a guy guys runs across the screen, but i have a problem. I can make the guy run, but i want him to be able to stop when you release the key. How can i use an effective way of making him stop when you let go of the key.
thanks......
View Replies !
View Related
On(release){........
on(release){
DoSomething(_parent);
}
Please any one tell me what does this script do,
As I have a menu made of duplicated button with the script new array=....,
but I couldn't make the buttons to go to different urls
I think this script which is found in the script of the button is responsible for making links to all the duplicated
buttons
Please help me ...
I need this Urgent
View Replies !
View Related
Where To Put On(release)?
Hello!
I have a movie, which contains and moves a button, both in the library (because I use ActionScript to put several instances of it on the stage).
Now I simply want to the button to go to an URL when the user presses it:
On(release)
{ getURL("/mypage.htm")
}
But where to put my On(release)? This works fine, when I put the button directly on the stage (and then selecting Right Mouse->Actions). But in the button itself it seems not to work, and it also seems not to work in the movie.
Any ideas?
Martin
View Replies !
View Related
On (release)
I have a flash movie that I have published as a .exe. I have a button and the action is on release geturl I want to add a gotoandplay with this also. Is this possible?
For example
on (release) {
getURL("www.url.com");
gotoandplay(2);
}
What am I missing?
Thanks in advance
View Replies !
View Related
No 'on Release'?
hey
im pretty new to MX (well flash in general) but MX is what ive got...got a button problem linking scenes, ive read other queries and tried them out on my machine, still no luck..
ive no 'on release' on mine, i have 'on release(button)' also i
dont have this '_root' people go on about' also ive tried putting frame labels at the start of each frame in the scenes, still no luck.. what's going on?
mx users in the house?
View Replies !
View Related
On(release) A Better Way?
Had set up my AS for buttons (code below) so a default mc would playin main stage when mvie loads and when user has rolled out of buttons. However, I need it so user can click on button to view scrollable text or interact with another mc.
As you can see below, the script has it so when user rolls out of button (wheter they clicked or not) default movie plays.
What's a better way so mc's stop until user wants to go back?
------------------
on (rollOver) {
gotoAndPlay("1open");
_root.mainStage.gotoAndPlay("stop");
_root.SuperPlay.gotoAndPlay("SuperGo");
}
on (rollOut) {
gotoAndPlay("1close");
_root.mainStage.gotoAndPlay("begin");
_root.SuperPlay.gotoAndPlay("SuperStop");
}
on (release) {
_root.mainStage.gotoAndPlay("stop");
_root.SuperPlay.gotoAndPlay("SuperStop");
_root.SuperText.gotoAndPlay("SuperText");
}
------------------
Thanks
View Replies !
View Related
On (release)....
on (release) {
function....;}
handles a single mouse click. is there a similar process for a double mouse click?
i would think flash would implement easier actionscript for such a popular option rather then checking time (milliseconds) between clicks.
View Replies !
View Related
Key Release
Is there a simple way to detect when a key is release (and not using an on() event handler) ? I found a tutorial on how to do it in flash 5, but that's know good and also the example took like 3 seconds to detect the release! And also I searched on google, but the dang engine omits the word 'on'!! Argh!
View Replies !
View Related
Key Release?
Is there any form of keyrelease? Im trying to script a movie clip so when you press a key, it goes to one frame, but when you release the key, it goes to another frame. If there is no keyrelease, is there any other way to script this?
View Replies !
View Related
After On(release) {
alright I have some buttons and this rugged dotted line to the right of em, and when you roll over the buttons, the text gleams a bit and the area near that button is lit up a bit, and after you click the button, I want the text to change colors and the lil dots next to it to change colors until a different button is pressed, how do u do that?
View Replies !
View Related
On(release)
ive used a movie from flashkit as part of my navigation.
when i direct one of or any of the buttons to a url in this case a stream it works no problem.
when i direct the button to another scene it doesnt work.
what am i doing wrong
please and thankyou.
View Replies !
View Related
On (release) {
im trying out a password application done in flash. it has an external AS file and External text files.
if i place the text and AS files on my server and place the password application within a projector file which the client woudl have what method would i use to link from the projector to the text/AS files
this is the script attached to the enter button after you enter your details.
on (release) {
hitRoutine();
}
this script is in the main time line running from frame 1. this reads from the txt file so maybe adding a geturl or something to this would make the movie look to the server for the AS file
#include "script.as"
any help appreciated
View Replies !
View Related
On (release)?
I have my button to
Code:
on (click) {
// Trigger Data Source Behavior
// Macromedia 2003
this._parent.wsc.trigger();
}
So when i click it, it send me an email. But how do i add this code onto it without messing ither one up.
Code:
on (release) {
gotoAndPlay(frame10);
}
View Replies !
View Related
On Release Get URL
Hi,
Here is my script,
on (release) {
get URL ("home.html");
}
Here is my error,
**Error** Scene=Scene 1, layer=Buttons, frame=232:Line 1: Statement must appear within on handler
getURL("home.html");
please advise
dmd
View Replies !
View Related
On Release
I would like to upload a swf file to a flash movie using buttons to do so.
I know that I have to create an empty movie.
Can anyone tell me the script needed for the button to upload the file?
View Replies !
View Related
On Release
Hi,
When my page loads, an outline fades in.
When I click on button 2, I want the outline to resize smaller.
When I click back on button 1, I want the outline to resize back to the original size.
I want to tell the button that if the outline is on the "released" state already, don't go to the frame label "released", but if it's on the "out" state, THEN go to the "release" state.
Here is my code:
menu_one_mc.onRelease = function() {
stick("menu_one_mc");
myPicLoader.contentPath = "clients.swf"
outline_mc.gotoAndPlay("released");
};
menu_two_mc.onRelease = function() {
stick("menu_two_mc");
myPicLoader.contentPath = "contact.swf"
outline_mc.gotoAndPlay("out");
};
menu_three_mc.onRelease = function() {
stick("menu_three_mc");
myPicLoader.contentPath = "promos.swf"
outline_mc.gotoAndPlay("released");
};
View Replies !
View Related
On Release Get URL
Hi all,
1.) I have the following exact code for a button in a keyframe on the timeline (not in the button itself and of course excluding the quotes)
"
on (release) {
getURL ("www.yoursite.com", "_blank");
}
"
and I get the following error when I try and preview in Flash CS3
1087: Syntax error: extra characters found after end of program.
2.) Also, I have another layer with a "stop" action taking place at the same time that this button occurrs, however, once I have the script in the keyframe for the button, it seems to override the stop action. So, basicly, IM looking to stop the movie and get this button to, once clicked, open a web address.
Thanks all!
View Replies !
View Related
On Key Release?
i have some code for making a man move, and when he crouches, he wont go back up when its released
PHP Code:
if (Key.isDown(Key.DOWN)) {
this.gotoAndStop("crouch");
crouching = true;
}
i cant use else, because that would nullify all the other if Key.isDown statements. does anyone know some code for making an if statement based on when the Down key is released?
View Replies !
View Related
On Release -won't Release
On(release) won’t release
I’m new’ish to ActionScript, so there must be something basic I’m doing wrong. I’m working in Flash 8. I’m trying to create a dragable object. I put the image I want to drag in a button. Then I placed the button in a MovieClip. Then I place the move clip at the root level of the main stage. It worked fine for one object. Then I created 3 more objects following the same steps and copying the code. I can drag the additional MovieClips, but they won’t stay in place when I release the mouse. If I can manage to click something else, they will stay in place. (The original MovieClip I created still works fine.) I put a trace on the “on release” command. It reportsfine on the movie clip that works, but does not report at all on the other MovieClips.
Here is the script attached to every button in each MovieClip.
// ==========Begin button script =========
on (press) {
startDrag(this, true, 314.8, 343.5, 700, 343.5);
}
on (release) {
stopDrag();
}
// ===== END SCRIPT ======
// ======================
I’ve also tried…
// ==========Begin button script =========
on (press) {
startDrag(this, true, 314.8, 343.5, 700, 343.5);
}
on (release) {
this.stopDrag();
}
// ===== END SCRIPT ======
FYI the swf can be seen at
http://www.mrwaynesclass.com/test.swf
The .FLA files can be found at
http://www.mrwaynesclass.com/testfla.zip
Thanks in advance for any help
View Replies !
View Related
|