Jolan Component?
Has anyone ever used the Jolan Smiley component? If so, have you ever had a problem with it messing with other (built in) components (like the drop-down or the List)? If anyone could help that would be greatly appreciated. thanx guys.
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 11-15-2004, 11:01 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Jolan Component?
Has anyone ever used the Jolan Smiley component? If so, have you ever had a problem with it messing with other (built in) components (like the drop-down or the List)? If anyone could help that would be greatly appreciated. thanx guys.
Jolan Smiley TextField - How ? Anyone? Please?
Lo everyone,
Does anyone know how to work with this component? I tried trully, i did try but i still don't get it. I have no idea how to make this thing work.
Right now i have a shoutbox, and i just wanna make smilies get along with that shoutbox.
Anyone? Have any ideas?
Well thanks for the help anyway.
And thumb up for Jolan it looks great, yet i can't make it work
Speed Of My Button Component Versus Adobe Component
I've been happily creating my button component and things have been going well until I got to the point of creating the mouse down state.
I've modeled the structure of my components very similar to the Adobe supplied components, but I notice my component is not as attentive to mouse events as the Adobe components. I can click my mouse over one of my buttons fast enough that the button doesn't register the click.
But no matter how fast I click the Adobe button, it always registers the clip.
Is the speed difference the fact that my button doesn't use the Component shim? I plan to either use a shim or convert the component itself into a compiled clip, but for development purposes, I thought it best to reference the UIcomponent source.
I would appreciate your thoughts,
Thanks, Jennifer
AS3 Component Instantiation With Dynamic Variable Component File Name
Hello! I am passing some variables from my server to a Flex application. One of these is the name of an MXML component that will be opened in a pop up. Since I am doing this dynamically is there a way to set up an AS3 variable so that say (in pseudocode):
ActionScript Code:
// serverSideVariables['mxml_component'] = "Dialog"
var myClassNameVar:String = serverSideVariables['mxml_component'];
// then I want to do something like this:
// in static code this would look like: var myClassToInstantiante:Dialog = new Dialog();
var myClassToInstantiante:myClassName = new myClassName();
Is this possible?? Thanks!
Checkbox Component To Toggle ComboBox Component
I've got a script that dynamically generates a grid of checkboxes and combo boxes. I'm trying write a handler to toggle the Combo boxes on or off when a user clicks on the corresponding checkbox. To do this, I add a property called "bound_to" when duplicating the checkboxes. The "bound_to" property contains the instance name of the combo box that I want the checkbox to control. So here's my onChange handler:
Code:
function toggleComboBox(component) {
trace(component._name+" has been selected ");
trace("bound to "+ eval(component.bound_to));
if (eval(component.bound_to).getEnabled == true) {
trace("enabled must be true for the target");
eval(component.bound_to).setEnabled(false);
} else {
trace("enabled is false for the target");
eval(component.bound_to).setEnabled(true);
}
}
My trace actions show that the correct instance names are saved correctly and this function works to enable the combo boxes, but it won't disable them. The problem is with the IF statement I think. It always returns false so I can only toggle the combo boxes on, but not off again. Is my syntax wrong or am I doing this the wrong way?
Component Themes - Changing Button Component
I am creating a custom theme, or skin, for my components and I have figured out how to edit most pieces but the most used is the most elusive.
Does anyone know how to edit the look of the button when creating a new theme?
I am finding that you have to edit the ClassObject but Macromedia's help is very confusing, they talk aobut creating a button dynamically then about the ClassObject but don't put all the directions in one place.
Maybe someone knows a good tutorial
Thanks
Newbie Needs Component Help (Input Text Component)
Very easy i am sure.
I have a input text component on my stage. When it is CHANGED I want to move to the frame specified. IE 4 frames in target movie.
When I put 4 into the text box, I want my actionscript to go
x = this.text;
this.parent.targetswf.goToFrame(x);
x = "";
Only problem is I cant seem to use the on Change event? It says I need to use an InstanceName.AddListener. Can someone explain this to me as I couldn't find any help regarding this ?
Thanks
MCM
Changing The Color Of A Component Inside A Component?
I've been going over these docs
http://livedocs.adobe.com/flash/mx20...3.html#3148563
http://livedocs.adobe.com/flash/mx20...=00002960.html
http://livedocs.adobe.com/flash/mx20...=00002096.html
and I've been able to customize my List component like
mp3list.setStyle("color", 0xFFFFFF);
But I cannot get change the UIScrollBar or Button components. I've tried several things
Code:
_global.styles.mp3list.Button.setStyle("backgroundColor", 0x0000FF);
_global.styles.Button.setStyle("backgroundColor", 0x0000FF);
Nothing is working
Datefield Component And Combo List Component
Hello All,
Im creating a form for a booking system. When the user chooses the date and submits. The booking gets emailed to a specific address. Im using the datefield component and combolist component. in flash. I usually use PHP to push data from a text field and email. But i'm stuck here, because the datefield and combolist is not a text field. Can anyone please help me.
I wanna email the data from the fields to an email address. Im new in flash. Can anyone please help me.
Component Inspector For Custom Component Questions
Hi --
I am wondering if it is possible to make the component inspector somewhat
dynamic for use with a custom component. For example, I have a component
where the user can choose to have a value set automatically or the user can
have it set manually and enter a range for this value in two component
parameters. Is it possible to hide to parameters in the component inspector
when a third parameter is set to TRUE and to show those two when the third
is set to FALSE?
Thanks
Rich
Datefield Component And Combo List Component
Hello All,
Im creating a form for a booking system. When the user chooses the date and submits. The booking gets emailed to a specific address. Im using the datefield component and combolist component. in flash. I usually use PHP to push data from a text field and email. But i'm stuck here, because the datefield and combolist is not a text field. Can anyone please help me.
I wanna email the data from the fields to an email address. Im new in flash. Can anyone please help me.
UICombo Box Component Calling A Calendar Component
Hi I am trying to use a Combo Box that will call a calander component with the onChangeHandler.
I want it so when the user clicks the combo box a calander shows up, the user then selects there date and that date will be the current label value of the combo box.
I am using Flash MX and actionscript 1.0 so this is what i tried with no succes and was just a basic shot in the dark.
CODEfunction cmbHandler(component){
var cal = FCalendar;
_parent.createEmptyMovieClip(cal_mc,1);
cal_mc.loadMovie(cal);
component.addItem("Select Date",cal_mc);
component.setLabel(cal.getSelectedItem());
}
Loading Component Inside Scrollpane Component
Hello,
Can anyone help me out in adding a scrollpane on to the screen through actionscript and after that adding any component inside the added scrollpane component.
Thanks in advance.
[Component] Targeting Flash 6 ScrollPane Component
Hey All,
Been a while... hopefully somebody can provide some insight into what I am missing here.
I have a Flash 6 ScrollPane - yes, I know it's old, but it is also easy to do custom skinning. I had data loading into it from the library by using createEmptyMovieClip and then attachMovie to grab an MC from the library.
This all worked fine until I had to place the ScrollPane into a MC in the library, dynamically attach it to the stage and then assign the content. Now I can only get my content MC to display on top of the ScrollPane, not in it. Here is a sample:
ActionScript Code:
function showPop(popType) {
popContainer = _root.createEmptyMovieClip("popWindow_mc", 350);
popWindow = popContainer.attachMovie("pop", "pop_mc", 1);
popWindow.pop_sp.boundingBox_mc._visible = false;
popScrollClip = popWindow.createEmptyMovieClip("scrollClip_mc", 400);
popScrollContent = popScrollClip.attachMovie("scrollMC_disclaimer", "scrollContent_mc", 1);
popWindow.pop_sp.setScrollContent(popScrollClip);
};
"pop" is the linkage name of the MC that contains the ScrollPane and "scrollMC_disclaimer" is the linkage name of the MC that is the content to be scrolled.
Any ideas as to what I am missing? Any help is greatly appreciated. Thanks in advance!
Component Preloader, And Component Menu
i'm trying to use a component preloader to load a component menu, will this work? I have a more detailed post in the "Newbies" section of the boards...here's a link
http://www.flashkit.com/board/showth...hreadid=471088
If you have any idea how i can get this to work plz post...i really like this loader and it would be great to use.
Creating A Component Within A Component Class
Basically I have a component with I have associated a class with - and then attached it to stage using attachMovie and make references to it using its linked name which works great. However within this class I want to attach another movie clip component - which works however how to I reference this second component from this class using linkage doesnt work neither does assigning it to variable. The only way is to call the class - which gives undesired results.
What is the proper way to have a component within a component?
[F8] Tree Component Within Accordian Component
Hello all!
I've done a navigation scheme that uses both the accordion and tree components. The data being gathered is from an XML file. The only problem i'm having is getting the tree components to display the data that they're being provided with. I did traces and I found out that they are getting the data...but it simply isn't being displayed. Can anyone take a look at the FLA and see what's going wrong?
http://www.jake3p0.com/downloads/accordionTreeNav.zip
Window Component With Loader Component
I have the SWF loading into a shell using a Loader component. Within one swf is a trigger for a window - which ,suprise suprise, doesn't work. It works fine if I access the swf directly just not when loaded through the shell. I have added the component to the shell fla and then although a window component loads up, the content (which is linked in the library) is not found. Anyone come across this before?
Attach Code
correctAnswerBtn.onRelease = function() {
var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, {closeButton:true, contentPath:"CorrectAnswers"});
my_win.title = "Correct Answers";
var winListener:Object = new Object();
winListener.click = function(evt_obj:Object) {
my_win.deletePopUp();
};
winListener.complete = function(evt_obj:Object) {
my_win.setSize(my_win.content._width+7, my_win.content._height+32);
my_win._x = ((Stage.width/2)-(my_win._width/2));
my_win._y = ((Stage.height/2)-(my_win._height/2));
};
my_win.addEventListener("click", winListener);
my_win.addEventListener("complete", winListener);
};
Menu Component And Window Component
I have a dilema. I'm trying to create a flash application that is basically a rich text editor
well, I'm trying to make a menu component to open a window component which has a close button
here is a part of my code (attempt 1):
PHP Code:
import mx.controls.Menu;import mx.controls.MenuBar;import mx.managers.PopUpManager;import mx.containers.Window;var my_mb:MenuBar;var myProfile:Menu = my_mb.addMenu("My Profile");myProfile.addMenuItem({label:"View/Edit Profile Information", instanceName:"newInst"});myProfile.addMenuItem({label:"See My Profile", instanceName:"openInst"});//THE LISTENERSvar mbListener:Object = new Object();mbListener.change = function(evt_obj:Object) { var menuItem_obj:Object = evt_obj.menuItem; switch (menuItem_obj.attributes.instanceName) { case "openInst": var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, {closeButton:true, contentPath:"openDialog"}); var winListener:Object = new Object(); winListener.click = function() { my_win.deletePopUp(); }; my_win.addEventListener("click", winListener); break;}
The problem with this script: when I test the movie, the movie freezes and Flash asks do you want to disable the script and etc..
so I tried doing the same by attachMovie() :
PHP Code:
//THE STUFF FROM BEFORE switch (menuItem_obj.attributes.instanceName) { case "openInst": _root.attachMovie("Window","openInst",this.getNextHighestDepth()); openDialog.setSize(623.9,310) openDialog.closeButton = true; openDialog.contentPath = "openDialog"; openDialog.title = "Open Document";//HERE IS THE PROBLEM: openDialog.close = function() { trace("Closing..."); removeMovieClip(_level0.openInst); } break;
The problem from the 2nd Code Box: I can't close the box. When I press the X, it won't close it.
So...basically what I'm asking is...How do I call a Window Component from a Menu Bar Component and let the Window Component also close correctly when the user closes it.
Thanks in advance for your great help!
AS2: Menu Component & Window Component
well, I had a question Yesterday, and posted in the Flash 8 Section of this forum...well, I have a question now...When I open a Window Component(with a movie clip inside it ...ofcourse) via Popup Manager from the Menu Component, the Window opens up, but I can't go back to the menu and open it. Any suggestions on how?
Here is a part of my code (which I believe will summarize the rest of my code):
PHP Code:
import mx.controls.Menu;import mx.controls.MenuBar;import mx.managers.PopUpManager;import mx.containers.Window;var myProfile:Menu = my_mb.addMenu("File");myProfile.addMenuItem({label:"Open", instanceName:"openInstance"});var mbListener:Object = new Object();mbListener.change = function(evt_obj:Object) { var menuItem_obj:Object = evt_obj.menuItem; switch (menuItem_obj.attributes.instanceName) { case "seemyProfileInstance": var my_win:MovieClip = mx.managers.PopUpManager.createPopUp(evt_obj.target, Window, true, {title:"Open Document", contentPath:"openDialog", closeButton:true}); my_win.setSize(320, 240); var winListener:Object = new Object(); winListener.click = function() { my_win.deletePopUp(); }; my_win.addEventListener("click", winListener); break;
Loader Component And List Component
Hello everyone,
using AS2.0 does any one know if i can push or add a list component inside a loader component?
This would allow me to add as many List components as i want "dynamiclly" while letting the loader component grow as needed with the usuability of the scroll bar on a small stage.
thx
Datagrid Component Vs. Dataprovider Component ?
could someone help me out here? i am attempting to use some methods on my datagrid, but for some reason only one method is functioning.
by methods i mean this:
(DataGrid component)
myDataGrid.getColumnAt(index).width
myDataGrid.removeAllColumns()
(DataProvider compnent)
myDP.removeAll()
here is what i did:
Code:
drag and drop a datagrid component onto stage
give it an instance name of quiz_dg
here i call a function that populates an array (1 row) and assigns the array to my datagrid:
Code:
function doll(blah) {
toy();
quiz_dg.dataProvider = test;
}
this is my function to populate the array:
Code:
var test:Array = new Array();
function toy(blah) {
test.addItem({Tmp1:tmp1,
Tmp2:tmp2,
Tmp3:tmp3,
Tmp4:tmp4,
Tmp5:tmp5,
Tmp6:tmp6,
Tmp7:tmp7});
return test;
}
so here is my dilema:
Code:
no matter how i add code to manipulate my quiz_dg, none are recognized, i did figure out that some methods, manipulate the datagrid, and the same methods do not affect the dataprovider what so ever, thus the reason for having two different methods to clear a datagrid.
DataGrid Component:
Code:
you can use myDataGrid.removeAllColumns(), but it also tells me this:
Calling this method has no effect on the data provider. Call this method if you are setting a new data provider that has different fields from the previous data provider, and you want to clear the fields that are displayed.
so i had to use myDP.removeAll() to clear my datagrid
here is what i did to use myDP.removeAll():
Code:
drag and drop a datagrid component onto stage
give it an instance name of quiz_dg
function doll(blah) {
toy();
test.removeAll(); //clear previous items
quiz_dg.dataProvider = test;
}
var test:Array = new Array();
function toy(blah) {
test.addItem({Tmp1:tmp1,
Tmp2:tmp2,
Tmp3:tmp3,
Tmp4:tmp4,
Tmp5:tmp5,
Tmp6:tmp6,
Tmp7:tmp7});
return test;
}
so what i would like to use is:
Code:
myDataGrid.getColumnAt(index).width
any help is greatly appriciated....
ra2833
Need To Change A Video Component To Something Like A FLV Playback Component For Video Playlist
I'm pretty new to all this flash stuff, but have been getting my way through it the last few months. I bought a template a few months ago for my wife's Wedding Videography Company. I've been struggling trying to get a Video Playlist with working video for quite some time now, but found a good tutorial on Adobe's website recently. The template is exactly what we want except that it does not have any playback buttons at all.
We are using Flash CS3 and unfortunately are limited to AS2, not AS3 as the Template that we bought for the website is only AS2, as I've been learning that video is much simpler in AS3.
The Adobe template is listed here...
http://www.adobe.com/devnet/flash/ar...wnload_06.html
I want to change out the "Video Component" to something that allows me to have a skin that has like Play, Volume, etc.
Any help with being able to swap it out and have the XML file link to the appropriate new component would be greatly appreaciated.
Component In Component Panel
I have a component, the problem is that I have to copy the component in the libraries of different files to utilize it what I want is.... I could place this component in a folder where I can see it in a flash component panel. I could do it by placing the fla in Documents and SettingsApplication DataMacromediaFlash MXConfigurationComponents but for this I have to place it manually is there a way through which I could do the same thing..... I need a kind of a setup for my component I know theres a way to do it in flash can u help me with that (flash extension)
Its urgent as usual
Wadood
About Making Component, Using Component
I didn't know what you are so busy, sorry...
I made very simple component
grayButton.fla, grayButton.xml, grayButton.mxi
I installed grayButton.mxp
but testFile does not work in its own way
please help me , please...
grayButton.fla ===================
grayButtonClass component's first frame action ---------------------
#initclip 1
grayButtonClass=function(){
this.w=this.grayButtonMc._width;
this.h=this.grayButtonMc._height;
this.setWH(this.w,this.h);
}
grayButtonClass.prototype=new MovieClip();
Object.registerClass("grayButtonClassSymbol",grayButtonClass);
grayButtonClass.setWH=function(w,h){
this.grayButtonMc._width=w;
this.grayButtonMc._height=h;
}
#endinitclip
grayButton.xml======================
<customactions>
<actionspanel>
<folder version="6" name="grayButtonClass"
id="grayButtonClass" index="true"
tiptext="grayButtonClass">
<folder version ="6" id="Methods"
name="Methods"
tiptext="grayButtonClass">
<string name="setWH"
object="Movement"
text=".setWH(%w%,%h%)"
version="6"
tiptext ="button Size"/>
</folder>
</folder>
</actionspanel>
<colorsyntax>
<identifier text="grayButtonClass"/>
<identifier text=".setWH"/>
</colorsyntax>
</customactions>
grayButton.mxi======================
<macromedia-extension name = "grayButtonClass" version = "1.0.0" type = "flash component" requires-restart ="true" >
<description>
<![CDATA[grayButton is good]]>
</description>
<ui-access>
<![CDATA[ no item ]]>
</ui-access>
<author name = "okbary" />
<products>
<product name = "Flash" version = "6" primary ="true" />
</products>
<files>
<file source = "grayButton.fla" destination = "$flash/Components" />
<file source = "grayButton.xml" destination = "$flash/ActionsPanel/CustomActions" />
</files>
</macromedia-extension>
testFile=======================
testFile's first frame action ----------------------------
grayButtonClassSymbol.setWH(300,300);
this.stop();
testFile does not work ..
please help me
MX Button Component > 2004 Button Component
HELP!
okay, I'm moving from MX to MX2004 and I'm having trouble with MX2004 button component. I'm used to the change click handler function and I know for MX2004, I need to use a listener but I can't get my code to work. Whats wrong?
ActionScript Code:
onSubmitListener = new Object();onSubmitListener.click = function();{ //Create a new LoadVars instance for the form data formData = new LoadVars(); //Initialize formData variables formData.txtZip = ""; formData.cboDist = ""; formData.dealer = "stores"; //Gather the order information into a LoadVars Instance formData.txtZip = escape(txtZip.text); formData.cboDist = cboDist.getValue(); formData.dealer = "stores"; //Create another LoadVars instance to receive the server's reply replyData = new LoadVars(); //Initialize reply variable replyData.reply_txtZip = ""; replyData.reply_cboDist = ""; replyData.reply_dealer = "stores"; //Specify a function to call when this new instance receives the reply replyData.onLoad = handleReply; //Submit the data formData.sendAndLoad("http://www.blahblah.com", replyData, "POST"); //Telling the user what is happening scroller.text = "Please wait while your information is being processed. . .";}onSubmit.addEventListener("click", onSubmitListener);}function handleReply(success) { if (success) { trace("done loading"); scroller.html = true; scroller.htmlText = replyData.textfield; } else { scroller.text = "There was a problem submitting your information. The server my be down or not responding."; }}
MX Button Component > 2004 Button Component
HELP!
okay, I'm moving from MX to MX2004 and I'm having trouble with MX2004 button component. I'm used to the change click handler function and I know for MX2004, I need to use a listener but I can't get my code to work. Whats wrong?
ActionScript Code:
onSubmitListener = new Object();onSubmitListener.click = function();{ //Create a new LoadVars instance for the form data formData = new LoadVars(); //Initialize formData variables formData.txtZip = ""; formData.cboDist = ""; formData.dealer = "stores"; //Gather the order information into a LoadVars Instance formData.txtZip = escape(txtZip.text); formData.cboDist = cboDist.getValue(); formData.dealer = "stores"; //Create another LoadVars instance to receive the server's reply replyData = new LoadVars(); //Initialize reply variable replyData.reply_txtZip = ""; replyData.reply_cboDist = ""; replyData.reply_dealer = "stores"; //Specify a function to call when this new instance receives the reply replyData.onLoad = handleReply; //Submit the data formData.sendAndLoad("http://www.blahblah.com", replyData, "POST"); //Telling the user what is happening scroller.text = "Please wait while your information is being processed. . .";}onSubmit.addEventListener("click", onSubmitListener);}function handleReply(success) { if (success) { trace("done loading"); scroller.html = true; scroller.htmlText = replyData.textfield; } else { scroller.text = "There was a problem submitting your information. The server my be down or not responding."; }}
WTF Component Boy?
Working on my personal site and ran into some component craziness.
Was originally playing with the linkage properties of the mc's in my main movie (_level0) while investigating some preloader issues( preloader not showing up until 50K or so loaded....) - But fixed that issue....(linkage creating size issues on the first frame)
.....wouldn't you know it....I fixed the preloader problem, but the buttons of my component scroll bars have now decided that their presence is no longer required. All that is left is the scrollTrack. (????)
Here's the URL :
http://flashsucks.tripod.com/white.html
(Home and Resume sections, specifically.....)
Does anyone know what happened here?????
Also - this site has about 10 _levels. There are component scroll bars on several different _levels - all of which have disappeared - even though I did not modify any linkage properties of these movies. (Is is b/c the components all download on _level0?)
Anyway - I know I could fix it by just dragging a new component on the stage in place of the old one - BUT I really want to know what happened - in case it happens again....probably something I skipped in my recent hurried switch to MX.
Any help would be greatly appreciated!
Component BUG?
This is driving me crazy. Im trying to make a simple scrolling text.
This should be very easy, right.
I put my textbox on the stage, set to dynamic and multiline, and give it an in stance name.
I drag the component scrollbar on to stage next to my text. I target the textfield with the scroller.
I put my text in the text box. this is where I find the problem Flash will not let me resize the textbox to the desired size and the resize handel on the text box should turn black to let you know you have dynamic text, it dont do that. When I publish the movie the scroll bar seems to target the textfield because it has a srollbar but only scrolls 2 lines of the text and the whole text box is displayed. hope this was not too confusing. I have a small notion I might have a corrupted font. So I re installed all my fonts. Nope not the problem. Oh and I reinstalled flash also. I looked all over Macromedias Site, nothing. If anybody has any clue as to what is going on please let me know.
Thanks
-dahc
Component Help
I have a button inside a component. How do i set a parameter with a link value and have the button use that parameter's link value? I'm not sure what the on (release){} code is.
does that make sense?
thanx.
//23
Component Help
I am trying to write a music player component. The player loads a random sound and then loads the next sound after each song is complete. The only problem I am having is updating a dynamic text box (instance name txtSongName) when the onSoundComplete function is called. I would be greatful for some assistance.
Code:
#initclip
//================================================
//initialize class
//================================================
function JukeBoxClass() {
this.init();
}
JukeBoxClass.prototype = new MovieClip();
//================================================
//initialize function
//================================================
JukeBoxClass.prototype.init = function() {
//========================================
//LOAD RANDOM SONG
//========================================
SongList = this.SongList;
SongNumber = random(this.SongList.length);
MySong = new Sound();
MySong.loadSound("music/" + SongList[SongNumber] + ".mp3",true);
this.txtSongName.text = SongList[SongNumber];
MySong.start();
trace(SongNumber);
trace(SongList[SongNumber]);
MySong.onSoundComplete = function() {
if (SongNumber == SongList.length-1) {
SongNumber = 0;
}
else {
SongNumber++;
}
trace(SongNumber);
//Load the Next Song
MySong.loadSound("music/" + SongList[SongNumber] + ".mp3",true);
MySong.start();
//Display Song Name
this.txtSongName.text = SongList[SongNumber];
trace(SongList[SongNumber]);
}
Component Help ?
hi all, i recently d/l UI component set 2 from the macromedia site but have no help guide's to any of the new components like progress bar ??? can someone tell me where a useful tut is available.
thanks
protocol
Help With Component
I need to build a component that scrolls some links in a window. Sort of a vertical scrolling ticker where the links can be clicked on.
Does such a component or fla already exist?
Mc Within A Component
So I have a pretty basic question. What I have is Movie clip with Six Frames called disassembly, Dinamicaly loaded into a Scroll Panel Component named disScroll which is located at the root. I have 8 buttons, (previous, 1, 2, 3, 4, 5, 6, next) I want each button to correspond with the correct frame in the disassembly MC. I currently have my scripts set up like so:
previous.onRelease = function(){
this.disScroll.disassembly.gotoAndStop(currentFram e -1);
}
one.onRelease = function(){
this.disScroll.disassembly.gotoAndStop(1);
}
two.onRelease = function(){
this.disScroll.disassembly.gotoAndStop(2);
}
and so on for each button. I just can't seem to get it to work, and It's driving me crazy. If any one can help me out I would be truly greatful
Component Help
Hi all
I have an option group named Member, with two options yes and no.
The option yes name is myes and the option no name is mno. What I wanted to do is depending on which one of the options is selected a tect message is assigned to another variable. I wrote the following code.
if (myes = true){
member_party = "Yes I would like to join the group";
} else if (mno = true){
member_party = "I do not want to join at the moment";
}
I thought that since the option buttons states where either true or falsethis would work. But it seems to have assigned myes as true all the time, regrdless if any of the options is selected.
Please help
Regards
1druid1
Component Help
i've figured out how to make the up and down arrows in a scroll panel act on rollover. but theres a slight delay before the field begins its scroll.. the action script on the scroll pane is pretty complex for me so im not exactly sure what i need to change to get it to start the scroll as soon as i rollover the arrow. any help would be appreciated.
thanks
Component Help
i've figured out how to make the up and down arrows in a scroll panel act on rollover. but theres a slight delay before the field begins its scroll.. the action script on the scroll pane is pretty complex for me so im not exactly sure what i need to change to get it to start the scroll as soon as i rollover the arrow. any help would be appreciated.
thanks
Component HELP Please
I am using the scroll pane component. I am having trouble loading a movieclip into the pane. Can anyone help a brother out?
MX Component Help
I have a scrollpane component that I want to load a MC from the library. can anyone let me in on how to do this.
Component Value
how can i change textinput component value from another frame or scene
Help With Component
need help with component // download here:
http://funkshun-us.tonaleclipse.com/...components.zip
I am using the calliscope component 'attached' and i can get it to view on my published page using flash player 7 actionscript 2.0, but for some reason it is always centered in the middle of the screen no matter what I set its x,y cordinates to. I also can not put it on a layer behind anything else, it always takes the front most layer.
Regardless, the components are pretty neat and worth checking out.
Thanks,
Tom
Help On Component
Guys,
This is a very popular fla source file I downloaded from net, I wonder how can I change the menu and add links to it?
Thanks
Need Component Help
I'm still in the dark about this and casting about for help.
I have a movie with two scenes. First is a user-input form. It uses standard Macromedia drop-down components (plus one third-party componenet) because I absolutely cannot think of any other reasonable way to do the form.
You fill out the form, hit the button. The movie writes to local shraed objects and then takes you to Scene #2.
It works great, the first time. But if you jump back from Scene #2 to Scene #1 and fill out the form again, the components are 'dead.' They don't see data and don't pass it. It seems like they need reinitializing.
I got some help from someone on another board but now I think he thought I was *building* components. He suggested I use #initclip pragma to tackle the problem.
Since these are standard Macromedia components, I'm loathe to mess with them directly. Seems like the problem would be solved some other way.
Can *anyone* help?
Component Help
For somre reason when I drag the button component into my movie, it just appeard as a blank box when i test and when I publish. why would this be happening?
Thanks,
Reid
Component BUG
Hi
I've encontered a funny problrm in MX2004 with Components. here it is:
IF YOU PUT A COMPONENT SUCH AS A COMBOBOX IN YOUR MOVIE, AND THEN MOVE IT (e.g. Drag it in scene), THE DROP DOWN MENU WILL NOT WORK !!!!
TAKE A LOOK.......
What Is A Component?
I've not been able to find an exact definition of what a flash component is. can anyone help me out?
thanks.
|