image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
Thread Tools
  #1  
Old October 22nd, 2005, 02:03 PM
It all started at 3......
 
Join Date: Feb 2004
Location: San Jose, Costa Rica
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
ian27 is on a distinguished road
Flash MX Path Problem

Hey guys,

I have a Flash MX video player which plays a selection of videos via various flash buttons. I've been using the following code for the buttons and it was (and is) working fine...

title2_btn.onRelease = function()
{
myNS.play("amateur_nite384K_Stream10_12_05.flv");
initializeSound ();
myLV.load("video10_12_05.txt");
}

But now the video player is filled up with video clips I have to create an archive for it, which I've created just using various tabs to create additional buttons. However, these buttons are now within an MC (items1-4_mc) and no longer on the main timeline. So I've adjusted my actionscript path to find the buttons... ie....

this.items1-4_mc.title2_btn.onRelease = function()
{
myNS.play("amateur_nite384K_Stream10_12_05.flv");
initializeSound ();
myLV.load("video10_12_05.txt");
}

However, every time I test this I am getting a syntax error. The instance names etc are all correct so I'm not sure why I'm getting this syntax error - can somebody please help or advise?

Thank you in advance.

Ian
__________________
http://www.360designstudios.tv
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:18 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.