ActionScript 2.0 :: Load Description Text With Images?

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


Similar Posts:


Professional :: Embed HTML In Flash - When I Click ,opens The Correct Description Text File In The Second Text Box?

Apr 17, 2011

Is there any way I can embed HTML in flash? I know I can do this with text boxes but is there any other way I can do it? If not I know theres is the load feature where I can load text from a text file. With the html text box editing, Can i link that to the text file?. As in when you edit the text box with html could i have the textbox's instance name equal to the text file? With this my issue is with the <a href> in one textbox, I would like when i click those it open another text file in a different text box.

Clarification: I have two text boxes in my flash file.One has current products. And the other is the description of the product they select. I would like a way to edit and change the products in the first text box without having to keep using the FLA file. Which is why i am using this code

var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void {trace(e.target.data);} 
myTextLoader.load(new URLRequest("myText.txt"));

The contents of myText.txt are <a href=(not sure what to put here)> Product 1 </a> But all that does is put it in the text output section in flash.It does not show it in flash. I need help getting it to show up in a text box.That is the first part But the main problem is im not sure how to code the a href correctly so that when i click it, another text file opens in the second text box.So that when a user clicks on a product ,like "Product 1" It opens the correct description text file in the second text box.

View 2 Replies

Flash :: Correctly Load An .md2 Mesh Description With Papervision 3D 2.1.932?

Jan 15, 2010

How to correctly load an .md2 mesh description with Papervision 3D 2.1.932 ?

View 1 Replies

ActionScript 3.0 :: Load In Text Info From The Same Xml File To The Left Side Of The Images That Load In

Jul 16, 2009

I have a rotaing menu that loads in images from an xml file, I would also like it to load in text info from the same xml file to the left side of the images that load in. In my main .fla have created a movieclip and called it 'textInfo' and inside that I have two dynamic text fields called 'headerText' and 'bodyText' where I want to load the text in. this is what I am using to loading in the text in my actionscript, is this correct?

[Code]...

View 22 Replies

IDE :: Add A Description For Each Picture In A Text Field?

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

ActionScript 2.0 :: Create A URL Link For The Description Text?

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

ActionScript 2.0 :: Fetch 'description' From Xml And Display In Text Field?

Jan 21, 2009

I'm making a media player which has a playlist of 8 or 9 flv's, I'm using 'videosourcepro' as my basis.

What I need to do, is when a user selects from the playlist (populated dynamically from an xml file), the title of the selected track is displayed in the title_txt dynamic text field.

which I could perform the afore mentioned task?

I've uploaded my source files and you can download them here

View 4 Replies

ActionScript 2.0 :: Change The "description" Dynamic Text Field Text?

Jun 30, 2008

i have two button on the stage and a dynamic text field with instance name "description" in my movie.

i want to change the text of the dynamic text field on click of every button.

i dont want to use xml.

View 1 Replies

ActionScript 3.0 :: Mc Into Tooltip - Text Fields On The Stage That Display The Title And Description Of The Thumbnail Item?

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

ActionScript 2.0 :: Load Dynamic Text Together With Images Into One Swf?

Feb 18, 2003

how to load dynamic text together with images into one swf

View 6 Replies

Load Up Images As Well As Text When An Item Is Clicked On The 3D Carousel?

Mar 12, 2011

Im trying to load up images as well as text when an item is clicked on the 3D carousel. How do i go about doing this?

View 1 Replies

ActionScript 2.0 :: Load Images Using Text File (to Specify Path)?

Oct 16, 2004

if i have a text field which is loading text from an external txt file and is HTML enabled, can I use <img> tags to load an image?

View 3 Replies

ActionScript 2.0 :: Load Images Using Text File (to Specify Path)

Oct 16, 2004

if i have a text field which is loading text from an external txt file and is HTML enabled, can I use <img> tags to load an image? If not, is there an equivalent?

View 3 Replies

ActionScript 2.0 :: Use HTML Format To Load Images On The Text Block?

Jan 5, 2009

A few days ago I manage to modify a code I get from a post here. The file was from tommywizbang[URL]It works fine, but at the end I have the idea of use HTML format to load images on the text block. The idea works fine with static text, but in this code is not working and I'm not sure if it is because of the original AS2...

View 0 Replies

ActionScript 2.0 :: Failing To Load Text File And Preload Images Into Content Holder?

Jan 29, 2010

I'm trying to load variables from a text file and then preload an image into a content holder but it doesn't seem to work here is my code

[Code]...

View 0 Replies

ActionScript 2.0 :: Make Buttons Load Text Or Images Into A Set Area On A Flash Site?

Mar 5, 2005

how make my buttons load text or images into a set area on a flash site.

View 3 Replies

ActionScript 2.0 :: Load Images & Test From External File " Text File?

Jul 27, 2011

i have banner with 5 images fad in fade out effecti need to load images & test from external file " text file or xml file " with keeping fade effects on imagesall ways i know can't keep fading effect on images so

View 4 Replies

Load Multiple Images Into A Scene And Then Cycle Through The Images One At A Time?

Nov 20, 2009

I am trying to load multiple images into a scene and then cycle through the images one at a time.So, here are the essentials what I've put together in AS3:First I set up a counter and a Loader

[code]....

Then, after loading a list of images from an XML file, I call a function that I called "createImages". This function then takes the list of images and creates a bunch of loaders:

[code]....

So far, so good! I now have a bunch of loaders each with a different name "img1","img2","img3" etc.

View 4 Replies

ActionScript 2.0 :: Attaching Multiple Images - Load Images One At A Time?

Jun 21, 2007

I have a photo gallery that loads many images using a for loop (image data is from XML file). Simplified code looks like this:

Code:
var photos_xml = new XML();
photos_xml.ignoreWhite = true;

[code].....

View 2 Replies

ActionScript 3.0 :: Load A Number Of Images Eg 4 Images Animate?

Oct 2, 2010

I am using actionscript 3. I can load an image in a class but how do Iload a number of images eg 4 images that animate.?These 4 images are a walking sequnce of a character. I am unclear after googling an loading multi images in as3( just love google).

Loading a single image I load this into a loader Once loaded I load the image into a bitmap and add to a sprite I then add the spite to the stage Q)Now for 4 related images I load 4 loader or 4 sprites or 4 bitmaps or do every thing 4 times?I want to do collisions eventually and I need bitmaps but bitmaps seem useless to use other than collisions.Googling for answers isnt helping me clarify this!

[Code]...

View 11 Replies

ActionScript 2.0 :: [Flash8] Load Text Into A Dynamic Text Field And Load A Corresponding Picture Or Movieclip?

May 1, 2009

The desired affect is simple: I have a single button... with each click I want it to load text into a dynamic text field and load a corresponding picture or movieclip.There are only three unique text/image combinations- after its displayed the third, with the next click I want it to just start over. All the text functions perfectly with each click.

The problem is:I use "createEmptyMovieClip" then use the resulting clip as a loader clip.. With the first click I want a movieclip from the library to load, so I use the "attachMovie" method- it displays the first library fine.With the next click I want to load an external swf- so I call the "loadMovie" method of the loaderclip... The external swf loads just fine replacing the first library clip.The third clip is where I have problems... now I want to load another library item into the loaderclip... so I tried using the attachMovie method again but the external swf remains static... then with the next click, I discover the first library item no longer loads and the external swf remains still playing- it's like once it's been loaded into the loaderclip it cant be moved...

So I tried adding the "unloadMovie" method in the code for the third click.. it successfully removed the swf... but the next line of code immediately after the unload statement, doesn't work. The line calls the attachMovie method for the loaderclip... but the library item doesnt load... Oddly enough, with the next click, the first library item now does load as if everything's fine... It seems like you cant use the unloadMovie and attachMovie on the same executing code? if that makes any sense... the basic idea was that if I couldnt get the attachmovie method to replace the loaded external swf, then I would use the unload method to remove it, then have code immediately after, to then execute the attachMovie method... but it still doesnt load the library clip. and I know it's not a type-o, because when I comment out the loadMovie and unloadMovie statements, it loads both the library items perfectly ? The code is below

var increment:Number = 1;
var verbiage1:String = "Hello World1";
var verbiage2:String = "Hello World2";[code].............

View 2 Replies

ActionScript 1/2 :: How To Add Description Tag

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> <!-- **&#160;&#160;&#160; Please read this information to learn how to add more galleries to your website. **&#160;&#160;&#160; **&#160;&#160;&#160; Here are all the galleries that you can use for the website pages. Each gallery has **&#160;&#160;&#160; an index or ID. With the help of index the gallery can be connected with the definite

[code]....

View 13 Replies

ActionScript 2.0 :: Add Description Tag?

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

ActionScript 2.0 :: Load Images And Load For Button?

Apr 6, 2007

I have successfully dynamically loaded Jpegs into my flash document(using PHP), but then I have another small problem.When I dynamically load the image (example: image_icon_bluesky.jpg) I then need to tell the MC that is holding the loaded image that it needs to do this...

on (release) {
_root.image_bluesky.alpha = 100;
}

SO basically every time a new image is loaded in my sort of "loop" script. I need to tell the image that it needs to put specific code onto the MC using specific "image" details for that specific image.

I hope this is clear. Basically what I'm trying to do.On my flash stage I already have MC's that have their alpha properties set to "0". Lets say there are 3 images. One MC is called Blue, other is called Red and the last one is called Yellow.Now using AS + PHP I have dynamically loaded 3 Jpeg's .

[Code]...

and so on for each image....I have tried to explain this as well as I possibly can. I just wanna know if this is possible or if there is a simple way of doing it

View 3 Replies

IDE :: Add A Title/description To The Image?

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

Popup Item Description Windows?

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

ActionScript 3.0 :: Parse Image Description From XML

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

Flex :: Method Description In Code?

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

ActionScript 3.0 :: Get Page Description With ExternalInterface?

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

ActionScript 2.0 :: Create A Rollover Description?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved