|
-
Fellow Flix users,
I downloaded the Flix video / audio jukebox FLA from the Wildform website and a test movie works great in Flash 5, but when I do a test movie of the same jukebox FLA using Flash MX I get the following error message:
**Warning** Scene=Scene 1, Layer=Variables, Frame=40: Line 1: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "video1";
**Warning** Scene=Scene 1, Layer=Selection Buttons, Frame=40: Line 2: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "video1";
**Warning** Scene=Scene 1, Layer=Selection Buttons, Frame=40: Line 2: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "video2";
**Warning** Scene=Scene 1, Layer=Selection Buttons, Frame=40: Line 2: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "video3";
**Warning** Scene=Scene 1, Layer=Selection Buttons, Frame=40: Line 2: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "audio1";
**Warning** Scene=Scene 1, Layer=Selection Buttons, Frame=40: Line 2: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "audio2";
**Warning** Scene=Scene 1, Layer=Selection Buttons, Frame=40: Line 2: Case-insensitive identifier 'selection' will obscure built-in object 'Selection'.
selection = "audio3";
If anyone out there can help me fix this I would be very grateful. I really like this jukebox a lot and I would hate to avoid using it because of this problem. Thanks in advance.
Cheers,
Binar
-
Senior Member
Binar ~
I got your email, but there was a problem with the recipient being rejected and it just wouldn't send. I'm posting my response here so everyone can benefit from it.
As for the error messsages you are getting, it looks like you're in luck. MX seems to be having a problem with only one thing, although that single thing is showing up in several places. As you can see from the warnings, all of the problems have to do with the name of the variable "selection". All you have to do is change this value to something else. This is the variable that determines which file to load. There should be eight places that you have to change this variable.
1) Frame 40 in the "Variables" layer - this frame action sets the variable "selection" to the default value of "video1". Select that frame in the timeline and then change the value in the Actions Panel (F9).
2) Each of the six buttons also sets the value for this variable. Select each of the buttons on frame 40 and change the value of the variables to the same one you decided on in step 1.
3) Frame 50 in the "Actions" layer - this frame action loads the user-specified selection, using the variable "selection". Select the frame in the timeline and then find the part that says "selection" and change it to the new name of your variable.
As for using this jukebox with just audio files would work fine. The only difference between the audio and video selections currently is their name. They are both just loaded movies (.swf files), only the content is different. So all you have to do is change the text on the buttons themselves and the name of the file that gets loaded (as well as the path to that file...right now they are being loaded from the Wildform server).
Let me know if you have any more questions.
Mark
-
Followup Question
Mark,
Thanks for your posting. It helped me out a lot. I followed your instructions and changed the word "selection" to "choice" in eight different locations and now the jukebox works great! (Why FlashMX doesn't like the word "selection" .... is a mystery I'm not going rack my brain with).
Lastly, I'm wondering if you can help me out with properly setting up the URL located in frame 50 because eventhough I have read the jukebox tutorial I'm still a little confused on several issues. Here is a brief overview of my directory setup:
I have the jukebox.fla located on my hard disk inside a folder called "test run" (jukebox.fla is not on a webserver yet, I first want to make it work on my computer). So my path looks like this: test run/video/rush/juke_
In addition I have two versions of an MP3 song titled "wishing" converted using FLIX. The first version is at 56K and the other is at 256K. Now here is my question. Do I have to rename both of these versions to "audio1" so that it can work with the actionscript code inside of jukebox.fla? My second question is where do I put them? Inside of the "Video" folder, or the "rush" folder, or the "juke_" folder? Lastly, do both versions need to be together inside of the same folder? If this is the case, this means I can't have both the 56K version and the 256k version of the FLIX swf with the same filename of "audio1". I find this confusing.
Below is the URL I'm using and that is not working out:
loadMovie("test run/video/rush/juke_" add choice add "_" add band add".swf", "screen");
(in this case I have only the 256k version of audio1.swf inside of the "rush" folder, I don't know where to place the 56K version of audio1.swf)
If you can help me figure out how to make this work I would be very grateful. Thanks in advance.
Cheers,
Binar
Lastly, great website! I think it rocks.
-
Senior Member
You might want to make things easy on yourself and just put everything in one folder on your hard drive. That's what I did when I created the jukebox and just changed the path once I was ready to go live with it. For testing on the web, I again just put everything in one folder on my server to see how everything would stream.
As for how to name your .SWFs, they all currently need to have the "band" variable appended to the end of the file name. So, the name of the first audio .SWF for 56k users would be "juke_audio1_56k.swf" and the name of the .SWF for 256k users would be "juke_audio1_256k.swf". "audio1" is the value for the variable "choice" and "_56k" is the value for the variable "band", which is short for bandwidth.
Now for the path to the files...I would start by putting all your files in what is now the "test run" folder. I would then rename this folder so it didn't include any spaces...this can sometimes cause problems. Then the path to the movies would be as follows:
Code:
loadMovie("juke_" add choice add "_" add band add".swf", "screen");
The names of your .SWFs would be as listed below if you wanted to use all audio files in the jukebox.
juke_audio1_56k.swf
juke_audio1_256k.swf
juke_audio2_56k.swf
juke_audio2_256k.swf
juke_audio3_56k.swf
juke_audio3_256k.swf
juke_audio4_56k.swf
juke_audio4_256k.swf
juke_audio5_56k.swf
juke_audio5_256k.swf
juke_audio6_56k.swf
juke_audio6_256k.swf
That should get you working. Let me know if you experience problems.
-
Hopefully my last follup question
Mark,
Thanks a lot for the last post! It aided me in finally getting my music to play at either 56K or 256K.
Now, I hope I'm not pushing my luck here asking you for a little bit more help, but I seem to be experiencing two other problems.
First, I can't seem to figure out how to make the wavey analog line display when either my "juke_audio1_56k.swf" or my "juke_audio1_256k.swf" plays. It only seems to show up when it plays only the music located on the Wildform server. How is this wavey analog line activated? Is it a movieclip inside of the "jukebox.fla" file because I can't find it?
The last problem I can't figure out is one that occurs after the song comes to an end. Once the jukebox stops playing either my "juke_audio1_56k.swf" or my "juke_audio1_256k.swf" songs, a error message window pops up with the message shown below:
Error opening URL "file:///C|/Mywork/website/testrun/"
I have taken a close look at all of the actionscripts located on the actions layer and I can't find any code that tells FlashMX to look for a file after it's done playing a song.
In closing, this jukebox.fla file has really been troublesome to get working. I feel fortunate that I have been able to rely on your help and I hope this is the last problem that pops up so that I can stop bothering you. I hope to hear back from you.
Thanks,
Binar
-
hi
hi how do i get title i mean How you importing titile and author name with each video i check whold file i got the script. but where the text is comming from
thanks
Ritesh
-
Hi.
You enter those in the variables section of Flix when you create your video.
In older versions of Flix there were fields labeled "Title", "Author" and "Desc" in the File tab. Those were removed as of Flix 2.x+ to make room for other features.
All you have to do is use the variables field in the SWF tab. Just use the variable names "TITLE", "AUTHOR" and "DESC" and enter the information you want.
jb
-
CANT FIND FILE ERROR when JukeBox is on LOCAL
OK.... I've downloaded the VIDEO JUKE BOX from wildform and I'm testing it on my hard drive becase I'd like to put it all on a CD in the future. And i've read the previous posts on how this thing is to work.... but i have a quick question.
Why and How do i fix the loadmovie problem
i keep getting something like
Error opening URL "file:///C|/Mywork/website/testrun/"
It happens when i type the following in
loadMovie("juke_" add selection add "_" add band add".swf", "screen");
which is the same thing as if you hard code it.
loadMovie("juke_video1_56k_.swf", "screen");
All i want is for this to run from the same folder and i get the error that reads.
Error opening URL "file:///C|/Mywork/website/testrun/"
Please forgive my misunderstanding but if someone could give me a little hint as to how i could get this to work on a cd or better yet local with out getting that error like its looking for a website that would be GREAT.
Thanks
RegGFX
-
Hi.
It looks like you are using an incorrect path to the .swf file you want to load.
If the path is not exact it won't work.
jb
-
------------
Re: Followup Question
Originally posted by Binar
Why FlashMX doesn't like the word "selection" .... is a mystery I'm not going rack my brain with
'selection' is a reserved word in Actionscript for MX.
-
empty "screen" Stage Cordinates
How do I:
No matter where I move the movie clip "screen" (it is empty and represented by a little circle with crosshairs at frame 40) I drag the clip or move it within the properties panel x & y values. The movie stays in the same spot the movie clip I am moving is "screen"
What am I doing wrong? I am using Flash2004Pro I see this was created for Flash5.
I am editing the original Wildform Juke Box.
I have played with the movie mask and it cuts off the movie when I move the mask (mask works fine). No matter what I do the movies play in their original location. I have also attempted rename the "selection" with no success (choice does not work) http://www.flashkit.com/board/showth...hreadid=288774
Could these errors be the problem? What is a valid Actionscript syntax for the replacement of "selection"?
I appreciate your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|