ActionScript 2.0 :: Title And Image Description
Jul 30, 2010
I bought an xml flash template and i am trying to modify it.In main.fla file there is a layer named functions. At this layer there is actionscript code where i saw this part:[code]When i push the image gallery from the main menu, then the image_gallery.swf loads. There, i have 2 categories with photos, each of whom loads title and description of images from website_xml_imagegallery_xml/category1.xml and website_ xml_ imagegallery_ xml/category2.xml. My problem is that whether i open a photo from one category or from the second category, the title and the description remain the same as the first category's. I figured out that the title and the descrption of the first photo of the second category is the same as the title and the description of the first photo of the first category and this depends of what i am using at the last line of the attached code:images.load ("website_xml_imagegallery_xml/category1.xml");So, if i write category2.xml instead of category1.xml, then the first photo of the first category will have the same title and same description as the first photo of the second category.It seems like each category cannot read from its category.xml. Look at the xml files as well.
View 2 Replies
Similar Posts:
Jan 19, 2009
I have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, - I don't understand what it is asking me to do.
View 3 Replies
Feb 6, 2009
i was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.
View 1 Replies
Feb 15, 2009
I am creating an Autorun for CD using flash CS4 in which Tilelist will show product image and slider will slide across images. when slided, product Title and Description should be shown.But instead of showing, Text field goes blank and nothing is shown.
View 5 Replies
Feb 11, 2009
bit stuck on something here and hoping that someone will be able to answer this question. i have a gallery generated via xml - i have three text fields on the stage that display the title and description of the thumbnail item.
[Code]...
not quite sure of the best/easiest way is to do it - call from the library and attach to mouse or something along those lines?
View 2 Replies
May 5, 2011
how can i load large image? i used a Zoomify for solve this problem but there are another problem that i don't like to use it. can i do it in as3? like loading image title to title?
View 2 Replies
Aug 27, 2009
I've modified a flash movie that displays images in a slider control. When the user mouses over the image I display a tooltip. The problem is I cannot figure out how to parse the Description(desc) out of the image tag in XML to display as the tooltip text. Heres what I want the image tag to look like:[code]In the actionScript how could I simply parse out the description to pass in as the tooltip text?
View 1 Replies
Sep 5, 2010
I have a picture gallery that loads a few thumbnails into a holder via xml and AS3. When you click on the thumbnail it loads the full-size image into a Loader.How could I add a description from the xml to the to the full size image.[code]
View 4 Replies
Sep 5, 2010
I have a picture gallery that loads a few thumbnails into a holder via xml and AS3. When you click on the thumbnail it loads the full-size image into a Loader.How could I add a description from the xml to the to the full size image.
View 2 Replies
Sep 7, 2005
I want to use the part where the image description shows inside another mc which is loaded externally.
View 12 Replies
Sep 13, 2009
I am working on a Photo gallery using AS2 code. The movie imports XML with attributes, and displays both images and text in dynamically created mclips.The thumbnails and main images work great, but I can't get the image title mc to work.The XML is fine, there are no typos, and as coded below the title attribute displays fine - BUT - it also displays a second copy of main image in the text movie. Obviously because I am referencing "myURL" in the text movie loader.But this is the only way I can get the title text to display.[code]The movie opens, but when I click on the thumbnail I get a compilation error that says "Error opening URL '...'" and gives the path to the folder because it treats the XML attribute for the title text as if it was a link.I just don't know how to reference this mc correctly.[code]
View 9 Replies
Aug 2, 2010
I would like to add an title Icon image to a Panel, but cant find the click event on that icon,
View 1 Replies
Nov 23, 2009
I am trying to display the title of the thumbnail image, which is being loaded from the XML file. If i trace the title then it is printed, but it is not displayed in the TextField.
Below is the code, i used so far.
Code:
var Current_page:Number;
var Total_pages:Number;
var Detail_mc:Array = new Array();
[Code].....
View 1 Replies
Apr 11, 2006
is it possible to change the icon and the title in the title bar? are there any opensource or low cost ways (prehaps software with a education licence) to change the apperance of the projector window.. like for example itunes, breaks out of windows xp standard UI
View 2 Replies
Oct 14, 2010
I'm trying to create a MXML component based on the spark Panel and I would like to add an image on the right end of the title bar, so that the panel will have a text on the title bar and a small image at the right end. I'm using a skin to define the colors, background fill etc. But how do I add this image at the right end of the title bar?I would like to make that image cutomizable so that when the component is inserted, either the default image is used or a new image can be provided.
View 2 Replies
Jan 6, 2011
I have a flex 3 application with 2 titlewindows. When I compile it with the flex 4.1 sdk in flash builder, the titlewindows show up as mirror images of themselves with all text invisible (i.e alpha = 0).
View 1 Replies
Nov 6, 2010
I'm trying to edit a Flash file, that get it's data from and XML file.Now when you click on one of the menu items, the page + page title should change, but somehow the page title remains the same. (at least for the first 3 menu items) But when you go to the last menu item and then back to one of the first 3 menu items, the correct page title is shown.I'm no flash / AS expert, so I can't really find out what the problem is, but it seems like it has something to do with this function
Code:
_root.getCurrentText(thisText0, _parent.num);
View 4 Replies
May 24, 2009
How to add description tag.I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.add a description tag that would work?
<?xml version="1.0" encoding="UTF-8"?> <galleries> <!-- **    Please read this information to learn how to add more galleries to your website. **    **    Here are all the galleries that you can use for the website pages. Each gallery has **    an index or ID. With the help of index the gallery can be connected with the definite
[code]....
View 13 Replies
May 24, 2009
I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.
<?xml version="1.0" encoding="UTF-8"?>
<galleries>
<!--
** how to add more galleries to your website.
** Here are all the galleries that you can use for the website pages. Each gallery has
** an index or ID. With the help of index the gallery can be connected with the definite
** website page with gallery type.Also this page must have galleryID which should be equal
** Each gallery consists of the list of images. Each image has and url parameter and also
** width and height parameters that define dimensions of the box for the image.**
** It is recommended to use an XML editor to make changes to this file because it�s less
** possible to make an error in the markup which can cause a not working website.
** The recommended size for image_icon=333x333 px.
-->
<gallery id="1" name="nature">
<image image_icon="22598_nature_icon_15.jpg" image="22598_nature_b_15.jpg"/>[code]....
View 5 Replies
Aug 5, 2011
how can I make a windows popup when I put my mouse cursor over a item? The popup should display the item name and it's characteristics. When the cursor rolls out fo the item, the popup windows disappears.
Is there a function in as 3.0 that does this?
View 1 Replies
Sep 16, 2011
I am new to flex and am using flex builder 3 , many a times code assist shows a lot of function but i am not sure what these functions do. How can i configure flex builder so that it also shows descriptions of the methods like the one we get in java.
View 1 Replies
Dec 2, 2009
I'm having a hard time finding a way to get the html page description into my flash, using the ExternalInterface. I'v tried this:
ActionScript Code:
var pageDESCRIPTION:String;
var metas:Array = new Array(ExternalInterface.call('window.document.getElementsByTagName("meta")'));
[Code].....
View 2 Replies
Jan 6, 2006
how to create a rollover description whereby when i rollover a button a description box pops up at the bottom which either scrolls information or shows shows some text.
I've created my buttons and have used "hover captions" which have worked perfectly, however i would like a description box at the bottom of my button so when i rollover the button some text scrolls or just displays a box where i could put a lot of text.
View 4 Replies
Apr 22, 2009
in the if statement below ? I'm looking to add a description for each picture in a text field... something like: if picture1 selected, text="", else if picture2 selected, text="", else text="";
[Code]...
View 2 Replies
Feb 22, 2010
I bought a template, made some changes, published it and upload it on FTP. But each time I do a search, one one the search results is one of the orignal page names. Any tips on how to change it?
View 2 Replies
Sep 15, 2011
Above is a pic of a combo box loded with values. Id like to have it so when you mouse over the dropdown, a hover descripition of the value the mouse is currently on appears on the screen. I have it complete for the most part...but as you can see, the description displays behind the dropdown. Ive tried this.setChildIndex(textDescription, this.numChildren - 1)" and no luck.
View 6 Replies
Sep 19, 2011
I want a combo box to display a description of the information in the combo box. The name property is a good way to do this in my opinion "comboBox.name = This is what I named this Box". I have a text field ("textDescription") set to display the name of the comboBox on MOUSE_OVER, but only on the edges does the actual name of the comboBox appear. When in the middle, the textDescription displays "instance #" where # is an actual number. Is there some kind of container placed over the combo box or something??
View 5 Replies
May 26, 2010
I want to create a URL link for the description text. Everything works fine until I get to the actual link - it's displaying the HTML. I've clicked on the HTML button in the properties inspector for the text field (see the attached photo); I've also added the following in the AS:
Code:
desc_txt.html = true;
desc_txt.multiline = true;
No luck; it's still displaying the HTML.
Code:
function nextImage() {
if (p<(total-1)) {
p++;
[code]....
View 2 Replies
Mar 19, 2003
im making somekind of an imageloader flash files, with a next and previous button, and a square to load the *.jpg file, and another square to put a description text. how if i want to give a description text using a *.txt file who has the same name as the image file? how to tell flash to display texts inside a textfile in a square?
View 7 Replies
Jan 21, 2008
What I have: A scrolling thumbnail portfolio page that is linked to external xml file so the client can add pictures as needed by adding to the xml file. (actionscript from within Flash is enclosed just in a .txt document, along with the .xml file)
What I need: To add a description to each image, so when you click on the thumbnail, it loads the larger picture, along with the description. I have a mc called description_txt where I would like the description to load for each image, but don't know how to set it up to associate with each image. I have seen XML files that call to a different .txt document for each image, with the descriptions in it, but I'm not sure of the mechanics of it. . . how I should set up the .txt file, how I can call to it, and how to revise my actionscript to retrieve it.
View 1 Replies