Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Waht Is A Smart Clip?


I don't understand macromedia's explination. And I couldn't find an explination here at FK.

Can I use external files to make dynamic content with in flash with a smartclip?

What are some general examples of it's use?




FlashKit > Flash Help > Flash ActionScript
Posted on: 10-12-2001, 12:22 AM


View Complete Forum Thread with Replies

Sponsored Links:

Waht's The Best Way To Do This?
I seem to run into this problem allot but never have the time to come up with a solid solution and wind up doing a work around with frame labels, but this time I want to do it right.

So here goes:

I have 5 buttons that tell a specific MC to gotoAndPlay (2);

In addition to this action each button needs to do something to make sure the other 4 MC's gotoAndStop("blank");.

The goal is to have only one MC playing on stage and that MC depends on what the user selects.

So what's the best way to handle this? I know there are a ton of ways to go about this but I am trying to determine the simplest, and easily scalable (adding additonal MC's & buttons).

Thanks in advance for any replies. If the above makes no sense here is "psuedo code":

on (release){
MC1. gotoAndPlay (2);
//the other 4 MC's gotoAndStop("blank")
}

View Replies !    View Related
Waht Does This Mean
timr.addEventListener(TimerEvent.TIMER, onTimer, false, 0, true);

I'm trying to figure out what this line of code means. I know the timr is an object on the page and were getting it to listen for the timer event. When this occurs it will call a function called onTimer, with this I have no problem. What I would like to know is what false, 0, true mean. I know these are optional, but what are they doing

View Replies !    View Related
SMART CLIP
Hi

I have a smartclip with params. One of my param is a list type withe 5 values and i would like to select the value when i click in a button

How can i choose the value of a smartclip param from a button action ??

Thanks

View Replies !    View Related
Using A Smart Clip And Would Like Some Help
I have never used a smart clip before, but I think what i am looking to do would call for it. If anyone could take the time and kind of walk me through this, thanks in advance...

I have a timeline with about 40 buttons. I have not yet made them buttons, because i think i can use a smart clip instead? They are basically squares with the years date inside, for example 1990, 1991 etc.

I made another MC named "yearinfo" and on each frame is the info i would like to show up when the appropriate button is pressed.

My question is how would i use a smart clip to have the appropriate year info appear when that years button is pressed?

jhb

View Replies !    View Related
Smart Clip Help Plz
can some please tell me how i make a smart clip button that will jump to certain frame on main timeline to - the frame being the variable.

thanks in advance

View Replies !    View Related
Smart Clip?
Hi,
Is there any way I can put a variable name insted of the value in the clip parameters?
Thanks

View Replies !    View Related
Smart Clip
Im not to good at smart clips but i am trying to make 1 animation lets say like a door that will close, but i want to be able to drag the clip to the timeline and give it its own action script. I cant doit it now or it will chg the action script in all the duplicates of it. Does anyone know how to set this up as a smart clip? I have no idea how to set it up for a task like that. Thanks in advance..

nurv

View Replies !    View Related
Smart Clip?
ok first off i have a solution to my problem, but not a good one, basically i have a mc and inside the mc are a button and a text varible.

on the main time line i have 6 instances of this same button. now every thing works, the varibles load the relevent menu title in the relevent button. As it is the same button repeated i have a small file size. problem is how do i program each button indiviually. i though i could dulicate the mc 6 times for each link and the program the button in side of each diffierently, but this seems kida mes. i was wondering if any one out the could think of an alternative. i thought smart clips might be of some use but i havent a clue if and how they would work.

any ideas guys.

View Replies !    View Related
Smart Clip Help
i imported a "pause" smart clip to a movie i made recently
the smart clip is a button that pauses the movie and resumes it when clicked.

The pause function works fine but when i click to resume play i get this error message.

Target not found: Target="_root" Base="_level0.instance3"

I have nfi whether the target is a scene or what and wtf is a Base?

cmon gurus help me out here please

View Replies !    View Related
What Does Smart Clip Do?
Could anybody explain what smartclip does and what is the most common use of it other then preloaders?

View Replies !    View Related
Smart Clip
Hello,
I am trying to use some smart clip with the flash manager extension, everytime I want to install a smart clip menu, the extension manager pop up a message wich says tha flash mx does not support smart clip extension. Can somebody please help me?

View Replies !    View Related
Smart Clip Help
Hey i used this tutorial on smart clips for navigation but it didn't quite finish what i needed.

http://www.kirupa.com/developer/mx2...martclipnav.htm

Its a great tutorial but it doesn't tell you how you can like the buttons independantly to seperate scenes or external swf's. If someone can help me on this one i would really appricate it.

Thanks

View Replies !    View Related
Smart Clip Help
Hey i used this tutorial on smart clips for navigation but it didn't quite finish what i needed.

http://www.kirupa.com/developer/mx2...martclipnav.htm

Its a great tutorial but it doesn't tell you how you can like the buttons independantly to seperate scenes or external swf's. If someone can help me on this one i would really appricate it.

Thanks

View Replies !    View Related
Smart Clip And Clip's Name As Parameter ?
First excuse my english, i not so good....

I am really disappointed, i thought smart clip was so powerful but i realise it is impossible to use a parameter as a target...

My smart clip should control any other clip on the scene with the clip's name as parameter.
But it doesn't work.
For exemple if the parameter's name is myClip, it seems to be impossible to write something like this in the smart clip:
_parent.myClip._y = 45;
I think the reason is that myClip is a string (the default type parameter) and you probably can not put a string into a target.
I would be so glad if you said, it ok, there is a solution...

Thank U for help.

j

View Replies !    View Related
Waht Is Globaltolocal() ?
how i can use it ? and what it does ?

I have been told to use it , but how ?

can i get example ?

View Replies !    View Related
Smart Clip Parameters
I wonder if it is possible to set the value of a smart clip parameter with action script.

Let's say I duplicate a smart clip with a parameter called "loop". The new mc is called newmc. How can I set the loop value of newmc ?

I tried the following code but it doesn't work;

duplicateMovieClip (_root.mc, "newmc", 2);
newmc.loop=true;

Any help will be much appreciated. Thanks.

View Replies !    View Related
Smart Clip Trouble
Hiya all

I am making a smart clip with many properties, the problem I have is that when declaring clip parameters during design time, if I have a boolean that I want to give the value false, it treats false as a string "false" and not the value false. How can I get around this??

Cheers

View Replies !    View Related
Why Won't The Smart Clip Listen To Me?
Hello,

I have just started working with two separate smartclips in my movie. Now, I have two separate problems!

ONE : Using the 'easy popup window' smartclip, i managed
to get the popup window generated. to test the popup,
i entered a simple website address. then, i saved, published, and found a working popup (to my delight). next, i went to change the parameters, particularly the URL, to my own movie settings.
to my dismay, upon saving and publishing, the .swf only seems to contain the original parameter settings. the old parameter settings remain even when i change the URL to one i KNOW is valid. the new settings show up when i load the .fla file, but they do not seem to be active.
unchecking 'lock in instance' had no effect (though i am not sure its actual purpose).
does anyone know why the changed parameters do not become active?

TWO : Duplicating the 'text effects' smart clip, i ran into a similar problem. i wanted to change the parameter 'text' setting in each duplicate to another word string, so as to reuse the text effect. however, only the 'text' parameter of the original smart clip seems to have an effect on the 'text' parameter of ALL the duplicated smart clips.
does anyone know how to override this power of the original smart clip?

To me, these smart clips don't seem very smart.

thx,

Emceedeus

View Replies !    View Related
Accessing Value Of Smart Clip
This is kind of a repost. I did some testing and have made a little progress when using smartclips as form elements.

My goal is to create a smartclip Yes or No radio button. Assuming this works, I'm going to create a few more common form elements for use.

I want the value of my smart clip to get sent with a form. I thought that it might be good to set a global variable equal to the property of my smartclip every time someone releases the mouse button. Unfortunately, the value that is returned is always the default value.

If you go to http://www.bearfruit.org/flash/ you can see it and download the fla file. Clicking yes or no works just fine, but doing a trace("this.State") always returns the same thing. If you set the default value to Yes, it always says yes, if the default is no, it always says no.

I figured I could create an action in the clip that sets a global variable, but the problem is that I want to be able to use several of these on the same page.

I wondered if it's possible to send a second parameter to the smartclip that defines what global variable to use for storing the value. I could eval() it and set it in each named frame (yes or no).

What do you think?

View Replies !    View Related
Scroller Smart Clip
Hello,
I have a deadline coming up & I need some helpful guidance please... I have downloaded a smartclip from the web to use within my Flash website. Once I click on clip parameters, I need to set the DataURL to the path to external text file to pull info into the smartclip scroller. I am not sure how to type the relative path to my external text file. I have placed the text file in the same folder as my .fla. I think the path involves _root or something but not sure. If someone knows the correct format for typing the relative path to my text file to pull my data into my scroller, please let me know. Greatly appreciated!

View Replies !    View Related
What The Hell Is A Smart Clip Exactly Anyway?
i've heard people talk about using them but never got round to invetigating them myself. what is their function? what advantages do they give me?

View Replies !    View Related
Smart Clip Arrays
Hi All, or anyone.

Does anyone know if I can create a multi dimensional array for a smart clip.

I know how to do it on the movie clip with the onload but I want to try and get all the setup for the clip into a smart clip.

I know you can select values as Arrays but can you then include an array of these arrays in the clip setup window??

Thanks for any help.

Sorry I'f I'm not very clear.

Slarti

View Replies !    View Related
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.

View Replies !    View Related
HELP With IKPreloader Smart Clip...
Hi,

I need your help please. I'm designing an e-card for my client's company (national). I'm using the IKPreloader smart clip by Ian Kelleigh (email: TheFHSource@home.com). I got his smart clip from Macromedia Exchange. Apparently, Ian's email address has been changed. Hopefully, Ian will show up here and help me... If not, I hope one of the actionscript-gurus can help me right away.

I changed Ian's animation to mine. I think I got the smart clip working, but when I check the streaming status at 28.8 baud, the percentage and the bar does not load until they show up at 78%. I would like to have percentage and the bar progress as soon as the Preload animation shows up and then go to the main scene. I am actionscript-shy. Can you help me?

Thank you,
Leigh-Anne

View Replies !    View Related
Smart Clip Custom UI
Hi
I was creating a smartclip ,and I made a Custom UI for it.
I linked the custom UI to it and when I selected the smartclip the Custom UI appeared allright ,then i wanted to test the movie , Flash crashed !!
Also when i tryed the FLA again,selected the smartclip,deselected it and then selected it again ,the same happens Flash crashes.
I don't know where the problem is ,but I know that i did Custom UIs before and they worked fine.
Has anyone saw something like that before?
Please tell me how to solve/prevent this?
thanx

View Replies !    View Related
Smart Clip Help Needed
Hi;

It's been a long week and I'm drawing a blank with what should be a very simple problem.

I'm using the sample menu smart clip that comes with Flash 5. I've changed the menu options to "Parts Set 1" Parts Set 2" and Parts Set 3" to test it. I want the movie to jump to labeled frames "tools1", "tools2" or "tools3" depending on which menu option is chosen.

I'm confused (big surprise) about *where* exactly I put the gotoAndStop(framelabel) code.

It's the first time I've used smart clips, and obviously they're smarter than I am. ;-)

Do I attach an actionscript to the smart clip?

The description for the smart clip even gives some coding hints, but it would really help if someone could either break it down very simply or point me to a URL that might fill in my blanks.

I know it's as obvious as can be, but I'm drawing a blank (par for the day, I'm afraid).

Bear with me; it's been a really, really long week. ;-)

-- Walt:confused;

View Replies !    View Related
Problem With Smart Clip
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

View Replies !    View Related
Help With Smart Clip Buttons
Greetings

I am trying to make some buttons kinda like the ones in this tutorial:
http://www.flashkit.com/tutorials/Ac...83/more2.shtml

The difference is I want my smart buttons to jump to a labeled frame.

This is what I'm using:
on (release) {
gotoAndStop (frame);
}

but it doenst seem to work. Any ideas?

Thanks
Bapha

View Replies !    View Related
Where Are The Smart Clip Tutorials?
I did a search here at Flashkit and came up with nothing... anyone know of any sites with some tutorials on Smart Clips?

View Replies !    View Related
Door Smart Clip
just trying to find out if there is a way to make a door animation a smart clip.

Example:

U have 5 buttons, u want the same transition to each button (therefore 1 door animation movieclip), which will be loaded in sep. swf files. Is there a way to "call" the smart clip to go to the specified area?

What im trying to accomplish is the effect that most sites have, mainley 2a. when u click the buttons their tween moves on top of the background, then loads the next option. Hard to explain. Anyone?

nurv

View Replies !    View Related
Scroll Box Smart Clip?
Does anyone know wher ei can find a flash 4 scroll box smart clip?

any help appreciated.
thanks

View Replies !    View Related
Smart Clip Problem
Hi,

It's just a small problem though

I made a SmartClip that functions like a button with a caption. This all works fine, but there's one little glitch : It's generally a list starting with 1, going on till 10. For the first item I want it to start with 01 instead of just 1. Now, Flash interprets this as being 0.
I tried to put a period in front of it, but then it's interpreting as 0.01 ... Is there a way around this ?

Thanx in advance !

View Replies !    View Related
SMART CLIP MENU URL
How can I add URL in these cmart clip menus
using external text file stuff like this

http://www.macromedia.com/support/fl...p_ext_data.htm
[Edited by carface1980 on 06-20-2002 at 07:41 PM]

View Replies !    View Related
Smart Clip And Componement
smart clip and componement were first created to help people using good flash object, even macomedia created them. That's why macromedia integrated the manager extension.
A word of advice:
Conponement and smart clip are today both use in flash mx . go and see macromedia flash exchange.

View Replies !    View Related
Smart Clip And Databases
Howdy Folks,

I'm building a listing that displays content being pulled from a database (thanks to those who pointed me to the CF article that helpeed me solve the puzzle). My content is being displayed using a dynamic text field nested inside a movie clip. Is there a way for me to created a "smart clip" that can check see if there's data in the database and duplicate itself and display it below an existing movie clip?

Thanks in advance

123

View Replies !    View Related
Adapting Smart Clip
I have implemented smart clips as explained in the following tutorial

http://www.kirupa.com/developer/mx20...artclipnav.htm

I need to adapt the components so they display in the language the user has chosen. (meaning enlisch/german)

since the text boxes are within the component I am not sure if this is possible.

Any advice if this is possible with smart clips would be really helpful.

View Replies !    View Related
How To Decode Smart Clip
Hey guys, I have a scrolling smart clip and want to see how it was made so I can learn to make my own style of scrolling menus. Is there a way to break it apart so I can see the action script that was involved in making it.

View Replies !    View Related
Smart Clip C.i. Doesn't Work
Hi,
Does anyone have any experience creating a custom interface swf for the smart clip parameters box? Perhaps it is a mac problem? When I made the ci file, following all the instructions regarding the chx clip to a tee, nothing happens when I try to link to it in the default clip parameters box.
Thanks

View Replies !    View Related
Slow Smart Clip Text?
Hi all,

I've got a smart clip which, like a content management system, allows user-authors to enter text into pages of the clip. Problem is, the display of the text on each page when flicking through is slow to update. Any suggestions? I thought that as a variable it should be fast....

View Replies !    View Related
Smart Clip And Actionscript Question
Hi,

Okay, please try to imagine what I am trying to create:

1. I have a smartclip with a button inside it.
2. This smartclip has 3 parameters: url, caption, and level.
-url: will tell it which .swf file to load
-caption: will display text.
-level: will load the url into a specified level.

My goal is: Have a clean screen, perhaps use a holder MC, or maybe even one smartclip and use duplicatemovie, so that I can generate the 'url', 'caption', and 'level' from the a script. Is this even possible? If so, what do I have to do(use holder, or use duplicatemovie)? And also, what should my code tell Flash to do and how do I do it?
Right now I don't want an example that I can just copy/paste the code into my movie, what I want is to try to understand how it works and write my own code. This is for the benefit of learning, and not just getting the job done. Please help me out yet again.

Riki

View Replies !    View Related
Menu Smart Clip Question
I have a mapping application that uses the Flash 5 Menu Smart Clip to select which map symbols will be placed on. The problem is that the symbols "Stick" when selecting a new menu item, sometimes. For example, select Wake County, move the slider all the way to the right, then immediately select Chatham County. The markers from Wake County remain there, screwing up the Chatham map. I noticed that if you select the default position, i.e., Select County, from the menu, that sometimes clears the markers.

http://trilliuminternet.com/resume/d.../markers9.html

How do I clear the markers any time the user selects a new county?

Thanks!!!

Rick

Smart Clip Link:

http://www.macromedia.com/support/fl..._smartclip.htm

View Replies !    View Related
A Toughy With Smart Clip Params
So I made this smart clip and want to have an MCs or Objects id (such as _root or _levelNO) passed to it for reference. The default clip parameter is text only and the object[] parameter doesn't seem to be grabbing the object reference as I had hoped.

I had tried setting up a var called targetMC as an object param and then assigning a name/value pair as mcPath=_level2
thinking I could reference it by using targetMC.mcPath._height;
...and it got me nowhere :[

So any of ya have a clue as to how to pass an entire MC id pointer as an object reference into a smart clip?

Wow... now that I took the time to write that out...
I think I might have to use a custom Object to get the object vars and pass those to the smart clip for me.
Sounds like a pain in the A$$ to me though, there must be a better way.

View Replies !    View Related
:'( Urgent HELP :( Stuck With Smart Clip....
Anybody... please...
I just found a rotating menu in the movie section which I'd like to use for a site I'm putting together for a friend... - but I'm completely stuck!!

I've got it working fine but as I've never used SmartClips before - I have no idea how to edit them , to change them to suit my ideas... I managed to add and change the dynamic text bits and links(URLS) - but I can't get into the first column of the clip parameters...

Could anyone tell me how I could set up my own? Or alter the one I've got now?

PLLLEEEAAASSSEEEEE..... the deadline is coming up and I can't get any further without it....

Thanks for listening!
Happy flashing, Prisca

View Replies !    View Related
Linking Variable From A Smart Clip
I'm working on a Flash version of my personal business site. It's my first go. I'm i nthe midst of tweaking the featured.fla a bit and dropping in some content. If you link on the client list page you'll see my dilemma. I can't get the text to load into the text box(text) in the main timeline. I can make it work in it's own scene, but not on the main timeline. Any ideas

View Replies !    View Related
Using Menu Smart Clip From MM Library
Hello,

I'm using the Menu smart clip provided by Macromedia to have the user select an aswer to a question.

I have in my movie several menus, many of them located above other menus. Each menu is in a diferent layer.

My problem is that when the user selects an option from a menu that lies above another one the lower menu will sometimes display its list.

See sample in http://www.srenrique.co.il/mytests/flash/Movie2.html

Is there a way to have the lower menu not respond to the user click when he is selecting an option from the upper menu?

Thanks

View Replies !    View Related
Smart Clip For Text Effects?
Hi all,
I'm working on a presentation that I want to use a "windswept effect" on the different titles of each slide. I know how to do it by hand, but I was wondering if I can do it using actionscript somehow. With actionscript, can I set 2 keyframes and let flash calculate the intermediate frames, or do I have to do it out all myself? There's a total of around 20 slides that will be using this. Is there any way I can make this into a smart-clip or some sort of reusable procedure for each title?

TIA,
-Lito

View Replies !    View Related
Smart Clip Button Problem
Greetings

I have created a smart clip button. I works kinda the same as normal buttons except its more visual in that you can do a mouse over and out and it will set and animation playing after the mouse has left the button/movie clip.

The problem is that I'm stuck on how to make the smart clip work but just putting the frame label name into the clip parameters box.

heres the code i'm using - which isnt working

on (press, release, rollOver, rollOut) {
with (animation_but) {
play ();
}
}
on (release) {
gotoAndStop ("Scene 1", frame);
}


The word 'frame' is an expression. and this is the variable which I use in the clip parameters.

can someone see what I'm doing wrong?

View Replies !    View Related
Duplicate Smart Clip With Parameters ?
hy
can i duplicate a Smart Clip and give Parameters to it ?
yes, how do i ?
thanx & happy surf !

View Replies !    View Related
Setting Visibility With Smart Clip
I am attempting to use a Smart Clip check box to toggle the visibility of a movie clip. I can't figure out where to put the references for the Smart Clip parameters.

What I'm hoping for is when the user checks the checkmark in the smart clip, the other movie clip switches to visible. When the user unchecks the smart clip checkmark, the other movie clip dissappears.

Can anyone tell me where to find a reference that describes how this is supposed to work?

Thanks for any help.

View Replies !    View Related
Problem In Masking A Smart Clip?
Hey, does anybody know if it is possible to mask a smart clip? I am trying that and everytime I do so...the smart clip content is not visible (even though the mask layer covers it properly!)

any suggestions ?

Thanks.

View Replies !    View Related
Dynamic Smart Clip Content
hello, i have an dynamic text view in the Movie Clip and i'd like to load text into it from external text file on the fly. steps taken so far:

- created the movie clip "hintbox" containing the dynamic text view with variable "hintext"
- declared the variable "hintext" in Clip Parameters (as default)
- i load the text: loadVariablesNum( "hint.txt", POST )
- and i'm trying to access the variable: hintext = entryNo;

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved