ActionScript 2.0 :: Pull Full Size Image Using PHP?
Jan 19, 2009
I have a flash site I want to modify so that when any of the small images throughout the site are clicked a larger image will be pulled using PHP. I am not highly skilled with Flash or PHP.
I'm tring to have it when you click on a thumbnail, it loads a larger image over the scene. Here is an example, since I'm sure that my desc. is awlful. link My scrolling thumbnails are based off of the tutorial on kirupa.com. Here is my site. and action script. (architecture is only one that has any images on it currently for testing)
Code:
cliparray = []; function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild;
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]
I've spent the past few days having a look for this and no luck so far. Basically I have got a multi-page XML gallery with thumbnails. At the moment the images in the gallery stay their original size. I want to make it so that a) the image takes up the entire page of the browser/stage, and b) the image resizes as the browser does, which I suppose might be in the publish settings.
So my question is how can I size this image so it takes up the entire stage? I've tried fiddling around with Stage.width and Stage.height but no luck so far.
Something like this: [URL]is what I mean.
Attached is my .fla, the actionscript code is all within a key frame inside gallery_mc.
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.
(I'm working in flash 6 due to some constraints but if what I'm doing could REALLY be optimized by going to 7 then feel free to yell at me - OH, and feel free to yell at me because there is a bunch of pink - I haven't worked on the actual layout because I'm waiting for the colors-font-realImages) I will save space here and just post the link to the dir, swf, and fla...
I made a flash website with photo galleries using a component that I bought online. The component is loading the image in a thumbnail scroll bar via a XML file and the full size image display in a UILoader. So far nothing special. But when I reach a certain amount of pictures in the gallery, the scroll panel get stuck while loading and doesn't display the full size image. Then the thumbnails don't react at all.
I'm working on a small flash site and I want the swf file to have "bleed" or to go to the very end of the window so that the swf isn't just ploped over top of a background. [URL]
I would like to know how to make flash size (width and height) full size in the browser? the real size of flash is w:955px h:600px I tried to make w:100% and h:100%, it makes pictures pixelate.
I'm using Flash CS4 as my IDE with Actionscript 3 and Flash Player 10. I'm working on a bigger project but the area I'm struggling in is dynamically pulling an image from the flash library (already loaded). I've been finding the same answers to my question all over and they seem to keep producing the same error so apparently I'm just not getting some little detail. I have an image loaded in the library called test1.jpg. I've right clicked on it and selected 'Export for ActionScript' and 'Export in frame 1'. The class is 'MyMc' and the Base class is 'flash.display.BitmapData'. My code is attached.
and it produces the following errors:
quote:
1136: Incorrect number of arguments. Expected 2. 1067: Implicit coercion of a value of type MyMc to an unrelated type flash.display:DisplayObject.
This is my code to impot an image + some data from a db. I'm unable to pull the data or the image (nothing appears).[code]
1. What am I doing wrong here? or is the issue is elseware? (I'm PUBLISHING this to Flash Player 9 and AS2.0 2. How can I code this without using the XMLParser?
i cannot work out how to pull an image into a Movieclip instance.Would anyone mind taking a look at the attached xml and as2 files I am sure you will realise how much of a mess it is but at the moment the Search function works and pulls all the required info the only thing I cannot do is load the image into a movieclip.
build an image gallery on a site i'm building.The way I have built the site use sactionscript to pull the each different page through as an individual swf file. see: http:[url]....The page im putting the image gallery on is 'Virtual Tour'.When I test this specific page in flash it works fine, however when I view the master flash file and click 'Virtual Tour' then it doesnt pull the images through. Im not sure why this is, as if you view the swf directly then you can see the images do work: http:[url]....
I got four buttons that pull up images in a slide show. I want the fourth button to first pull the image in place and THEN shut down the movie clip. I thought this would be easy, but no. Unfortunately I canīt attach the fla-file on this forum. You could take a look at this:
[Code]...
It works in a sense. The movie falls into place when I click the button and the movie quits when I move the cursor. But it also means you might shut down the slide show involuntary when you move the cursor going for any of the other buttons. What can I do? I could point out that I'm not working with any frames here.
Ok if you visit flog-it.ie you will see that there is a swf file embedded in the page on the right hand side but unfortunately its not set to the full size of the box its in. How can i set the swf file to fit those dimensions (260px by 300px)?
I have three images and I want change the images size based on the scene size (default size is 1024x768). After each image has completely loaded I call bindableUtils.setter to set width/height when scene size changes but I don't know how to make a pointer or something like that. I'm using a public var img, but it only works with the last complete image.
Here is my code: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
basically my flash works fine in every other browser except IE every page I tested in IE tester that has flash included, has the .swf half its size. Its not distorted rather its just small.Here is my object code.
My application is built in Flash Builder. I want to embed a small Flash login form inside an HTML page. The login form is in the 'login' state of code and is a few hundred pizxels wide/ tall. The 'default' state is set to height and width of 100%. I have a resize function that is executed once the login receives the appropriate credentials.
private function resizeApplication():void { if(ExternalInterface.available) { ExternalInterface.call("resizeApplication");
[Code]....
#app is the div and overflow is set to auto in the body. This works just fine except that I am left with some visable portion of the webpage near the bottom. I want to be able to either resize the webpage to match the swf or hide everything except the swf. I have tried a few different things with the js including setting the bottom attribute to 0 and using variations of the document.body.clientHeight.
I am making full browser page, but resize doesnt work well. It looks like the flash took wrong stageWidth and stageHeight at the start... Then it all works but with wrong numbers [URL] (when you launch swf in standalone player, it works well - download [URL]
i have a header made in flash, its 950 x 175 px. For every button in the header a swf is called in into a specif frame. The problem is that when the swf loads it does but not full size of 950 x 650 but it loads in the same header size. How can i make this work, hit the button and swf comes in in full size? this is the code of one of the buttons in my header:
var container:MovieClip = createEmptyMovieClip("container", getNextHighestDepth()); var mcListener:Object = new Object(); mcListener.onLoadInit = function(target_mc:MovieClip) { trace("movie loaded"); target_mc.gotoAndStop(155); }; [Code]....
I know this is basic, but I lack the terms to use to search for the solution. I can do some advanced stuff in Flash, but when it comes to basics like this, I'm at a loss.
I'm trying to have two movieclips call the same function but pass to it a different argument to then process accordingly. What I've learned is that even though the MCs are small rectangles on the stage, their clickable area seems to span the entire stage. In this code example, when I click on one MC, the trace gives me both 1 and 2, as if both MCs had been clicked. What am I missing? Attached is the stripped-down FLA.
I'm having the weirdest problem. I have a fullscreen function and it works great except when I try to make the current video playing the same size as my screen. Oddly enough it reports that the swfStage.width is 1280 but the videoScreen.width is 852? [code]
I have a movieclip linked to a scrollPane.It loads into it fine. The problem is that the scrollPane won't scroll the full size of the movieclip. The movieclip is about 1000 high. If I set the scrollpane size to 500 by 500, it'll scroll down about 600y of the movieclip, but no further.How do you tell a scrollPane to allow scrolling the full size of it's content?And on a similar thread, is there a way to tell a whole swf to scroll? So if you have a swf that's 1000x 500y, and it's dynamic content becomes 1000x 800y, can you make the whole swf scroll like an html page, or do you have to encase all the content in a scrollpane?
in the above page it is behaving just like wanted, EXCEPT want the top and left side (perhaps) to be 'pinned', meaning when resizing the browser window, the top does not disappear. I like that it resizes, and scales, yet, keeps the whole viewport filled. Don't like that it can disappear at the top if the browser window isnt just right.
if it is not possible to scale smaller but can scale larger, and keep the browser window full, that is ok too.
I'm tring to make the swf full screen. I published it with scale of 100%.I wish to have some movie clips like text or buttons in fixed size.first, I don't get Event.RESIZE when the stage changed its size second, I try to set their size , but their size is changed according to the stage size and do not stay in the height width values