Comman Libraries / Smart Clips / CheckBox
Hi
I am using Flash 5.
I have created a contact form for my website. It has 8 checkboxes on it. I have dragged the CheckBox from the Smart Clips library onto my form, copied it, and given each one a unique _name in clip parameters. This obviously lets each one function as a separate check box.
My form is a PHP mailer. If a checkbox is checked("true"), I want the email to print/echo that the particular item has been selected.
Let's say that my check boxes are named check1, check 2, check 3 etc.
How do I do this?
FlashKit > Flash Help > Flash General Help
Posted on: 05-26-2003, 03:38 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Checkbox Smart Clip
I am trying to use the checkbox smart clip. But whatever I do, the user input doesnot get transmitted to the email. I have checked my asp code. Any suggestions? I followed the instructions on how to use the checkbox from Macromedia's site. Any help will be appreciated. Thanks a lot.
Setting State Of Checkbox Smart Clip
Hello,
This is my first attempt at working with smartclips, so I apologize for any blatant ignorance. I am trying to set the state of the flash provided checkbox smartclip depending on the value of a variable that is loaded in the very beginning. I'm having trouble figuring out how to reference the clip to set it's state - I have a action keyframe at the beginning of the movie checking the value of my variable, and then trying to set the state accordingly, but I'm obviously off.
if (variable == "yes") {
checkbox1.setState(true);
}
Any suggestions or pointers to a tutorial would be greatly appreciated. I found a basic smartclip tutorial, but it doesn't say anything about manipulating their properites dynamically.
Thanks!
Embedding Smart Clips In Movie Clips Causes Crashes...?
i noticed that if you use more than one of those drop-down menu smart clip in the common library, you can't see all the choices...
e.g.
drop in one instance
then another directly below it.
publish the movie
select the third or fourth choice from the second drop-down
let go so that your choice is selected
now re-select the second drop-down menu...
the other choices are hidden by the menu above it.
this is also the case if you try the procedure in reverse...
i.e. if the second instance is on a higher z-plane, the choices in the first will be hidden.
it seemed logical to drop the smart clip into a movie clip then use mc.swapDepth to set the z-index
got swapDepth working perfectly
(thanks, Mac8myPC): http://www.flashkit.com/movies/Scrip...98/index.shtml
but as soon as you put an instance of the smart clip into a movie clip, flash (5 for mac, PPC, OS 9.1, g4 466, 384MB) crashes as soon as you try to publish/export/test movie.
i tried it in a button as well... same thing
i've been trying to rebuild the menu in a normal movie clip form but it seems like more pain than it's probably worth...
any suggestions?
thanks in advance,
--cera
Smart Clips, Not Smart Enough
hey guys,
how you people are you doin?. well it's the second time i'm comin to the board with the same question on Smart clips, as i did some time before.
is it possible to modify the code of a Smart Clip in the learning interactions section. what i mean, to ask, can we have an access to the fla file of the swf loaded as an UI in the Smart Clips.
I hope, i'm making enough sense to you guys.
Pls revert back ASAP
ravi.tandon@learningmate.com
Movie Clips, Vs. Smart Clips Vs My Brain
I am having a difficult time trying to wrap my head around the MC process and its usefulness. I know they are very beneficial, make things easier, file sizes smaller etc. but I can't seem to make logic mesh with my brain cells.
Does anyone have a good way of explaining the "How to's" and "Why for's" of Movie Clip's????
Also, what is the difference between a Movie clip and a Smart clip?? (The latter I have the same questions about as well.)
Thanks,
Smart Clips
Flash has built in smart clips from the common libraries, on of the clips is a drop down box, very nice, and would be very useful, hower I am failing time and time again to draw information as to what the user has selected from the menu, does anyone know how to determine what they have selected?
Thanks for your time, Josh Svee.
Smart Clips
I have a problem... I have a smart clip that can have code added to it and then scrolls right or left depending on where the mouse is. It also gets longer as you add more choices... which is great. The problem is that even if the mouse is off of it, it continues to read the mouse and scroll right or left. I'm wondering if anyone knows how to prevent this from happening.
The example is at http://www.southernwineandspirits.com
Follow these links >enter>click ok for the disclaimer>skip the intro (unless you want to watch it)>once in the site go to Spirits and click on the timeline. Can someone help? I can e-mail you a file if you need.
-NITIN ANAND
http://www.nanand78.com
NANAND78@aol.com
Please Help With Smart Clips
I am working with a total web site built in Flash. I wanted to add 2 differant sound clips to be controlled by a movie clip. There is the one default sound clip to be loaded( it is a swf with on a sound file on it loaded to level 50) with the exception of when entering one page. On that one differant page (actually a swf loaded to target) there will play a differant sound (actually a swf with only the sound file on it loaded to level 50). So when you enter the site the music plays. You press the music button it unloads level 50 (turning off the music) if you press it again it turns on the music (loads level 50). I would like to make it a smart movie with a variable set that would say if this swf is loaded than plan this song. Can anyone help me? Go to http://iamzorn.tripod.com to see the site in progress and let me know what you think.
Smart Clips
I know a bit of them, I just know how they worx, so that's the question:
can u tell me where can I use them to gain the best results?
I know there are many use, so tell me!!!
Smart Clips
I've got a smart clip with scrolling and toggling functions that loads an external text file. I want to be able to not only load an external text file, but also load different .swf files (image backrounds) into it and still maintain the scrolling functionality for the text file.
How do I set the variables and parameters so that I can do this?
Thanks,
MethodAir
http://www.electricmountain.com
[swf width="100" height="80"]http://www.electricmountain.com/methodair_loader.swf[/swf]
Smart Clips (i Think)
Hi
I have a checkbox MC which i will be duplicating several times in my movie.
In the actual checkbox MC there are some actions but some of these actions need to be changed according to which checkbox it is in the main movie.
I am trying to use some parameters via a smart clip, but i am not sure how to access them using my actionscript.
For example (if the script on the checkbox was):
test = "This is number" add number
where number was the parameter defined in the clip.
How would i do this?
Ash
Smart Clips
Hi all,
i need a smartclip interface tutorial, if anybody know apart from Macromedia site,typicaly iam looking for step by step expantion.
thanks
Smart Clips, Help Please
Hello All,
I am having problems with a smart clip I have just created.
I have just created and my first smart clip and user interface. It all works relatively fine except, if I click on my smart clip after I have entered all of the information in the User interface, it resets all of the clip paratmeters in the smart clip, and all of my user interface options go blank.
Does what I have said make sense??
Please I need help before I go mad.
Thanks
Reno
Smart Clips (again)
Hi people,
Just a little question for you :
I have multiple buttons with the same style/function, so I figured I could use a Smart Clip.
Now, the problem lies in it's complexity (for me that is)
What I want is a button with a title, a caption on mouse over(similar to the ALT tag, a description) and an URL to an external HTML file when it's clicked. These 3 are all parameters for the Smart Clip (seems logical to me).
I just can't get this to work
Any help is appreciated !!!
Thanx in advance.
Smart Clips?
Hi - I'm looking for a better way to make a lot of swf's point to different URLS [makes no sense, i know) The problem is @ http://choons.net/scripts/nav.php?name=mixesck
What I want to do is have 1 swf file on the server, but have it link to different URLs every time it is used. I don;t know anything about smart clips...do they allow you to dynamically set variables inside the animation? Have a look @ the URL - you'll see the problem I'm having. It just seems totally inefficient having all of those swf files on the server.
There must be a better way to do it, mustn't there?
Cheers,
Dave
Smart Clips?
what arre smart clips and how can i use them?
thanks
-y
(flash mx)
Smart Clips In MX?
I posted earlier today about using multiple instances of a generic button - where the text lable changes. I got the reply I was looking for - Smart Clips...alas, I cannot find Smart Clips in MX - only "UI Componenets". What I've found is that I have to use and modify the available UI Components, but that looks like it's gonna be more trouble than it's worth - it makes more sense to make my own smart clip from scratch - so onto my question - does MX have Smart Clips - or has that feature been replaced by the UI Components panel??
Smart Clips
What do they do
and how do you create one
what would you use them for.
brood
Using Smart Clips?
Would anyone happen to know how to, after "Defining Clip Parameters",
delete clip properties.
I have tried a few things:First, the obvious, simply delete the entries in the "Define Clip Parameters" box - hasn't workedSecond - occupy each text box with new content - hasn't worked.Also - Unchecked the "Lock in Instance" box, then click "OK" - hasn't worked.
Thanks in advance!
Smart Clips Help
I downloaded some smart clips from macromedia flash exchange, but i don't know how to use them, can anyone help me?
DAMN THESE SMART CLIPS
OK , i learned about sclips like just yesterday morning ( i dont like to sleep at night) and for some reason i cant get them to work in my movies, i made one perfectly and used it... im tryin to use a clip to make a menu so i can just beteween frames, ya know..., but i cant get it to work, i can only get them to work when i set them to get a url, but not to jump between frames, im trying to use the clip on the main scene, someone , anyone, skool me on the subject..
enkiptid - the only flasher that raps
SMART CLIPS AGAIN, I NEED A FAVOR
Alright, i really wanna use this method but i cant figure the **** out, so what i wanna know is: if anyone, ANYONE thinks they have the time, make a fla for me that uses smartclips to redirect to diff. frames, like a menu, but the buttons are smartclips... its not really important that i use this method, i just don like giving up.. this would realy help me a lot, just post up a url so id be able to d/l. peace
enkriptid
Smart Clips Issues...
I'm having a difficult time, to say the least passing the variable from the samrt clip I'm using in a Movie Clip instance to the main timeline. Suggestions. Sorry, so trivial.
Problem With Smart Clips
im using a smart clip to create popup windows, but i want to use diffrent buttons to open diffrent windows, when i change the code on a button it changes all of them, and im using a tell target to display the names of the diffrent buttons.
how can i sort this
Question About Smart Clips
is it possible to assign a variable as the value of a smart clip parameter??
eg.
Name | Value |
text | variable |
Smart Clips Help Needed
hey guys,
if anybody among you have a good hang on over the smart clips, (already available in Flash 5), then you gotta help me out. Using some of the learning interactions in the smart clips, the GUI (graphical user interface) which does the main scripting is in a shockwave format which is called by the clip paramater.
Can anybody tell me, whether it is possible to access the fla file of that swf file. I hope i'm making enough sense to you guys.
Pls mail me or reply to this post, if you guys think you can help me out.
Thanking you,
ravi.tandon@learningmate.com
Smart Clips And Pop Up Windows ...
Hi people,
I have created a Smart Clip which has the variables number and url in them. In the Smart Clip there's a dynamic textfield to show the number and a button to click on it.
As an action to that button I want to open a popup window, using the variable url.
Code:
on (release) {
getURL ("javascript:PopMe=window.open(url,'Popper','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();");
}
Anyone got an idea what I am doing wrong ?
Components, Smart Clips, AND?
Ok i have to do for a big company a list of reusable standard form elements like pulldowns and all that ****. I thought about this nice feature called components in Flash MX, but i had to realize that they are only working if the user have tthe flash 6 Plugin , right???
Then i was thinking about some stuff called smart clips.
Do you know if they are still existing in flash MX and how the **** works???
The customer wanna add and delte lines in authoring environment and wanna change the colour perhaps. Nothing special but i want to have a solution where they don't have to chekc my code or anything with movieclip ****, you know. It should be suuuupppeeeeerrrr easy.
Right now i am thinking of using an external text file to provide easy going functionality. What do you think
what would be the best way???
Autoringenvionment is Flash MX on a mac. And the customers of my customer are using Flash 5 plugin, so everything has to be flash 5 conform.
Thanks for any hints
cu
b3t4
Would Smart Clips Be The Answer To This?
I am trying to achieve an effect of random letters all coming in to the stage area and settling to show readable text.
If you click HERE you can see the effect I mean. My problem is that at the moment I have only done one piece of copy and the file size is 85kb or something. Which is going to be too great when there is all of the copy set up and in place.
Would smartclips be a better solution? I believe that a smartclip can be replicated and edited without using up much memory, changing the characters in the smart clip (am I right?). Does anyone think that this is the way to do it or is there an easier, more effective and less memory intensive solution.
I have no experience of setting up a smart clip so all help will be most appreciated.
Here's hoping
Diggz
Smart Clips Values Ignored?
I've made a simple smart clip with a single parameter called loadval, which is going to be used as the name of the SWF I want to load in. I defined my parameter as default type but whenever I set a clip property of a value 01 to 09, it comes out as 0. It will allow any other alpha or numerical value, just none beginning with zero. Is this a bug? I've got around it by renaming any SWF's that begin with zero and using different values.
Any comments appreciated
Andy.
[symbols] Smart Clips
how do you create a smart clip. it's what is the primary component of the horz slider menu from the .fla's.
i'm soo close
Sharing, But Not Nicely - Shared Libraries And Duplicated Clips
i'm using dynamically shared libraries in my movie. currently i load the swf into its own library mc (located at _root.sharedLibrary) and ideally i would like to duplicate the clips and use them in the parent movie.
is there a way i can duplicate clips into a different movie clip other than their origin if the source mc's are loaded into a child clip?
i cannot attach the duplicated clips inside of any clip except the library mc. in the following example i'm trying to attach the mc from the shared to the _root level. it duplicates into _root.sharedLibrary instead:
Code:
//frame 1
createEmptyMovieClip("sharedLibrary", this.getNextHighestDepth());
sharedLibrary.loadMovie("sc_versa_shared.swf");
//frame 2
sharedLibrary.attachMovie("myIcon", "newIcon", this.getNextHighestDepth());
newIcon._x = 400;// does not work
much thanks,
jwt
Using Actionscript To Change Smart Clips
Hi,
I'm trying to adjust a smart clip from the root directory, using the set variable function. Is it possible to do this? It seems like it should be, but I can't get it to work at all.
Thanks!
Rich.
Creating Mxi Or Mxpfiles From Fla (smart Clips)
hi
can anyone tell me how can i make mxi or mxp from fla(smart clips)
i have made a smart clip tooltip ,defined its paraneters
saved the file .Now i want to make the mxi or the mxp file to pakage it with Extension Manager
i looked everywhere for how to make mxi file nd i didn't find anything .
please give me detailed information
thanks for help
Dynamically Feed Smart Clips?
I'm looking to create a dynamic frontend that will read in XML data. I want to create a smart clip that can be dynamically loaded in from the library with the variables dynamically set at runtime. Is this possible?
--->The goal will be to have a smart clip that KNOWs how to handle 'n'images. the smartclip[x] can be called & attached from section[x] and removed when section[x+1] calls clip[x+1].
please help me, i need to get this project underway asap
[Edited by Jrock500 on 11-01-2001 at 01:55 PM]
Help With Radio Buttons And Smart Clips
Hi-
I am trying to set up either a pull down smart clip or radio button. I want to have a two choice response where the viewer can choose either "a" or "b". I can get the form to process and go to the script, but the problem is no value ("a" or "b"), no matter where I put it, gets sent to the hidden data file (the csv form).
I know how to do this in HTML, but where does the variable name and value get assigned? With the input text it is really easy, no problem there, but how does one make the radio button or pull down work? I'll take either one!!
Thanks a million.
-Rob
Questions About Smart Clips/Components... ^^
How to make an smart clip with a custom UI refresh itself when the user inputted the parameters , just like the components in Flash MX reflect the setting as the user changed the setting in the component parameters panel?
Any reply is welcome and thanks~ ^_^
Is It Possible To Pass Arrays From Smart Clips?
I'm using a smart clip to gather data (name, tele #, etc...) into an array. I have it all bundled up neatly in a series of nested arrays all in one array. What I'm having trouble with it getting the variable holding the array to pass it to the main clip from the smart clip. I'm using the _root.xch variable to hold all the variables I'm passing, and they all pass except the array. Help!
Smart Clips Help Needed - ASAP :O)
Hi!
I am having a bit of a brain-melt with something, and I wonder if anyone can help!
I have a movieclip on the stage with 4 buttons in it. The buttons are just coloured blocks (movieClips), all using a smart clip to control the alpha fade.
what I am trying to figure out is a way of detecting which button has been pressed so that the main timeline moves on to a particular frame label. Obviously if I edit one button, I edit them all as they are all the same smart clip. Do I add a new variable to the smart clip itself? and if so, how do I detect it?
I hope this makes sense and that someone can help me, as my head is going to exlpode!!!
I am using Flash MX on a Mac.
Thanx in advance
:O)
Face Animator Smart Clips Up For Download
I've been working on this for about four months now, ever since I completed the biped animator smart clips (I'm not good at taking breaks) and it's finally ready for the taking by anyone who's interested.
What it is: the Face Animator is an interface that you access through smart clips that you drop on your stage. In the interface, you can create fairly articulated facial animations and lipsynching, and then the code is exported back into your smart clip. Publish your movie and your animation plays! It's a fun little toy, and I'm hoping it proves useful to some of you in your animations.
At my site, in the face animator section, you can download the interface, help files, and four premade smart clips (you can create your own based on these). Have at 'em!
Any suggestions/comments, as always, would be greatly appreciated. Especially if anyone has any thoughts on the code (I've optimized quite a bit since my biped animator, but could always use more)-- send them my way!
Have fun! I hope they might prove useful.
--tyard
http://www.27Bobs.com
Smart Clips Setting Form Variables
Hey,
I'm having a little difficulty with smart clips and hoped you might be able to help.
I have created a simple Yes/No radio button for use in my flash forms. So far, all of the functionality is perfect.
My smart clip has a default property of either Yes or No, and selecting a button causes the radio to change.
I would like to do two things, but because I don't know enough about smart clips, I'm having troubles.
The first and important thing is to be able to access the value of the smartclip when sending the contents of the form. I have a theory on how this might work, but having some facts would clear it up.
If the name of the variable is State and has the values of Yes or No, do I access it via "var ThisYN = clipName.State"?
If that's true, can I set it in a similar fashion?
I can't remeber what the other thing is, so I'll have to ask about it another day.
Has anyone seen a comprehensive tutorial on SmartClips? I have a book called "Advanced Action Script 5 in Action" that's ok, but it doesn't go deep enough into some of these subjects, and I'd rather not pop for another book quite yet.
TIA,
Matt
Smart Clips Check Boxes Flash 5 Please Help
I have used some predefined smart clips that come with flash5 for checkboxes for a form. This passes the data on to a CGI script.
The checkboxes has the following script on each clip instance:
onClipEvent (load) {
// check style preference
if (_parent.style.toUpperCase() == "AUTO") {
playerVersion = getVersion;
_parent.platform = playerVersion.substr(0, 3);
} else {
_parent.platform = _parent.style.toUpperCase();
}
// create methods for the parent class
_parent.child = this;
_parent.getLabel = function () { return child.label;};
_parent.getState = function () { return child.checked;};
_parent.setLabel = function (label) { child.label = label;};
_parent.setState = function (state) { child.checked = state;if (state) {if (platform == "MAC") {child.gotoandstop(4);} else {child.gotoandstop(2);}} else {if (platform == "MAC") {child.gotoandstop(3);} else {child.gotoandstop(1);}}};
}
onClipEvent (load) {
// set the initial state
stop ();
label = _parent.label;
if (_parent.checked.toLowerCase() == "true") {
_parent.setState(true);
} else {
_parent.setState(false);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
if (_parent.getState()) {
_parent.setState(false);
} else {
_parent.setState(true);
}
updateAfterEvent();
}
}
How do I get the checked box to send the value such as installation?
The clip parameters shows 4 items:
_name
checked
label
style
I have filled them in as follows:
installation
false (only can select true or false)
Auto
I must be missing the point somewhere as to how I get it to chuck out the fact that having been checked its value is "installation details please"
Here's hoping some bright person can help.
Fs Comman Exec
I'm curious,
in flash, is it possible to "download" (automatically transfer file) from cd to desktop through clicking on button? I have been reading through lots of threads re cd-rom downloads, but not getting an answer...
yr guidance would be much appreciated
thnks
CheckBox And Duplicatemovie Clips
Help for Check Box.
This is my code which is used to call a checkbox. There is a function call render inside the movieclip which is called upon by a movie in the root.
Question is, when we duplicate movie clip, is the functions still inside the duplicated ones. it seems that I cant call the function render from the duplicated movie clip. This function works ( RadioButton.render(node) ) but not
eval(mainpath).render(node).
Why??
Please help.
stop();
stripWhitespaceDoublePass(xData);
var rootNode = xData.firstChild;
buildquestion(rootNode);
function buildquestion(rootNode)
{
for (var index=0; index < rootNode.childNodes.length;index++)
{
var type = rootNode.childNodes[index].attributes.type;
var yposition = rootNode.childNodes[index].attributes.ypos;
if (type == "CheckBox")
{
duplicateMovieClip("CheckBox", "CheckBox" + index, index);
var mainpath = this["CheckBox" + index];
_root.mainpath._x = 250;
_root.mainpath._y = yposition;
eval(mainpath).render(rootNode.childNodes[index],yposition,index);
}
}
Unloading Main Projector And Loading A New One Comman
Hello,
I have projector file that I am working with that I want to Unload itself and load an external exe or swf file (whichever is easier) when a button is clicked on.
I have figured out how to use the FScommand "quit" to close the Exe file, but I want it to load the external Exe or Swf file and don't know how to do that.
Here is some information on the files:
LRC.exe is the main projector file
LibraryLayout.exe (or swf) is the external file I am trying to load
I have tried all these combinations:
#1:
on (release) {
fscommand("exec","LibraryLayout.exe");
fscommand("quit")
}
(this one closes the program, but no exe starts prior to that)
#2:
on (release) {
loadMovie("LibraryLayout.swf",1);
}
(this one only loaded it directly in the main SWF file)
I would very much appreciate if someone could lend some advice to a self taught programmer.
Thanks!
DigiDave
Dynamic Libraries(shared Libraries)
Hi,
I'm a total AS3 noob, so bare with my learning curve please.
I would be interested to load multiple swf files in the main movie and use the libraries from each swf file.
Can I do that with AS3. I know it's impossible to do that in AS2, where you can have only one shared library, but how about AS3 and FP9?
I've found some threads + posts on the internet, but they are not really helping as I need to understand the foundation and how to and what it means, so I'm hoping for a really helpful soul out there to enlighten me...
Pages I read:
http://www.flash-db.com/Tutorials/lo...ata.php?page=1
http://www.ultrashock.com/forums/act...swf-92007.html
http://www.scottgmorgan.com/blog/ind...-swf-with-as3/
Thanks in advance,
Eddie
Smart Clips "learning Interaction " Please Read Question
i've created a quiz in flash using the learning interaction smart clip...what im trying to do is at the end of the quiz to recieve a score ....
example:
correct 5
incorrect 6
98%
I know it has to do something with variables
but im not to go at that yet...so if anybody could point me the right direction i would be very greatful...
thanks
dank
|