Users can write a text, modify it (in type, color and size) and choose a picture (which is loaded through a XML-file) for an e-card, then send it to whomever they want. But when they have made the modifications, how do I save the card, and then store it in a database?
I have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.
I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?
i think i highlighted the relevant code. The pictures get loaded when movie starts i think.if i could just get a example of the code i might be able to figure the rest out heres code:
The radius of the sphere, 'rad'. You can change it if you wish especially if you use thumbnails of a different size than our thumbnails.
var rad:Number=380; The position of 'board'that will be defined later.'board' is the main container containing the sphere and the black background that reponds to mouse actions.
var posX:Number=stage.stageWidth/2; var posY:Number=stage.stageHeight/2;
The size of thumbnails. Change the values to reflect the size of your images.[code].....
I want a frame to transform into the size of the next picture. It's hard to explain so here is an example. goto: [URL] and click on furniture for example. Check out the pictures and se how the black frame change size. Does anyone know a tutorial for this operation?
I want to create a website with a background that will auto-resize according to the stage size using AS3.But what i need to know before I do it is: What is the right resolution for the background picture?I want people with resolution starting from 1024x768 to view the website correctly and I also want people with 24'' monitors to view the background with good quality so I guess the image needs a high resolution. I started with 1936x1288 but when I resize the stage to fullscreen the bottom of the image gets cut off.
I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) { thisframe =+1 } [code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
I make use of a bitmap picture, size 1920 x 1080, as my stage background. That image never moves ... well I may add mask to it later on, I'm not sure yet.
Nonetheless, since it is static, is it a good idea to cache it as bitmap? is it only for vector artworks?
I need to know the width of a picture I load into a clip. But I always get Zero, while I see the picture properly loaded. What Am I doing wrong in this piece of code ?
how can i resize the dynamically loaded pictures: i have around 100 pictures, and i don't have the time to make thumbnails from every picture. i'm thinking to change the image size to display the thumbnails.In the xml i want to put only the <image>the link of the picture</image> code, and in flash i want to resize this image that will be displayed in the thumbnail scroller.
Im trying to make a slideshow in flash, but i want to be able to change the pictures in the flash file, by just uploading new ones to a FTP server, with the right names and resolution..
This is a webpage, where I use a modified gallery from tutorial (xml galllery with thumbs).This place is where I align picture movieclip in the center of area (which is also a mask).Sometimes, action clip doesn't get image _width and _height and load a picture with it's left upper corner in the center of mask movieclip. When I click again on thumbnail - image loads already perfectly how it should be centered. What can be the problem? maybe I missed something?Here is a modified code of the gallery:
In my following code "Btn.onRelease" doesn't work after "LoadImg()" was call, How can I solve this, because I want to detect a click on Btn once the new picture was loaded.
Here is my code : var mcLoader:MovieClipLoader = new MovieClipLoader(); mcLoader.addListener(this); function LoadImg() {mcLoader.loadClip("images/p0.jpg", Btn); }LoadImg(); Btn.onRelease = function(){trace("onRelease"); };
I recently used the loadMovie action to load a .swf file to a target in the movie which it was being called from. Then I tried calling a picture to another target in the movie, but it did not load the picture as intended. I read about it on my book, but it didn't seem to work. Is there anyways on calling a picture into a target in the movie without placing the picture inside an swf file?
I am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.
i want the swf or jpg that i load into an empty clip in my main movie to scale to the size of the stage. How do i get the height and width of the jpg/swf being loaded? i was thinking i could take that info and do a little ratio action and scale it to fit.
i have external swf with a size of 750x500, then it loads to main swf where it size is 750x700 now i want my external swf loads to main with its fix size which is 750x500, how should i do that?i've tried stage.stageWidth etc and swfLoader.width etc, but doesnt work.
I have a MC on stage with instance name of holder.I load a swf into holder. I want the swf which is bigger than holder to have the same height and width as holder.var myLoader:MovieClipLoader = new MovieClipLoader(); myLoader.loadClip("contact.swf", holder);
I'm using Loader to load an external swf into my swf and adding that loaded swf to the stage using event.target.content.If i set the width and height of the loaded swf I actually resize the movieclip inside my loaded swf. What I wanna do is change the stage size of the loaded swf.
I have a main index SWF that preloads an external video SWF... when i test it offline it works fine..when i test it online it doesnt work fine... Weird observation: Online it worked when the external swf was only 10-20 kb But when i tried with bigger file size about 3.5 mb (which is the actual video i want to load), it doesnt work.... on the preloader it says NAN%... Now...could anybody try to explain to me what the hell is going on? I am attaching the Flash files in CS4 and CS3 format...
Can someone help me out and tell me how i can set the size of an external swf i have loaded into a target movieclip.ive got the external swf loading into the target ok but its too big.