Newbie :Gallery Component Help
I just got a component for a thumbnail gallery component working...but when i leave the scene to go back to the first scene the component is still there.
Anyone have any direction i can go to fix this
thanks
Subere23
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-09-2004, 10:49 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Newbie Needs Component Help (Input Text Component)
Very easy i am sure.
I have a input text component on my stage. When it is CHANGED I want to move to the frame specified. IE 4 frames in target movie.
When I put 4 into the text box, I want my actionscript to go
x = this.text;
this.parent.targetswf.goToFrame(x);
x = "";
Only problem is I cant seem to use the on Change event? It says I need to use an InstanceName.AddListener. Can someone explain this to me as I couldn't find any help regarding this ?
Thanks
MCM
Newbie Needs Help With Gallery...
Hi everyone.
Fiarly new to flash etc, and was reading a tutorial on www.kirupa.com about galleries.
http://www.kirupa.com/developer/mx/photogallery.htm
I basically got confused with where to paste the action script provided?
is it here?
would be very grateful for further advice!
Cheers
Newbie Needs Help With Gallery...
Hi everyone.
Fiarly new to flash etc, and was reading a tutorial on www.kirupa.com about galleries.
http://www.kirupa.com/developer/mx/photogallery.htm
I basically got confused with where to paste the action script provided?
is it here?
would be very grateful for further advice!
Cheers
Newbie With Photo Web Gallery
Hi all,
Yes, I am very new at the whole flash process. I am a photographer who is trying to set up a private link for a flash web gallery (made in photoshop) for sending at my discretion. I have successfully made the gallery in photoshop, and now it sits all nicely in its folder on my desktop. My question is really quite elementary, as well as embarrassing, but which of those files within the folder do I send to my potential customer? Do I zip it all and send via email? Do I have to upload each individual file from each folder to my server? There has to be an easy way to do this, I just dont know how.
I would prefer to have it set up on a lone webpage through my site, but at this point, email would be great to.
Any help would be great!
Thanks.
Newbie With Flash Web Gallery
Hi all,
Yes, I am very new at the whole flash process. I am a photographer who is trying to set up a private link for a flash web gallery (made in photoshop) for sending at my discretion. I have successfully made the gallery in photoshop, and now it sits all nicely in its folder on my desktop. My question is really quite elementary, as well as embarrassing, but which of those files within the folder do I send to my potential customer? Do I zip it all and send via email? Do I have to upload each individual file from each folder to my server? There has to be an easy way to do this, I just dont know how.
I would prefer to have it set up on a lone webpage through my site, but at this point, email would be great to.
Any help would be great!
Thanks.
Newbie Help - XML Image Gallery
Hi there!
This is my first post on Sitepoint, so here goes...
I have a swf movie that will have seven different movie clips (image galleries). Each movie clip gallery will contain five separate images(jpegs) that will be loaded dynamically, each image will have its own caption.
I was thinking a good way to do this would be to use xml, as it has to be easy to update.
I am using FlashMX and have never used xml before and have no idea how to display the contents of the xml file. If someone could help me out here it would be most appreciated...
So far my actionscript is:
Code:
gallery_xml = new XML();
gallery_xml.load("gallery.xml");
gallery_xml .onLoad = displayXML;
gallery_xml.ignoreWhite = true;
loadText = "Loading XML data...";
// Need a function to display the xml
function displayXML(success) {
if (success == true) {
// stuff to go in here
}
gotoAndPlay(2);
}
else {
loadText = "Error Loading XML";
}
}
My xml file is (Not sure if this is correct):
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<gallery>
<galleryOne>
<gallery1Node jpegURL="images/gallery1/image1.jpg">Caption 1</gallery1Node>
<gallery1Node jpegURL="images/gallery1/image2.jpg">Caption 2</gallery1Node>
<gallery1Node jpegURL="images/gallery1/image3.jpg">Caption 3</gallery1Node>
<gallery1Node jpegURL="images/gallery1/image4.jpg">Caption 4</gallery1Node>
<gallery1Node jpegURL="images/gallery1/image5.jpg">Caption 5</gallery1Node>
</galleryOne>
<galleryTwo>
<gallery2Node jpegURL="images/gallery2/image1.jpg">Caption 1</gallery2Node>
<gallery2Node jpegURL="images/gallery2/image2.jpg">Caption 2</gallery2Node>
<gallery2Node jpegURL="images/gallery2/image3.jpg">Caption 3</gallery2Node>
<gallery2Node jpegURL="images/gallery2/image4.jpg">Caption 4</gallery2Node>
<gallery2Node jpegURL="images/gallery2/image5.jpg">Caption 5</gallery2Node>
</galleryTwo>
<galleryThree>
<gallery3Node jpegURL="images/gallery3/image1.jpg">Caption 1</gallery3Node>
<gallery3Node jpegURL="images/gallery3/image2.jpg">Caption 2</gallery3Node>
<gallery3Node jpegURL="images/gallery3/image3.jpg">Caption 3</gallery3Node>
<gallery3Node jpegURL="images/gallery3/image4.jpg">Caption 4</gallery3Node>
<gallery3Node jpegURL="images/gallery3/image5.jpg">Caption 5</gallery3Node>
</galleryThree>
<galleryFour>
<gallery4Node jpegURL="images/gallery4/image1.jpg">Caption 1</gallery4Node>
<gallery4Node jpegURL="images/gallery4/image2.jpg">Caption 2</gallery4Node>
<gallery4Node jpegURL="images/gallery4/image3.jpg">Caption 3</gallery4Node>
<gallery4Node jpegURL="images/gallery4/image4.jpg">Caption 4</gallery4Node>
<gallery4Node jpegURL="images/gallery4/image5.jpg">Caption 5</gallery4Node>
</galleryFour>
<galleryFive>
<gallery5Node jpegURL="images/gallery5/image1.jpg">Caption 1</gallery5Node>
<gallery5Node jpegURL="images/gallery5/image2.jpg">Caption 2</gallery5Node>
<gallery5Node jpegURL="images/gallery5/image3.jpg">Caption 3</gallery5Node>
<gallery5Node jpegURL="images/gallery5/image4.jpg">Caption 4</gallery5Node>
<gallery5Node jpegURL="images/gallery5/image5.jpg">Caption 5</gallery5Node>
</galleryFive>
<gallerySix>
<gallery6Node jpegURL="images/gallery6/image1.jpg">Caption 1</gallery6Node>
<gallery6Node jpegURL="images/gallery6/image2.jpg">Caption 2</gallery6Node>
<gallery6Node jpegURL="images/gallery6/image3.jpg">Caption 3</gallery6Node>
<gallery6Node jpegURL="images/gallery6/image4.jpg">Caption 4</gallery6Node>
<gallery6Node jpegURL="images/gallery6/image5.jpg">Caption 5</gallery6Node>
</gallerySix>
<gallerySeven>
<gallery7Node jpegURL="images/gallery7/image1.jpg">Caption 1</gallery7Node>
<gallery7Node jpegURL="images/gallery7/image2.jpg">Caption 2</gallery7Node>
<gallery7Node jpegURL="images/gallery7/image3.jpg">Caption 3</gallery7Node>
<gallery7Node jpegURL="images/gallery7/image4.jpg">Caption 4</gallery7Node>
<gallery7Node jpegURL="images/gallery7/image5.jpg">Caption 5</gallery7Node>
</gallerySeven>
</gallery>
Cheers,
DMAX
Newbie Needs An Image Gallery
Hi folkz, im filling in for someone who's off sick for a while. I need to develop a fairly simple gallery...
what we want to do is query our DB using an ASP and get Today's Picture of the day, plus say the previous 10. Then we want to display todays picture only, no slideshow effect, but navigation buttons back to the previous 10, then forward to todays again.
Can someone point me in the correct direction? thx
<Newbie> Scrolling Image Gallery
can someone help me figure out why my site isn't loading an external image gallery? the tutorial i used can be found here:
http://www.oman3d.com/tutorials/flash/imagegallery/
they made the image gallery is completely done with actionscript and it works in the .swf for the gallery, but as soon as i call it to be loaded into the home .swf it doesn't work. here's the link to the sites homepage:
(oh and dont worry i know the pics are pixelated and some things need fixed, i'm just trying to get the site working first)
http://lightboy101.110mb.com/bootleg/Splash.swf
--- here is the gallery----
http://lightboy101.110mb.com/bootleg/Gallery.swf
if anyone can help me, please let me know. or if you know a tutorial with a better scrolling image gallery, that would be great. thanks.
Can't See Component At Runtime.(I'm A Newbie)
I am trying to perform a simple task like turn a movie clip on and off using a checkbox component. Although when I my component to the stage, all I see is a rectangular box. The checkbox is not there??????????I dont get it. If I drag my component in a new flash document. I see the component no problem. I made sure my checkbox was on a top layer so it is not under another layer. Please help me understand this, it sounds like something very simple to solve.
Thanks in advance.
Component Trouble For Newbie
Hi I need desperate help on components...
I have read through the tuts on this site and even downloaded the fla but still i must be thicker than i thought i cant seem to get my components to work in my form.
Please i need someone with some knowledge of these components to look through my forms for me and shed some light on the situation.
What I need is for the components to be emailed the same as my input text fields are but this isnt that easy for me...
Please help is needed you can download it Forms.zip in there is a fla with the two forms on and the php files hopefully someone can help and teach me something...
Component Trouble For Newbie
Hi I need desperate help on components...
I have read through the tuts on this site and even downloaded the fla but still i must be thicker than i thought i cant seem to get my components to work in my form.
Please i need someone with some knowledge of these components to look through my forms for me and shed some light on the situation.
What I need is for the components to be emailed the same as my input text fields are but this isnt that easy for me...
Please help is needed you can download it here in there is a fla with the two forms on and the php files hopefully someone can help and teach me something...
Component Trouble For Newbie
Hi I need desperate help on components...
I have read through the tuts on this site and even downloaded the fla but still i must be thicker than i thought i cant seem to get my components to work in my form.
Please i need someone with some knowledge of these components to look through my forms for me and shed some light on the situation.
What I need is for the components to be emailed the same as my input text fields are but this isnt that easy for me...
Please help is needed you can download it here in there is a fla with the two forms on and the php files hopefully someone can help and teach me something...
Newbie Needs Fade In/out Help On Graphics Gallery Page
Hi all, My first post here and yes it is a newbie question concerning fade in /out issues with photos for a gallery page i am working on. here is the gist of what i am attempting to do. i want to creat a gallery page for several photos which will cycle thru like a slideshow but run automaticly upon the page being accessed..no user intervention. I want to have approx. 10 photos to fade in and out on this page with the photos being positioned in different areas of the page..top, middle, lower right, etc. as one photo fades out, another will fade in. this will continue thru the whole group of photos and then continue to loop for as long as the page is open.
My understanding so far is that i have to have each photo on an individual layer in the document, positioned on the page where i want them to fade in/out. And have the time line show the fade in/out for as long as I need the photos to appear on the screen. I think i know how to do the fade, with the tween command. My problem is that I don't even know how to do this let alone 10 tweens. I have tried playing with the program but even with some of the tutorials that come with it, none seem to give me an idea what the heck i need to do. I would love it if someone could give me a bit of help on this.
Some other questions,,,can i create all the layers in photoshop and then somehow import them into flash, or do i have to build each layer in flash? How dose the size of the completed flash movie(?) compare to the total size of the photos i will use. Is there some compression used so i can still use high quality photos or do i have to limit my size when adding so many photos to a project?
Thanks much to all wholook at this and can give this newbie some help.
Greg
Actionscript For Gallery Thumb Rollovers (newbie)
I have a client that I am working with who wants the main middle of the home page to be a Flash animation. It can be seen here: Soriano Artworks The trouble I run into is that he wants the animation to stop when you roll-over the paintings (that pop up on roll-over.) I cannot figure out how to do this. The Painting thumbs that roll across should also have a link when you click on them to take you to that painting's page. So - you come to the home page, the thumbs roll across, you roll over it, you rest on one painting, the animation stops - and when clicked, you're directed to that painting's page.
Any help is appreciated!
Edited: 06/26/2008 at 11:49:13 AM by Whiplash_Design
Newbie Help...FLV Playlist With Playback Component
Not knowing ANYTHING about ActionScript or Flash, I've pulled my hair out trying to dig through the help files trying to figure this one out. I need to create a "YouTube-like" FLV playlist, where the video is on the left, and the playlist is on the right, including thumbnails. Lisa Larson has posted a tutorial on generating such a list, which works fine, but I just can't seem to add any playback functionality to it.
Here's the link to Lisa's tutorial: http://www.adobe.com/devnet/flash/articles/prog_download.html
I'm currently using Flash 8, and would like to use the FLV Playback Component with the MojaveExternalPlaySeekMute.swf skin. Any help would be greatly appreciated!!!
Andrew Guevara
Newbie Question About List Component
Hi all,
i'm just a newbie in falsh, and i'm trying to make 2 lists and manages events for theses. In fact, i'm trying to open an URL when clicking on a list's component.
When i click on a component of the list, it properly opens an URL (see code) and then i can close it. But it's getting bugged when i'm using the other list, and then returns to the first list. An URL is opening without reason.
Same thing append when i'm using the scroll bar of the list.
here is my code for the first list :
Code:
listenerObject = new Object();
listenerObject.focusIn = function(eventObject)
{
var MonItem = liste_c.selectedItem;
getURL(MonItem.data, "_blank");
}
liste_c.addEventListener("focusIn", listenerObject);
And my code for the second list :
Code:
listenerObject2 = new Object();
listenerObject2.focusIn = function(eventObject)
{
var MonItem2 = liste_d.selectedItem;
getURL(MonItem2.data, "_blank");
}
liste_d.addEventListener("focusIn", listenerObject2)
I'm just getting started with events, and i'm surely wrong, so please can u help me out ?
thanks :-)
Gian
Newbie Having Trouble With Scroll Bar Component.
I can get the scroll bar to work fine if the text is already in the text box, but when I load it from an outside .txt file, I can't get it to work. What's the problem? Is there a trick to external text files and scroll bar components?
Complete Newbie W/ Component Question
I'm a newbie, been working w/ Flash for about 3 mos. I have an animation completed that will be presented through a webpage, but I would like for it to be controllable. I've checked a few component download sites but I can't find the kind of controller that I need for this project. Does anyone know of a good downloadable movie controller/player that has a similar layout as Quicktime (or other standard viewers)?
Thx!
Newbie Spotlight/sliding Curtains/scrolling Img Gallery Help
What I need to do is fairly simple, but i've only used flash on rare occassions and really need a hand to go in the right direction instead of mish mashing stuff from tutorials then end up not working when i put it together in the end.
as you can see, i've already done the artwork for the site. so a major hurdle is overcome. i know, it looks cheesy...lol
i would like to do some spotlight animation where the spotlights move around on the curtains. this will be the main page.
when users click on the left menu and choose a category, a preloader animation will play...
when it's finished loading the curtains will open to reveal the fist picture in the gallery while the right side has a vertical auto scrolling gallery that will scroll through the pics in the gallery. when the user moves the cursor to the arrows on the right it will speed up.
so, it seems simple enough, but i need some suggestions to get started. your help is much appreciated.
NEWBIE: Flash Photo Gallery Images Are Pixelated:(
Greetings everyone. I created a Flash photo gallery using gifs. While most of the images are acceptable visually, a bunch of them are quite pixelated.
I read online that I am supposed to use vector graphics whenever possible, but not all images where created as vector graphics.
I have a few questions:
If I create the image in illustrator, what format should I save it as to be used in a Flash gallery? If I create the image in Photoshop what format should I save it as?
Lastly, is it true that Flash will load vector graphics quicker than gifs?
Any info would be appreciated! Oh yeah, my site is inthemixgraphics.com
Newbie Help - How To Scroll Dynamic Text With GUI Component?
I am trying to use the Macromedia scroll bar component to scroll a text field. When the text is set as input, everything works fine. When I change to a dynamic text field, it stops working.
Can anyone point me in the right direction for doing this with the scrollbar component that Macromedia provides?
Thanks,
WayGee
Newbie Scroll Pane Component Troubles
I am working on a scroller with 54 images.
I've decided to use a scroll pane component but I really don't know what I'm doing in that there is a great deal of code that has been prepackaged for me and not only do I not know how to recreate it but I have absolutely no idea where to find it or the skins to modify it, but I suppose that's for another post.. The pressing problem of the hour is this: it loops and won't function with the left and right arrow keys. I'm familiar enough with flash to put the 54 images in a movie clip containing 9 frames with 6 images on each. If I put a stop action on each frame, the scroll pane won't acknowledge any thing beyond the 1st frame and it seems pretty pointless to have a constantly moving movie in a scroll bar! I thought I took care of the properties and perameters but I'm clearly missing some thing. Unfortunately the .fla is too big due to my 54 images and I don't have stuffit on my lap top. If I can ftp it to some body that's fine..
thanks in advance guys!
Gallery Component
Hi,
I downloaded the gallery component from flashcomponents.net, which sets up a thumbnail gallery by calling an xml file.
the gallery is working fine. It's just that i want the bigger images to be clickable and should open in a pop up window. Also i want some description to be added below the bigger images.
thanx
AS3 Gallery Component
Just remade an old AS2 component for use in CS3/AS3..
Example/download/usage/etc here: http://www.onebyonedesign.com/downloads/gallery/
Gallery Component Sos
Hello - I'm using Mr.10's gallery component and am having a slight problem with the large pic's odd display (view ithere )
If anyone's used this component, can you advise on the minimum size of the pic or tell me why the display is so awakward?
Regards,
Flobair
Gallery Component Help
Hi,
I downloaded the gallery component from flashcomponents.net, which sets up a thumbnail gallery by calling an xml file.
the gallery is working fine. It's just that i want the bigger images to be clickable and should open in a pop up window. Also i want some description to be added below the bigger images.
thanx
http://www.mr10.net/components/gallery/manual/#thesetup
Gallery Component, Combo Box, XML ?
Hey,
My name is Jason, and I'm working on a project where I use the new Photo Gallery component to load pictures of albums. and you can view the track listing, then download the track you want.
1. The component works fine, and loads the images, along with there attribute to a text box, which is the name of the album (IE:
forgottenfreshness3).
2. I am able to import an XML of the track list to a combo box, and choose the song, and click the download button. It all works great.
Now the problem is that I want to make it so when you click on the album (IE: forgottenfreshness3) that it will load the track listing of that album to the combo box from the (forgottenfreshness3.xml). Then when you click on another album, the track listing for that album will load into the combo box
Every still with me???
Here is the AS I have it is on FRAME 1 (the only frame)
***ACTIONSCRIPT***
fscommand("allowscale", 0);
function setGlobalStyleFormat(){
globalStyleFormat.face = 0x666666;
// globalStyleFormat.background = 0xCCCCCC;
globalStyleFormat.arrow = 0x990000;
globalStyleFormat.darkshadow = 0x990000;
globalStyleFormat.shadow = 0x000000;
globalStyleFormat.highlight = 0xEFEFEF;
globalStyleFormat.highlight3D = 0xAAAAAA;
globalStyleFormat.scrollTrack = 0x990000;
globalStyleFormat.selection = 0x999999;
globalStyleFormat.textSelected = 0xFF0000;
globalStyleFormat.textColor = 0x990000;
globalStyleFormat.textFont = "Arial Black";
globalStyleFormat.textSize = 11;
globalStyleFormat.applyChanges();
}
setGlobalStyleFormat();
CBOLoadSites.setSize(150)
imageText.watch("imageText", LoadXML);
function LoadXML(id, oldval, newval) {
if (newval) {
//create a new XML object
thisXML = new XML();
//ignore whitespace in the file
thisXML.ignoreWhite = true;
//call the LoadChartData function when the XML file is loaded
thisXML.onLoad = LoadCombo;
//load the xml file
thisXML.load(newval+ ".xml");
} else {
gotoAndPlay(1);
}
return newval;
}
function LoadCombo(success) {
if (success) {
//set variables
var BaseNode=thisXML.childNodes[0];
var ComboSites = new Array();
var ThisNode;
//add a default item to the combo box
CBOLoadSites.addItem("-- select site --");
//get sites information
for (i=0; i < BaseNode.childNodes.length; i++) {
ThisNode = BaseNode.childNodes[i];
ComboSites[i] = ThisNode.attributes["siteName"];
//add to combo box
CBOLoadSites.addItem(ComboSites[i]);
}
}
}
// push button callback
function onClick(btn) {
track = CBOLoadSites.getValue();
getURL("http://www.wedontdie.net/audio/icp/forgottenfreshness3/" +track + ".rm",_blank);
}
***ACTIONSCRIPT***
In the actionscript I already told what xml file to load, and the image Gallery component, and combo box ,arent communicating to eachother yet. Some Ideas i had might be to write a "watch"
or a "while loop" checking the value of the textbox, so flash knows what XML file to load into the checkbox, but I'm not sure how to write it out....
If anyone can lend a helping hand I would greatly appreciate. I'm trying to get this up and going by Thursday or Friday.
Thanks in advance,
Jason
__________________
"To believe your own thought, to believe that what is true for you
in your private heart is true for all men--- that is genius."
Ralph Waldo Emerson
Gallery Component Not Working
I downloaded this thumbnail gallery component from www.flashcomponents.net and ran into afew probs. my question is how to get the gallery to work from the component menu in flash.
The manual www.mr10.net/components/gallery/manual says to just drop the component to the stage and change the parameters to what you need, but all I get is an empty movieclip on export.
I followed the actionscript setup and the movie works fine, but Ran into the same prob. when I tried importing it into another movie.
Ive been up for a few days looking through posts everywhere, any help on this would be much appreciated
Gallery Component Scrolling
Hi,
I am using the 'Gallery Component 1.4 by mr10.net' for making a picture gallery but i can't get the thumbnails to scroll horizontally instead of vertically...
By default the thumbnails appear in columns... I know the number of columns can be modified by the user and the number of rows depends on how many thumbnails one has in the gallery... This way the thumbnails either appear on the left or right of a large picture...
What i want to achieve is more of horizontal orientation - meaning, the thumbnails appear at the bottom or top of the large picture... This means there will be only 1 row of thumbnails and as many columns as there r thumbnails in the gallery...
But i m not able to find the right code to tweak...
Can this be achieved with the 'Gallery Component 1.4 by mr10.net'?? If so, can anyone guide me??
Thanks for reading this...
Photo Gallery Component
Hi
i'm looking to buy a flash component, for an image gallery that a client of mine wants me to do for him.
i need something very minimalistic, modern, easy to use...."flash"
if you know something like the mentioned above please let me know.
Thnx.
Thumbnail Gallery Component Help [MX]
Hi everyone, first thanks to take the time to read this message!
Now the problem, i am using this gallery component
http://www.mr10.net/components/gallery/
what im trying to do is, when you click on the large image or on a button it open this image in a pop-up.
What they say on the site
Quote:
c. Optional: you can assign a clickHandler to the large pictures for enabling pop-ups or download options:
01 function clickMe(id) {
02 //get imagenode for this thumbnail
03 //'id' counts from 1, XML counts from 0: hence the '-1'
04 var imageNode = myGallery.getXMLNode().firstChild.childNodes[id - 1];
05 trace(imageNode);
06 }
07 myGallery.setClickHandler('clickMe', _root);
this is only example code and will do nothing more than display the xml node assigned the clicked picture in the output box.
http://www.mr10.net/components/gallery/manual/
Please help me!
thanks!
Using A List Component With The XML Gallery
Trying to combine the XML gallery with the video list tutorial. I can get the images to show fine but I can't seem to get the captions to display.
can anyone help with this one?
Button UI Component And Photo Gallery
Hi,
Can anyone help me? I'm using flash mx2004 and have used the button from the ui components to create the buttons for my photo gallery. One strange thing seems to happen. when I publish my movie, the text on the buttons seem to disappear. When I go back to my stage, I find that the text is not there, on top of that, the ui component has created a button symbol. Why i this happening? Is this a bug within the program?
I also have another problem on top of that. I followed the kirupa tutorial on creating a photo gallery [url=http://kirupa.com/developer/mx/photogallery.htm]. Strange thing is the images don't seem to load. I made sure the images were loaded from the folder that I designated. I also made sure of the filename of those images and the extensions but I still get nothing. I only see 1 image at most and then it disappears. How do I fix this problem?
Cheers
Xml Gallery Component Does Not Load In External Swf
Hi there,
I am working on a website which will have a gallery in it.
The gallery is an external swf with xml data in it.
The problem however is that it will only show its pictures and not its text as soon its external. On its own it's working fine.
Can anyone help me??????
Greetz,
Trademark
Button UI Component And Photo Gallery
Hi,
Can anyone help me? I'm using flash mx2004 and have used the button from the ui components to create the buttons for my photo gallery. One strange thing seems to happen. when I publish my movie, the text on the buttons seem to disappear. When I go back to my stage, I find that the text is not there, on top of that, the ui component has created a button symbol. Why i this happening? Is this a bug within the program?
I also have another problem on top of that. I followed the kirupa tutorial on creating a photo gallery [url=http://kirupa.com/developer/mx/photogallery.htm]. Strange thing is the images don't seem to load. I made sure the images were loaded from the folder that I designated. I also made sure of the filename of those images and the extensions but I still get nothing. I only see 1 image at most and then it disappears. How do I fix this problem?
Cheers
Flash Photo Shuffle Gallery Component
A friend and I just completed our first flash component. Here is a description of it:
Create a dynamic compilation of photos in a random layout in a few easy steps. Photos can be rearranging by clicking and dragging. Large photos have optional mouse over titles and descriptions along with next and previous buttons. Choose from a list of built-in easing affects. This component is fully customizable, with skinnable photo border, loader, buttons, and description box.
Check out the component here:
http://www.flashframer.com/flash-com.../photoshuffle/
Using A List Component To Create A Photo Gallery.
This feels like a lot to be asking but i'm gonna go ahead and ask to see what happens.
I'm trying to figure out how to use a list component to select 6 items from a large list, display the words to the 6 selected items (in a text field), then finally (by pressing a button) I would like to load the 6 corresponding pictures for the selected items into a seperate frame. If there is anyone that could point me in the right direction it would be greatly appreciated. I have been trying to find information online about programming the List Component but haven't had any luck. Is there a book that anyone recommends that could help me? I've been doing simple animations and websites in flash but i'm now looking to learn some actionscripting as well. Thanks.
Basic As / Xml Issue Re: Photo Gallery Component
I'm wondering if anyone can help me solve this problem.
I'm using Maarten van de Voorde's awsome Gallery Component and it works fine but my problem is this:
-- I want to display text under the larger pictures. There is a text field that has a var declaration of myGallery.imageText which works great on it's own but...
-- I have the gallery loading in as a nested movie a couple of levels deep. The structure is:
-- Main shell .swf
-- movie2.swf (w/ photo containerMC)
-- gallery component
-- Because of this nesting the text under the big photos does not show I figured that all I needed to do was redo the path in the var (_root.movie2.photoContainer.myGallery.imageText) but that and every other variation of that doesn't seem to work. I thought maybe the as in the gallery may need some sort of global variable or something but I really don't know enough about as to fix the situation.
Thanks in advance to anyone who can help me tackle this problem.
Adding Popups To Gallery Component? (mr10.net)
Hi,
I need to know how you can add popup functionality to the gallery component at mr10.net. He says its possible but doesnt give the code. Someone must have figured this out at some point. Thank you very much
Image Component Loader Gallery Thingy
Hello everyone, I'm new to the forums.
I'm working on a Flash Portfolio/Resume and have everything done except the image gallery. I've looked up several tutorials and chose the simplest one (I'm not well versed in the language known as Actionscript).
Apparently I'm supposed to place a Loader from the Components panel onto my stage and type the images name into the 'contentPath' area under Parameters. I understand that this image needs to be in the same folder as my saved file, and I seem to have done everything correctly..... But it still won't load the image when I Ctrl+Enter it.
The Flash project consists of several Stop actions and has a User Interface composed of buttons with gotoAndPlay actions. Right now the Artwork section is in from 30-44, and I have 2 buttons making use of the nextFrame/prevFrame actions. Essentially I would like to set it up so that each frame contains a different loader (each with a different file name) so that I can keep my Flash projects file size as low as possible. Am I going about this wrong?
Using The MyLoader Component And An Interactive Sliding Gallery
Hello!
I am using a myLoader component to load and external swf that contains a horizontal sliding gallery.
The problem is, is that I don't know the correct path to use to get the slider button (Norman) to recognize the slider mc (Nadine)
Here is the break down of the code....
I've gotten the slider button to drag and drop where I want it to... but now I can't get the button to react with the gallery.
In the "sliding_gallery.swf" file there is code on the gallery mc that says this....
Code:
Code:
onClipEvent (enterFrame) {
X = (getProperty("_root.Norman", _x)-(_root.left))*(_root.factor);
newX = oldX-(X+oldX)/(_root.ease);
setProperty("_root.WindowIN.Nadine", _x, newX);
oldX=newX;
}
This code lives on the gallery mc (Nadine) that is in the slider.swf that is being uploaded into the myLoader component in my main.swf file.
The slider button (Norman) is also in the slider.swf.
Also, when I put the vars on the main.swf's main timeline I was able to manipulate it like I wanted!!
If I uploaded the flas would that be helpful?
I'm sorry if my lingo is not quite up to par, I'm kind of new at this. (obviously!)
I really don't quite understand the _root verses _parent thing!
Please help!!
Thank you soo much...
LEE
Basic As / Xml Issue Re: Photo Gallery Component
I'm wondering if anyone can help me solve this problem.
I'm using Maarten van de Voorde's awsome Gallery Component and it works fine but my problem is this:
-- I want to display text under the larger pictures. There is a text field that has a var declaration of myGallery.imageText which works great on it's own but...
-- I have the gallery loading in as a nested movie a couple of levels deep. The structure is:
-- Main shell .swf
-- movie2.swf (w/ photo containerMC)
-- gallery component
-- Because of this nesting the text under the big photos does not show I figured that all I needed to do was redo the path in the var (_root.movie2.photoContainer.myGallery.imageText) but that and every other variation of that doesn't seem to work. I thought maybe the as in the gallery may need some sort of global variable or something but I really don't know enough about as to fix the situation.
Thanks in advance to anyone who can help me tackle this problem.
Pseudo 3D Layered Gallery Component Wanted
Hi
Im looking for a component (or fla file) for flash for an idea that i have.
Iv been looking around all the usual component sites but none of them seem to have what im looking for, so im hoping someone here might know of one...
The effect im looking for is like flying through clouds. But instead of clouds i have images.
i imagine the images would be loaded from an xml file and the order should be first in the xml first shown in the layers, and then the higher the xml order the further away over the z axis the images are. however the x/y placement is random, and several could be on the same z axis level to create a layered fading into the distance kind of look. The further the images are away the more faded they are so you can only actually see maybe 6 or so z levels at once.
i want to navigate around this environment with the mouse, scroll for z axis movement, and mousemove for x/y axis movement.
the images will have to be loaded dynamically as they are made visible over the z-index and unloaded after they fade out because the total is around 1000 image thumbnails so its way to much to preload and to keep loaded.
clicking an image should load a new swf into a top layer and pass a get var so i can load the image details and a larger rendering of it.
additionaly i would like to be able to update the images being displayed via 2 means: 1 several checkboxes with image types, and a search box where a keyword can be entered. idealy this should be pretty much real-time. so if i uncheck one of the checkboxes all the images belonging to that type are removed from the environment. entering letters into the searchbox should emediatly start filtering the images based on maching the entered letters to image keywords.
i know its an extensive idea and im pretty sure there is not going to be a file out there that does exactly this, i just hope to get as close as possible and then modify it to the above :)
Thank you I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
Photo Gallery With Loader Component And Preloader
Hi,
I'm reletively new to flash and have a basic understanding of actionscript 2.
I have created a photogallery using the loader component to display the pictures so they get scaled down when they're loaded in.
I currently have 6 thumbnail buttons all with the following as2 attached to them:
on(release) (
myLoader.contentPath = "nameofpicture.jpg";
}
This works fine but I would like the pictures to preload so there isnt just a plane white screen for around 4 seconds.
I have tried using the progreess bar component with some code i found on the net, this works but only for the first pic that loads. after that it goes back to loading the pics with a blank screen while loading.
Any help is much appreciated.
:D
[F8]Help Needed On Actionscript For Flash 8 - For A Gallery W/ Checkbox Component
Hi! Thank you for looking at my post, I have been recommended this forum from a friend..
= The Project =
What I want to do with Flash 8 can be broken down into the following:
a) a user looks at a gallery
b) then there are checkboxes under each thumbail
c) user 'checks' their favorite photos
d) clicks on "submit" button and voila flash saves the variables or better still their chosen images
what i then want possible is for Flash to retrieve the user's favorite images when they click on a "User Panel", which then loads up the images
= Plans on How to Make it =
My theory for making it work is to use Loader component for the thumbnails and give it an instance name
Then the checkbox component
Create a submit button
But as for the actionscript, its realy hard to find something specific on allowing a checkbox to save information based on the name of an image found in a Loader component - if anyone understands me
so any help will be wonderful...any basic pointers or hints will be appreciated
Flash Gallery Component Or Similar Needed - XML Driven If Possible
I'm looking for a particular kind of style of image gallery.
If you look here :
http://www.artgroup.com/flash/low.htm
skip > art & frames (@top) > posters (@bottom) > then click on any of the images.
I'm not looking for the search system, just this kind of gallery navigation and horizontal scrolling effect.
component prefered, any flash version, preferably newer versions, XML driven preffered, don't mind paying.
If anyone knows or is selling a component etc. like this, please let me know.
Many thanks from a long time lurker, first time poster
Jon
Flash Relief Gallery Component Wont Read Dynamic XML
HEy Guys,
I tried this over in server side scripts with no responce...since the problem is based on a flash component I figured it may be worth trying the area of the forums?
Got myself the photo gallery component from the guys at flash relief (advertised on the front of kirupa.)
And decided to use a dynamic XML file to provide the content.
Using a PHP include (credited in my script) i wrote the following:
PHP Code:
<?phpinclude("functions.php");//includes db connection etc// Simon Willison, 16th April 2003// Based on Lars Marius Garshol's Python XMLWriter class// See http://www.xml.com/pub/a/2003/04/09/py-xml.htmlclass XmlWriter { var $xml; var $indent; var $stack = array(); function XmlWriter($indent = ' ') { $this->indent = $indent; /*$this->xml = '<?xml version="1.0" encoding="utf-8"?>'."
";*/ } function _indent() { for ($i = 0, $j = count($this->stack); $i < $j; $i++) { $this->xml .= $this->indent; } } function push($element, $attributes = array()) { $this->_indent(); $this->xml .= '<'.$element; foreach ($attributes as $key => $value) { $this->xml .= ' '.$key.'="'.htmlentities($value).'"'; } $this->xml .= ">
"; $this->stack[] = $element; } function element($element, $content, $attributes = array()) { $this->_indent(); $this->xml .= '<'.$element; foreach ($attributes as $key => $value) { $this->xml .= ' '.$key.'="'.htmlentities($value).'"'; } $this->xml .= '>'.htmlentities($content).'</'.$element.'>'."
"; } function emptyelement($element, $attributes = array()) { $this->_indent(); $this->xml .= '<'.$element; foreach ($attributes as $key => $value) { $this->xml .= ' '.$key.'="'.htmlentities($value).'"'; } $this->xml .= " />
"; } function pop() { $element = array_pop($this->stack); $this->_indent(); $this->xml .= "</$element>
"; } function getXml() { return $this->xml; }}$xml = new XmlWriter();$sql = "SELECT * FROM gallery";$query = mysql_query($sql);//echo $result['caption'];$xml->push('gallery');$xml->emptyelement('setup path="gallery/"');while ($result = mysql_fetch_array($query)) { $xml->push('item'); $xml->element('thumb', $result[1]); $xml->element('img', $result[0]); $xml->element('caption', $result[2]); $xml->pop();}$xml->pop();header("Content-Type: application/xml; charset=ISO-8859-1");print $xml->getXml();?>
In a browser this out puts just fine ...prooducing infact identical markup to the static file:
−
<gallery>
<setup path="gallery/"/>
−
<item>
<thumb>tWinter.jpg</thumb>
<img>Winter.jpg</img>
<caption>Photo Caption</caption>
</item>
−
<item>
<thumb>tWater lilies.jpg</thumb>
<img>Water lilies.jpg</img>
<caption>Photo Caption</caption>
</item>
−
<item>
<thumb>tSunset.jpg</thumb>
<img>Sunset.jpg</img>
<caption>Photo Caption</caption>
</item>
−
<item>
<thumb>tBlue hills.jpg</thumb>
<img>Blue hills.jpg</img>
<caption>Photo Caption</caption>
</item>
</gallery>
I can only assume that the gallery component isnt recognising the script because of its .php extention.
Is there any way to have an XML extention?
Thansk for your help ...if I can crack this ill also be making public a script to up load an image, resize it, provide the thumbnail and ...if i can get it to work...produce this dynamic xml file!
Zaid
Movies? Gallery? A "brand" Newbie Here.....
sup everyone. I'm looking to start my first flash page and wanted to know a little about the site. If some of my questions can be answered by directing me to someplace else, let me know or give a link as I don't want to waste your time!
First off, what are the movies for? Is there a way we can see how they were made? Are they tutorials? Are they things we can use for our own page?
As far as the pics in the gallery are concerned, what are the limitations as far as using any of them for, say, a background or simply using them at all on our own site?
I guess I've got a ton of questions, but in your opinions, what is the BEST way to get started with flash and get a page up & running. I know exactly what it is that I want as far as a visual is concerned; I just need to figure out how to use the tools to get there!
Thanks a lot for any help/advice in advance! I appreciate it, greatly.
[newbie] Help With A Fade-in/fade-out Photo Gallery
Hello everybody,
I'm trying to improve Kirupa's photo gallery by using an XML file.
(http://www.kirupa.com/developer/mx/photogallery.htm)
It is more or less working except at the beginning of the flash animation. I got a error message. Then when I use the arrow buttons, it's working fine.
This is the piece of code :
#############
var myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = parseXML;
myXML.load("slideshow.xml");
function parseXML(success) {
if (success == true) {
rootNode = myXML;
_root.slide_names = new Array();
_root.slide_titles = new Array();
if (rootNode.firstChild.nodeName.toLowerCase() == "slideshow") {
var nm = rootNode.firstChild.childNodes;
for (i=0; i<=nm.length; i++) {
if (nm[i].nodeName == "slide") {
_root.slide_names.push(nm[i].attributes.img_name);
_root.slide_titles.push(nm[i].firstChild.nodeValue);
}
}
}
_root.nextFrame();
play()
}
}
this.pathToPics = "animation/";
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
//loads an image automatically when you run animation
loadMovie(this.pathToPics+_root.slide_names[this.pIndex], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%_root.slide_names.length;
if (this.pIndex<0) {
this.pIndex += _root.slide_names.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
//------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+_root.slide_names[this.pIndex]);
currentIndex = this.pIndex;
imageText = _root.slide_titles[this.pIndex];
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
// Actions -----------------------------------------
// these aren't necessary, just an example implementation
this.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
this.changePhoto(-1);
} else if (Key.getCode() == Key.RIGHT) {
this.changePhoto(1);
}
};
Key.addListener(this);
#############
This is the error message I got :
Error opening URL "file:///H|/Photographie/flash%5Fkit/kirupacom/animation/"
It looks like it can read the array in the following command:
loadMovie(this.pathToPics+_root.slide_names[this.pIndex], _root.photo);
I would appreciate any help.
Many thanks.
Gohan
|