View Full Version : I have N numbers of Movies (Run Time Creation). How to Make Scroller for them
manojk
10-29-2003, 11:22 AM
Hi
I have a movie in Flash. How Can I Scroll the Movies, at design time i have no information about the number of movies. it may be any number. I have to create N number of object for it, Presently I am Creating multiple instances of movie by Action Script of Flash MX. I want to show these movies in a specific area and want other to be come via some scrolling event. How can I achieve this. If you have some sample them please send me the sample too.
Regards
manoj
CyanBlue
10-29-2003, 11:32 AM
Howdy and Welcome... ;)
There are several ways to do it, I think...
Since you said that you are creating those movies dynamically, you maybe able to record what's the newly created files name in some form... It can be Shared Object or text file, but have it saved somehow, and when you are running your movie, have it read that information to display them...
Another way might be using server side script such as PHP to scan the lists of the fils in the directory and have it return to Flash to do the same thing...
No sample I have, but you might be able to scour some if you do the search in the forum since I know this has been discussed several times... Hopefully there are some samples out there... ;)
Good luck..
manojk
12-08-2004, 06:58 AM
Thanks cyanBlue but I have no idea about PHP, anyways I have got the way for it.
I have put ScrollPane and Loaded a blank movie into it then I have attached my N Movies on that blank Movie
Thanks
manoj
manojk
12-13-2004, 10:36 AM
:mad: I would like to disable possibility place text in input box by users using copy & paste operation.
CyanBlue
12-13-2004, 11:33 AM
What are you talking about, manojk??? What's that got to do with this thread??? Either create your own thread or reply to where it belongs... :mad:
manojk
04-11-2005, 07:45 AM
Hi
I have a movie in Flash. How Can I Scroll the Movies, at design time i have no information about the number of movies. it may be any number. I have to create N number of object for it, Presently I am Creating multiple instances of movie by Action Script of Flash MX. I want to show these movies in a specific area and want other to be come via some scrolling event. How can I achieve this. If you have some sample them please send me the sample too.
Regards
manoj
Hi All,
i have a scrollpane of fixed size on stage within it i want to display a image which should be in loader.
scrollpane->loader->image. and i want the loader to resize itself with the imagesize (which is ok) but if the loader size become bigger than scorllpane it should show scrolling (which is not working on my end) can u guys help me???
the code i am using for it is: wher sp1 is a blank movie clip::::
sp1.attachMovie("ScrollPane","exhibit0",sp1.getNextHighestDepth());
sp1.exhibit0.setSize(250,250);
sp1.exhibit.scaleContent=false;
sp1._x=0;
sp1._y=0;
sp1.exhibit0.contentPath="win";
sp1.exhibit0.content.attachMovie("Loader","mcload",44);
sp1.exhibit0.content.mcload.setSize(482,354);
sp1.exhibit0.content.mcload.contentPath="CCNA.jpg";
sp1.exhibit0.content.mcload.scaleContent=false;
manojk
04-11-2005, 01:50 PM
Hi All,
i have a scrollpane of fixed size on stage within it i want to display a image which should be in loader.
scrollpane->loader->image. and i want the loader to resize itself with the imagesize (which is ok) but if the loader size become bigger than scorllpane it should show scrolling (which is not working on my end) can u guys help me???
the code i am using for it is: wher sp1 is a blank movie clip::::
sp1.attachMovie("ScrollPane","exhibit0",sp1.getNextHighestDepth());
sp1.exhibit0.setSize(250,250);
sp1.exhibit.scaleContent=false;
sp1._x=0;
sp1._y=0;
sp1.exhibit0.contentPath="win";
sp1.exhibit0.content.attachMovie("Loader","mcload",44);
sp1.exhibit0.content.mcload.setSize(482,354);
sp1.exhibit0.content.mcload.contentPath="CCNA.jpg";
sp1.exhibit0.content.mcload.scaleContent=false;
:(
i enclosed the image with this request, u can just use that with the coding above. u merly have to do is : make a blank movieclip with linkage name "win" and drag two component these are loader and scrollpane
CyanBlue
04-11-2005, 02:57 PM
If you could provide us some sample movie with all the necessary element, I'll take a look... ;)
CyanBlue
04-11-2005, 03:03 PM
You might want to take a look at this thread...
Please do not crosspost... Your crossposts have been merged... and don't forget to use AS tag to format the code...
http://www.actionscript.org/forums/showthread.php3?threadid=37043
manojk
04-13-2005, 01:35 PM
Hi All,
i have a scrollpane of fixed size on stage within it i want to display a image which should be in loader.
scrollpane->loader->image. and i want the loader to resize itself with the imagesize (which is ok) but if the loader size become bigger than scorllpane it should show scrolling (which is not working on my end) can u guys help me???
the code i am using for it is: wher sp1 is a blank movie clip::::
sp1.attachMovie("ScrollPane","exhibit0",sp1.getNextHighestDepth());
sp1.exhibit0.setSize(250,250);
sp1.exhibit.scaleContent=false;
sp1._x=0;
sp1._y=0;
sp1.exhibit0.contentPath="win";
sp1.exhibit0.content.attachMovie("Loader","mcload",44);
sp1.exhibit0.content.mcload.setSize(482,354);
sp1.exhibit0.content.mcload.contentPath="CCNA.jpg";
sp1.exhibit0.content.mcload.scaleContent=false;
:(
oldnewbie
04-13-2005, 01:51 PM
This is a MX and LOWER only forum, not a MX2004 one.
Please post on the appropriate MX2004 forum...
http://www.actionscripts.org/forums/index.php3?
manojk
04-14-2005, 08:10 AM
Hi All,
i tried a lot but didnt make it to work, can anyone make it run.
i have a scrollpane of fixed size on stage within it i want to display a image which should be in loader.
scrollpane->loader->image. and i want the loader to resize itself with the imagesize (which is ok) but if the loader size become bigger than scorllpane it should show scrolling (which is not working on my end) can u guys help me???
the code i am using for it is: wher sp1 is a blank movie clip::::
sp1.attachMovie("ScrollPane","exhibit0",sp1.getNextHighestDepth());
sp1.exhibit0.setSize(250,250);
sp1.exhibit.scaleContent=false;
sp1._x=0;
sp1._y=0;
sp1.exhibit0.contentPath="win";
sp1.exhibit0.content.attachMovie("Loader","mcload",44);
sp1.exhibit0.content.mcload.setSize(482,354);
sp1.exhibit0.content.mcload.contentPath="CCNA.jpg";
sp1.exhibit0.content.mcload.scaleContent=false;
Thanks in advance
:p
CyanBlue
04-14-2005, 12:05 PM
Obviously you don't really care what I said when I said not to crosspost... Consider this a warning and if I see you crossposting one more time, I am going to do what is appropriate for you... I mean it...
rajesh022
04-14-2005, 02:54 PM
i am using scrollpane with loader which contains a image.
problem discription:
------------------
i want to attach a scrollpane in a movieclip-> then scrollpane should contains loader which in turn contain a jpg file. The problem is if the scrollpane size is less than the loader size, scrollpane should show scrolling if the loader is bigger than the scrollpane. but scrollpane is not showing scrolling.
i am attacing the code:
sp1.attachMovie("ScrollPane","exhibit0",sp1.getNextHighestDepth());
sp1.exhibit0.setSize(250,250);
sp1.exhibit.scaleContent=false;
sp1._x=0;
sp1._y=0;
sp1.exhibit0.contentPath="win";
sp1.exhibit0.content.attachMovie("Loader","mcload",44);
sp1.exhibit0.content.mcload.setSize(482,354);
sp1.exhibit0.content.mcload.contentPath="CCNA.jpg";
sp1.exhibit0.content.mcload.scaleContent=false;
here sp1 is the name of a blank movie clip.
thanks in advance
:mad:
CyanBlue
04-14-2005, 05:58 PM
Woah... Now, you are creating another username to do the crossposting??? Ridiculous... I am reporting to the admin... Tsk, tsk... :(
rajesh022
04-15-2005, 08:26 AM
hey you cyanblue, i know u are very intellegent guy, but as i want to say u something personally, i was using my PL id to send queries and as i was new at it, i was not aware of the thread concept and now i made different id and post my query in new thread, i dont know why u are asking about crossposting this time, instead i think instead of give me such bad reply all time, u can give your some time to resolve my problem, it will be the best thing then, you can expect with others they know every thing in advance, any one can learn any thing by the time and with practice and i tried to post my query as a new thread hope you undersatand all this, at least this time.
Thanks for your kind support
hope to get some good reply next time
CyanBlue
04-15-2005, 03:16 PM
Hi...
I don't 100% follow you, but here is what I think you should do...
You should follow the rule in the forum and we'll do what we can do to help you... But obviously, you are wasting your time to create multiple posts, and I am wasting my time to merge them back into one thread... While you are doing that, you are making many people uncomfortable and even mad, so your chance to get help is becoming very slim... So... Why not post another thread and just wait to see if somebody is going to help you??? :)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.