# Button issue

**URL:** <https://forum.kirupa.com/t/button-issue/286633>\
**Category:** Uncategorized\
**Created:** [April 17, 2009, 10:25pm UTC](https://forum.kirupa.com/t/button-issue/286633 "2009-04-17T22:25:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evil\_genius](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@evil\_genius](https://forum.kirupa.com/u/evil_genius)\
**Post date:** [April 17, 2009, 10:25pm UTC](https://forum.kirupa.com/t/button-issue/286633/1 "2009-04-17T22:25:29Z")

</div>

I bought a button pack from [flashden.net](http://flashden.net) ( [http://www.flashden.net/item/two-sided-buttons/30704](http://www.flashden.net/item/two-sided-buttons/30704) ) and i cannot get it to open external SWF’s into a loader/mc

the documentation says this:

```auto

**[FONT=Verdana]4. ASSIGNING ACTIONS TO YOUR BUTTONS[/FONT]**
[FONT=Verdana]4.1. Select “YOUR SCRIPT” layer.[/FONT]
[FONT=Verdana]4.2. Hit F9 to open the actions panel.[/FONT]
[FONT=Verdana]4.3. go to line 32, you will found:[/FONT]
[FONT=Verdana] [/FONT]
[COLOR=#993300][FONT=Verdana]theButtons.onRelease = function()[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana]{[/FONT][/COLOR]
[COLOR=gray][FONT=Verdana]//put your actions here inside the curly brackets,[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana]}[/FONT][/COLOR]
[FONT=Verdana][SIZE=3] [/SIZE][/FONT]
[FONT=Verdana][SIZE=3] [/SIZE][/FONT]
[FONT=Verdana][SIZE=3] [/SIZE][/FONT]
[FONT=Verdana]to make this easier for you let's use if else[/FONT]
[FONT=Verdana] exampe: if you add a button named "[COLOR=red]PORTFOLIO[/COLOR]" the you just simply add these code:[/FONT]
[FONT=Verdana] [/FONT]
[COLOR=#993300][FONT=Verdana] if([/FONT][/COLOR][COLOR=red][FONT=Verdana]this.buttonTitle == " PORTFOLIO"[/FONT][/COLOR][COLOR=#993300][FONT=Verdana])[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] {[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] [/FONT][/COLOR][COLOR=gray][FONT=Verdana]//do something here, example:[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] this._parent._parent.yourMovieClipOnTheStage._alpha = 50;[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] [/FONT][/COLOR][COLOR=gray][FONT=Verdana]//or something else:[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] _root.gotoAndStop("[/FONT][/COLOR][COLOR=red][FONT=Verdana]PORTFOLIO[/FONT][/COLOR][COLOR=#993300][FONT=Verdana]");[/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] [/FONT][/COLOR]
[COLOR=#993300][FONT=Verdana] }[/FONT][/COLOR][COLOR=gray][FONT=Verdana]//ends with a curly brackets[/FONT][/COLOR]
[FONT=Verdana] [/FONT]
[COLOR=red][FONT=Verdana]“portfolio[/FONT][/COLOR][COLOR=black][FONT=Verdana]” is not the same as[/FONT][/COLOR][COLOR=red][FONT=Verdana] “PORTFOLIO” [/FONT][/COLOR][COLOR=black][FONT=Verdana]it is case sensitive[/FONT][/COLOR][FONT=Verdana] [/FONT]

```

anything i’ve tried renders useless and leaves the button inactive.

the faq says you can load swf’s, but doesnt say how, and the author isnt responding to messages.

any ideas?
