ActionScript 3.0 :: Loading Title And Description From External XML
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
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
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
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
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
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
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
Feb 6, 2009
I have an .xml file which is one I downloaded and modified. I'm trying to get flash to read the Title and display it in txt field inside a movie clip.
Here is my xml code:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<gallery path="Portfolio: Music/">
<image title="1 - Thomas Spencer-Wortley Concert 28-11-2008"
[Code]....
View 4 Replies
Nov 18, 2009
When I try to load in my xml attributes it loads in all the attribures for that node not just the Title Or Description. How do I get it to just load the Title.
Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, loadXML);
loader.load(new URLRequest("2152.xml"));
function loadXML(e:Event):void {
XML.ignoreWhitespace=true;
var xml=new XML(e.target.data);
[Code] .....
View 2 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
Jun 29, 2009
I am trying to load 2 arrays. The first array is a dynamic navigation menu (linkName). The second array is the corresponding title that is loaded in a dynamic textfield. For example if link1 is clicked I want the dynamic textfield to display title1 from the array if link2 is click display title2 and so on. As of right now the dynamic navigation loads fine I just cant seem to figure out a good way to do this without writing a bunch of if statements. I would like it if the programming assumed the that the length of the title array is always going to be the same length as the link array and it finds the corresponding index.
var linkName:Array=["link1","link2","link3","link4"];
var pageTitles:Array=["title1","title2","title3","title4"];
var menuHolder:Sprite = new Sprite;
addChild(menuHolder);
// loading the navigation bar
[Code] .....
View 2 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
Oct 11, 2009
I have a movieclip clip that plays when the movie starts, the movieclip is a visual assets that show's that the application is loading some information but it's not showing any loading progress, just playing while the assets are loaded.I created a for loop that will load the assets using a simple loader, and then when the object is loaded the application push the object to an array.Problem is that when the loading starts all the animation that i have on screen stops until the loading is finished.The whole point is that the animation will play while it's loading.
View 10 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
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 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 23, 2011
I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:
[Code]....
View 1 Replies
Jun 4, 2004
[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
View 2 Replies
Nov 2, 2010
I used to do this fine with AS2 and now i'm struggling to get it to work in AS3.my code is as follows:
PW1.addEventListener( MouseEvent.CLICK,loader1 );
//==================== PS function =============================================
var ldr:Loader = new Loader();
[code].....
View 3 Replies
May 4, 2011
I have created a main "site.swf" file that loads a "default.swf" file into a container after a preloader. On this default.swf file I have buttons that needs to load new external SWF files in its place in the container. All of the external SWFs contain buttons and navigations that will also call up other external SWFs into this container. So, I would like to know how to program each button (some are movieclips as buttons) to unload itself and load the respective SWF into the container (eg. AboutUsButton to call up aboutus.swf into the container). I do not have a main navigation on the site.swf file bacause the navigation changes on each SWF that needs to be loaded into the container.
View 2 Replies
Jul 19, 2009
I want to load external png's through this code:
(for this code, check the mcBandPreloader in de .fla file)
Code:
var imageLoader:Loader;
var RespJpeg:String = "images/arch1Proj.jpg"
function loadImage(url:String):void {
[Code]....
Here the problem is that I can't type html in my external txt file. (I did checked the html button in Dynamic Text Properties. What am I doing wrong here?
.fla can be downloaded at [URL]
View 2 Replies
Mar 16, 2004
I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player
View 3 Replies
Apr 20, 2005
I'm trying to load a SWF movie into a target movieclip called blankmc. The SWF movie is loaded from an absolute URL (eg. [URL]/img/20042005113934movie3.swf ) My Loading Progress code fails to detect the SWF file size. However the same code works perfectly for a JPG! Essentially the .getBytesLoaded() and .getBytesTotal fail to work. Why is this and how can I get it to work for loading SWFs?
[CODE]...
View 3 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