ActionScript 2.0 :: Dynamic Text On Flash Slideshow
Jun 17, 2009
It's been a while. I'm still improving this slide show application I've been working on. I've got a new idea, but I'm not quite sure how to incorporate it, I've got a dynamic image slideshow. It pulls all images from an XML file. I've also got some true/false variables, etc in a text file that it pulls from as well.
I am still building my webpage and I have found this slideshow and thumbnail scroller components online and everything is working 100%, I need to add description text into a dynamic text field as the large image appears in the slideshow component. I am leaving a link to the file [URL]
i have a question about text in a slideshow. i know how to make a basic photo slideshow with external images. but now what i want to do is add 4-5 paragraphs of text next to each photo (with possible scrolling). the text will be different on each photo.
i have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this
[Code]...
i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??
Im a noob at flash and am stuck making a photo sideshow application. I would like to be able to point the flash file at a folder of images, which are then all put into the slideshow and played through.
how is it possible to make text appear on top of an image (slideshow) in Flex using action script (can it be done another way)?(I already found action script code that does implement the slideshow but how to show some dynamic text too?)
[URL] I am trying to add text to a slideshow like in that link. However, the text won't show up, even after I follow the directions. I've been at this for an hour and the same result has occurred time and time again: THE TEXT WON'T SHOW UP.
I want a flash movie with image slideshow with fade effect. When image enter then some text should appear on it and when image change text should also change.
I am trying to build a flash slideshow that uses XML to call up images and text captions. I 've found a good example of what I am looking for on macromedia's website.found here: http:[url]...
I would like to add the ability to fade between images and have a button that creates a larger jpg version in a popup window for whatever image is being displayed as current in the slideshow.Would I need 2 XML files for this or can I just use one? I prefer one. Sorry I am quite new to XML, this is my first foray into it.I can build this thing w/o XML, but it seems to be so much easier if I did it with XML.
How can I make a dynamic slideshow, which works only with next/previous buttons and has over image (part of the image) hyperlinks, which are positioned each time different (the position data maybe in XML?), depending on the image?
I'm working on a flash slideshow with transitions that I need to loop smoothly. I have four movie clips, one on each layer and each one loads and fades on top of the previous one. When it loops back around to the beginning, I don't get a a smooth transition. I get white space for a few seconds. On the last frame I have gotoAndPlay(1); and on frame 1 I have my loadVariablesNum statement.
how to loop this seamlessly?
Here's the url - the images may be blurry and are only for testing: [URL]
I am wanting to create a dynamic mask for the transition in the Kirupa XML Slideshow tutorial. Instead of having a fade in, i would like to have an effect like the one here for the image transition.
All I want to do is add text from my string to dynamic text field when I click dynamic buttons. What should the as code be for this? Here is my code. Right now I just have the click returning another shape.
I would like to create a simple slideshow for my Web site that is populated with images from a database. All I want it to do is pull the 6 most recent photos using ColdFusion, fade from one image to the next and loop.
I am trying to dynamically load images into this slideshow. I have 2 MC's, one with an animated mask, one without. I am trying to load an image into the first MC, have the mask reveal it, then load that image into the 2nd MC which is behind this one. This way, when the next image loads and has the mask show it, the other image will still be on the stage behind the new one, and so forth.Here is the excerpt of code from where the main actions are being done..
var myMCL:MovieClipLoader = new MovieClipLoader(); var myListener:Object = new Object(); myMCL.addListener(myListener); var canMoveOn:Boolean;
- From my XML file an array is created with several background images
- The first image gets randomly loaded into a BitmapData and is attached to the first movieclip for smoothing. After that the movieclip gets proportionally scaled to fit the Stage.
- After an interval (set in the XML) the second image gets randomly loaded into a BitmapData and is attached to the second movieclip with a nice fade-in effect. After that the movieclip gets proportionally scaled to fit the Stage and the movieclips swap their depths.
- The third image gets loaded into a BitmapData and is attached to the first movieclip again. etc etc etc.
I've constructed a dynamic slideshow using ActionScript 2.0 and PHP/MySQL. The reason for this, aside from update purposes, is that the slideshow will eventually display over 200 images. Thus, to save loading time and bandwidth, I decided to use PHP to pull ten images from an SQL database, formatting the output in XML. The slideshow itself works fine. Unfortunately, there are a couple of issues I need to address; my ActionScript is extremely rusty, so much of my work's patchy.
The code's displayed below: import mx.transitions.Tween; import mx.transitions.easing.*; var myShowXML = new XML(); myShowXML.ignoreWhite = true; myShowXML.load("getData.php"); [Code] .....
The code in red is my main focus. It's the loop which loads all images as movie clips using the XML information from an array. The loop loads all of the images, making them transparent before the presentation begins. What I would like to do instead, to save loading time, is to load the next image while the current one is displaying. The function "moveSlide" controls the transition of the images, so I'd imaging it'd be best to plade it in there.
There's already an incremental variable being used, with _root.target_mc, for removing transparency from the current slide. The code in blue is also nagging me quite severely. I retrieve the next chain of slides by simply contacting the PHP script again. The only way I could think of doing that was to refresh the slideshow (this is done COMPLETELY in ActionScript, with nothing on the stage). Unfortunately, I could only work out how to reload the whole video.
I'm using the dynamic text scroller from [URL] found at [URL] Here's a link to my zipped files too... [URL]
1) I can't figure out how to have URL links in the text that loads.
2) How can I make the scroller refresh to allow for new text in the dynamic text area. The content changes alright, but the scroller stays in the same position and if it wasn't needed initially, the scroller disappears and doesn't return on new text.
I am working in Flash CS5 and I have placed a text field (dynamic, classic text) on the stage. I am accessing it through Actionscript on the same frame like this:
var ct:TextField = TextField(getChildByName("Temperature")); ct.text = "Hello world";
What ACTUALLY appears is this: So... The H, Ls, and D are gone. Mysteriously. Without warning. I am sitting here utterly confused. Is this just me?
PS. The text field is set to Myriad Pro Bold, a font on my computer, so it isn't like it's a font problem.
There is a dynamic text box and I set it's wrap to be falseHowever, when I input text and press enter key, it still return to next line. How should I fix it in Flash CS3?
Is there a way to pass the textfield A text to a dynamic text input (flash) as I'd like to use the font embedding flash offers. I can make it work when loading a value from a txt file but I'm not sure how to access the value identified above as KitGroupID_16_TextOption_38 and make it appear in a dynamic input box. Eventually I might want to have 3 font choices for the user but I'd like to just see if I can get this working properly first.
I agreed to put together a flash slideshow that contains 3 separate slides in one pane to the left and with a separate corresponding section for text to the right.
I'm trying to modify an existing slideshow to include text descriptions for each image. And I've forgotten how to do this.My Action Script looks like:[code]I'm getting an error in the output window:Error: A 'with' action failed because the specified object did not exist.I did create a movie clip with dynamic text and added it to the stage.
I'm making a very simple adventure game with a dialogue box. The dialogue box is a dynamic text box. I need it to display the next message everytime the "next" button is pushed. Right now, this is how it looks.
I have created a pie preloader(preloader.zip) which is working fine. Same preloader I am trying to incorporate in a xml based slideshow(slideshow.zip) to show image loading process but some how I got stuck. I am new to flash. Suggestions are welcome.
1. How to solve the problem of preloader2. Is it possible to integrate everything in a movie clip (including AS). I mean no AS on main time line but inside the movie clip. It would be much easier then to to create multiple slideshows by duplicating mc and changing the xml file.