ActionScript 2.0 :: Linking Dynamic Thumbnails To Fullsize Jpgs?
Jul 29, 2004
building a dynamic gallery using PHP and mySQL. So far I am able to load the thumbnails from my database, and create an onPress event for each thumbnail. I can get a static .jpg to load, but I can't get the thumbnial to link with the corresponding fullsize image dynamically.
Basically I have loaded the filenames from the database into two arrays: thumbnails[] and fullsize[]. I know the database is working perfectly, I can load the fullsize images or the thumbnails into the thumbnail placeholders.
View 3 Replies
Similar Posts:
Jul 29, 2004
I am fairly new to MX 2004, (previously used Adobe LM) but am well under way building a dynamic gallery using PHP and mySQL. So far I am able to load the thumbnails from my database, and create an onPress event for each thumbnail. I can get a static .jpg to load, but I can't get the thumbnial to link with the corresponding fullsize image dynamically.Basically I have loaded the filenames from the database into two arrays: thumbnails[] and fullsize[]. I know the database is working perfectly, I can load the fullsize images or the thumbnails into the thumbnail placeholders. I'm at work so I can't post the .fla until later,
View 3 Replies
Mar 5, 2009
I'm working in a photogallery inside a mc (ex. movie>menu>gallery). There are 6 thumbnails in this gallery and I would need this: clicking on a tb i would open the bigger image in a mc in the root with alpha effect (fade in). I started using this code:
[Code]....
View 4 Replies
Oct 4, 2009
i'm just a newbie....i want to link a button to some moving thumbnails...this is the code
[Code]...
View 0 Replies
Apr 12, 2009
I have a Tile List Component full of pictures,when a picture is clicked i want it to gotoandstop at the frame where I made the picture fill the page. How do I do that if I can't insert an addeventlistener for any of my thumbnails in the component? how do I make the thumbnails link to Urls and load UIs? Heres my basic code:
thumbnails_tl.addItem({source:"website-01.png"});
thumbnails_tl.addItem({source:"website-02.png"});
thumbnails_tl.addItem({source:"website-03.png"});
[Code].....
View 3 Replies
Oct 11, 2005
I've designed a site that dynamically calls in jpgs into a swf. I've done it before on other sites and haven't had a problem. However on this site (www.jefftse.com), sometimes the jpgs load and sometimes they do not on IE on a mac. Which is bizzare. Why would it not work occasionally?
View 2 Replies
Sep 16, 2005
i have this on my button :
on(release){
this._parent.loadImages(this._parent,this._parent. text1.text);
}
this will load the image that is key in the text field.any idea i can check an error here like:if i key in the wrong file name i will get a text say "wrong file name.!" else if correct file name, load the jpgs..i have this on my reset button:
on(release){
this._parent.text1.text= "";
}
it will reset wht i wrote on the text field. but i still need to unload all the pics i have uploaded.
View 1 Replies
Feb 8, 2010
I have a MC filled with button thumbnail images. I am trying to tell the thumbnail to display the corresponding fullsize image. the script I have for the first button is
on (release) {
picts.gotoAndStop(2);
}
Picts is the name of the MC containing full size images. There is no response to the button.
View 1 Replies
May 29, 2007
I am building a dynamic thumbnail gallery, where each image links to a fullsize version. (Sounds simple so far, but wait!) The thumbnails are created dynamically - an xml document provides the image path and description. I create a movie clip for each one on the fly, then load the appropriate image into it.
My problem is when I try to convert each movieclip into a button which loads the fullsize image. Each button loads the same image- the last one in my xml document. If I try placing "img[i]" inside the onRelease function, it comes up undefined. Here's that bit of code:
var thisimage=img[i];
eval("thumbnail"+i).onRelease = function()
{
// do something
loadMovie (thisimage,_parent.emptyclip);
}
And here is all the actionscript:
var xpos=0;
function loadXML(loaded) {
if (loaded) {
[code]...
View 3 Replies
Jul 23, 2010
is there a way to create dynamic thumbnails taken from a streaming video?
View 9 Replies
Jun 1, 2005
Who knows how to get this kinda menu: [URL] to only display a certain number of items per line? (I'm referring to flash file down the page a little that says "Choose Thumbnail" on it. The source code for this flash file can be found on page 2 of this tutorial)
As you can see, it currently has 4 thumbnail images, and all 4 of them are displayed on 1 line. But what if I wanted to tell Flash to only put 3 per line (thus 3 on the first line and 1 on the second). This thumbnail image menu is dynamically loading data from XML, so if I wanted to add more images to the XML file, I wouldn't want these extra images added to the same line as they would run off the page! I need them to load under the existing ones..
View 3 Replies
Nov 9, 2006
I'm having trouble using hyperlinks in my dynamically loaded text.I have selected the 'render text as HTML' button, to no avail.
View 2 Replies
Feb 9, 2009
I want to find a relatively easy solution for deep dynamic linking within flash. There are plenty of tutorials out there, so please don't jump to the conclusion that I haven't done a search. What I am looking for is a tutorial that should theoretically be easy to follow for someone who is a non-coder.
View 2 Replies
Dec 19, 2009
i have a problem with setmask. in my current project i used a thumbnails which are loaded via xml. if user click on those thumbnails then in the stage a movieclip loades an image correspondent to the thumbnail and the loaded image will ba mask itself on the background image that is loaded previously. for that purpose i used onEnterframe in the onRelease function of the thumbnail. but the problem is that when user click on thumbnails it will do the all the jobs but stop loading to other thumbnails.the code is below:
[Code]...
View 0 Replies
Apr 3, 2006
i want to display a grid of video thumbnails, whose parameters are loaded from XML. the number of TNs is variable but the area in which to display them is of a fixed size. i'd like the number of rows/columns AND the TN's size to vary to fill the available space, whilst maintaining the TN's aspect ratio e.g. display area is 200w x 300h and there are initially 10 TNs (which are 4:3 ratio, say): 3 columns and 4 rows of TNs 62 px x 46 (i think) but if the number of TNs goes up to 30, or down to 3, i want the code to adapt, to give me a 6 x 8 grid or a 1 x 2 etc.
View 4 Replies
Jan 28, 2010
This might be straight forward, but I would like to know how could one link dynamic text boxes so that the information would flow? In a way, the information would flow from:
(XML) Input A into BOXA00, BOXA01, BOXA02, BOXA03, etc.
(XML) Input B into BOXB00, BOXB01, BOXB02, BOXB03, etc.
(XML) Input C into BOXC00, BOXC01, BOXC02, , BOXC03, etc.
View 9 Replies
Jul 21, 2010
I have a Flex app I built. It uses the BrowserManager class to listen for changes in the # part of the URL. When a change is made to the hash my application updates accordingly so you can link directly to a state of the application. Also inside my programming when a user clicks something, all I do is use the BrowserManager to update the # and then my listener will apply the correct changes once its finished. I believe this is the best practice way to doing this in Flex.
I have some issues though. When using the Back button in FF or IE, it gets "stuck". for example if the hash is like #state4 clicking the back button will take you to #state3 then #state2 but sometimes get stuck where you can be on #state3 click the back button, see it flicker to #state2 real quick then change back to #state3 preventing you from going back any further in your history.
[Code]...
View 1 Replies
Feb 2, 2011
If you compile a Flash project into a .swf file and that project refers to another .swf file, is it linked statically or dynamically? That is, is the second .swf file contained physically in the first .swf file or does the first .swf file refer to the second at run-time?
View 1 Replies
Jan 18, 2009
I do have a mc with a dynamic text box in it, this dynamic text box is linked to an texternal text file where I have the text I wanted to be shown in my mc when I publish the movie.
When you see the text in the movie I want to be able to use part of the text as a button to redirect the timeline to another scene and exact frame. For the moment I try everything I could but no luck.
This is the script I have in the text file for the monent and is redirecting to frame 11 in the same mc.
myHTMLdata=<p><font color="#999999">.................................. .................................................. .............................................</font></p><p><i><a href='asfunction:gotoAndPlay,11'>Tower Ultramort</a>
My question is what is missing in my script if a want to link the text Tower Ultramort to and scene call spultramort frame 11.
This is very important because I do have the website with dynamic text boxes all over it and I need to link them to different scenes.
Here is the link for the website: [URL]
View 0 Replies
Jun 14, 2007
If I make buttons using....
[Code]...
I have the button tracing "this.digit" which is the number assigned to each button, can't make it link to the content. Do i need to "push" the number to an array...or similar?
View 1 Replies
Jun 22, 2010
Yesterday I spotted what seemed to be a minor issue with having a linked image in a dynamic textField. Basically, this doesn't work as expected:
HTML Code:
myField.htmlText = "<a href="[URL]"><img src="image1.jpg" /></a>";
You get the hand cursor when you mouse over the image, but clicking does nothing, unless you inadvertantly click an invisible 1px border around the image.
I've tried:
Loading an external image (<img src="images/image.jpg" />)
Loading a bitmap in the library (img src="myImage" />)
Loading a movieclip from the library (img src="myMC" />)Using textField.getImageReference:
myField.htmlText = "<a href="[URL]"><img src="image1.jpg" id="myImage" /></a>";
var imageButton:DisplayObject = myField.getImageReference("myImage");
imageButton.buttonMode = true;
But absolutely nothing works. All of the data being loaded is from a database, and I've got a couple of lengthy methods in mind that I could use to dynamically attach movieclips with link references, but it involves edits to MySQL, the XML output and a couple of PHP files, as well as the AS.
After a creating a new test file from scratch, it seems that the real culprit is when you embed a font into the textfield. I initially tested a new textfield with absolutely no formatting and the linked image worked perfectly. As soon as I added a font to the library and embedded that into my textfield, the link stopped working.
View 2 Replies
Oct 5, 2006
I have a dynamic textfield which i fill with HTML-text from an XML-file. This exceeds one page, and I would like to print it on several pages. How can I do this, when I use printjob.start it only prints one page...? And is it possible to track a word that is clicked? (to use as a link to other pages..)
View 2 Replies
May 24, 2010
I'm working on a flash module that basically needs to offer the ability for the user to scroll through a series of thumbnails in a carousel format. I currently have the following code which is creating my thumbails horizontally which is all working fine. [code]...
View 1 Replies
Sep 18, 2007
What would be the best way to swap images onRollover inside a thumbnail gallery dynamically loaded into contentMain?
View 9 Replies
Nov 12, 2010
im currently making a quiz with different questions and im trying to link the questions dynamix text to a xml or txt file heres an example for one question:
on my answer timeline i have for the buttons (one frame per question):
stop();//Text Linkquestion.text = question1;
b1.longtext.text = answer11;b2.longtext.text = answer12;b3.longtext.text = answer13;b4.longtext.text = answer14;
Then on my main actions line i have a list with all answers and questions, this is for question one :
[Code]...
how can i put this into a xml or txt and just say from flash, hey heres where you find the text to put onto the buttons?
[URL]
View 3 Replies
Jun 5, 2004
I have used the Scrolling Dynamic Text Tutorial and it works great. I have a url in the file that I want people to click on to launch within the movie. My problem is I can not figure out the code to do this.
Action Script code
loadText = new loadVars();
loadText.load("league.txt");
[Code]....
View 10 Replies
Oct 3, 2007
I was referred to the SWFAddress script, but I have been unsuccessful getting it to work with AS2. Does anyone have experience with this or have another suggestion on how to setup and use Dynamic Deep Linking with AS2 for flash CS3
View 1 Replies
Jun 5, 2004
I have used the Scrolling Dynamic Text Tutorial and it works great. I have a url in the file that I want people to click on to launch within the movie.[code]
View 10 Replies
Feb 4, 2009
Mainly been making websites all these years, but in my last year at school i started to get interested in Flash Actionscript. I've been at home for over a year in 2008, unemployed. I got back to school in September 2008 but quit the education as it wasn't for me. Now I'm looking to get a job, but I need a showcase, so I'm building my portfolio at the moment.
I'm currently working on my portfolio which i wanted to make in Flash using XML generated content. I got as far as getting the content generated in my prototype. Now I'm trying to build the real thing. I currently got a scrollbar on the left which contains the thumbnails. I used the custom scrollbar from [URL] ([URL]). The content in it is generated with xml and actionscript though.
[Code]...
View 2 Replies
Aug 19, 2010
I have a flash site which reads deep links from the URL, then using c# asp.net we read the url and write the appropriate meta tags for the page being requested. [code]...
View 1 Replies