Milosav, could you check this out?
Milosav,
I've started a new post over at:
http://www.flashkit.com/board/showth...5&goto=newpost
I was wondering if you could check it out. I'm wondering how I could go about doing a picture gallery...loading PNG files from my library into an empty movie clip. Could you give me some insight on this? I'd really appreciate it..I just thought I'd ask you cause you really know your stuff and have never steered me in the wrong direction!
Let me know...
-Foochuck akd Chaunce Rodriguez
:smoov:
Button Action to Frame Action
Milosav,
For the previous Flash you had helped me out with...you had show me this button action to put in the frame of my movie:
but1.onRelease = function() {
loadAudioFile("male1.swf");
};
How could I translate this to a frame action..instead of having the button call the function, I'd like the frame to play it...I'd like to have this action start at the beginning of my flash movie. Please advise...
Thanks!
-Foochuck
here is what i have so far
Here is where i got, looks like it does what i want, but this is the version i get the error about the onClipEvent as i am not preloading any of the clips.
http://www.thefoundationsite.com/flash/slidingmenu.zip
Here are the files now...I deleted all the a/s...I was trying to use your example.
http://www.thefoundationsite.com/fla...ingmenufla.zip
Create Thread - Have question Please help
Hi,
First off, this is the best thread I've found yet at hats off to Milosav for sharing your knowledge and time. I've learned a lot and have had many of my questions answered.
Milosav, I have downloaded many of your files and since I am looking for simplicity I'll address
Part 3.
What helped me most is your use of functions to organize your code. I am starting to do just that in my project. I understand Part3 and it works find for my sub level navigation (nav), where nav is a MC of buttons on the same in the same lessontemplate.swf that loads in external .swfs. (L1video1.swf, L1text1.swf, L1anim.swf, .....)
What I'd like to do is understand how I can use Part3 for my main navigation which is in an external .swf and is loaded on the same _level as lessontemplate.swf but in a different depth.
So the structure looks like this:
main.swf
-loads mainnav.swf into an empty MC
mainnav.swf - contains buttons
- user selects a button
- calls function with "section name"
-checks to see if section already have been selected
-checks to see if the template has been loaded
if not loads tempate.swf
sets navmc.IsLoaded to sectionname
-otherwise
assigns template.IsLoading to section name
template.swf - loads component .swf based on the assignments of "template.IsLoading"
My question is about preloading the template first. Would I have to put the preloader for the template.swf in the MC that holds my buttons in mainnav.swf?
I'm thinking of preloading my template.swf at the same time that maninav.swf gets loaded and setting _visible to false till I want to show it.
Here is some code I have:
Code in the first frame of mainnav.swf
stop ();
//this variable is checked before a section is loaded to ensure the movied loads only once
IsLoaded = "false";
//sectname refers to the section selected (_name of the button)
function testLoad (sectname)
{
//remember to check to see if the template is loaded
switch (sectname) {
case "overview":
if ( IsLoaded == sectname ) //check to see if the section is already loaded
{ trace (" section is already loaded");
break;
}
if ( _level0.template.IsLoaded == "false") //template not loaded yet
{
IsLoaded = sectname ;
loadMovie ("sectionframeideacurr.swf", "_level0.template" );
\\do I have to call a preloader here and where would it live
gotoAndPlay ( intromc.overview ); //this plays an animation
break;
}
else { // set variable in templatemc "IsLoading" to section name
_level0.template.IsLoading = sectname;
break;
}
//repeat for case "lessons" , "resources", and "help"
}
Code for example button
on (release)
{
_parent.testLoad ("overview");
}
Hope this helps,
thanks in advance
Lisa