ActionScript 2.0 :: Change Image To Flash File?
Nov 14, 2003how to change an image file in html to flash (swf) file?
.[AS]... src = something.gif[/AS]
when i change the extension to .swf, it won't load the swf
how to change an image file in html to flash (swf) file?
.[AS]... src = something.gif[/AS]
when i change the extension to .swf, it won't load the swf
I am creating an image gallery and the images change but change right back to the original image. I had it working yesterday but today it doesn't work.
[Code]...
Is it possible to change the swf file to an image file? I didn't create the site and don't have the Flash file to edit. [URL]
<td class="mainwindow" align="left" valign="top" width="519"></td>
<td align="center" bgcolor="#5a6c94" valign="middle" width="291">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL]" height="180" width="285">
<param name="movie" value="window.swf" />
<param name="quality" value="high" />
<embed src="window.swf" quality="high" pluginspage="[URL]" type="application/x-shockwave-flash" height="180" width="285">
</embed></object></td>
This is the image/text that shows up right of the people image.
I have successfully loaded an external swf file into my own one. now what i want is to change the size of the loaded file.
the loaded file is an image and its height:500 and width:500 but what i want is to resize it to 200x200
How can i do that.
here is my code to load external image
var peelawayimage = _root.createEmptyMovieClip("peelawayimage", 7);
var mcImage = new MovieClipLoader();
mcImage.loadClip(_root.video_image, peelawayimage);
We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must.
So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now). Silverlight - allows us to use .NET CLR, so a big ++ (a lot of code is in .NET). But is not supported for most mobiles ( rumored android support in the future) HTML5 + Javascript - probably the most "portable" option. The problem is having to rewrite all that image processing code in Javascript.
Clarification: I don't need further ideas on what libraries are available for Silverlight and Javascript. My dilemma is choosing Silverlight means no support for most mobiles choosing Flash means we have to redevelop most of our code AND no iPhone/iPad support HTML5 + Javascript we have to redevelop most of our code and not fully supported yet in all browsers choosing two (Silverlight + Flash) will be too costly Any out-of-the-box or bright ideas / alternatives
I am building a flash widget for uploading files, but I want to display the thumbnail with html/js, once I have the file loaded via Browse into flash and have access to the raw data, is there a way to convert that to a base64 encoded dataURL so I can send that back out to JS to create a thumbnail like ?
View 1 Replieshow do I change the settings so that the flash file looks for as. files in a certain file.
View 1 RepliesI did the flash form tutorial here on [URL]
Everyting works fine but if I add a textfield to the flash file and change the php file it still sends the original textfield but not the one I have created. I am using flash 8 and macromedia mx. I just copied the message textfield in flash and dublicted it. Than I gave the dublicated textfield a different instance name (second). After that I published the movie and adjusted the php file. I guess that the mistake is here. Would be cool if you could check the below listed php script and tell me what I am doing wrong. Honestly it's driving me nuts as it looks so simple but it just wont work. I marked the lines I added with red.
<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
[Code].....
I have a background image in a movie which I would like to "replace" I remember I used to be able to replace images, but I cannot remember how to do it. I am using CS3. Is there a window which lists all the images?
View 1 Repliesi have my nave bar as my main swf then i load each page as an external swf in a mc container. each button should be marked when you navigate to the respective page. how would i load a current pages icon over the generic one when i navigate to that page then unload it when i navigate to another page?
View 5 RepliesI have an image of a handbag. I want the user to be able to click on a fabric image and change the fabric on the handbag to whatever they selected. How to change the image texture in photoshop. Would I first have to make the change in photoshop, then somehow create a movie in flash that places those images in the .fla file. Or will flash do it all for me. That is wrapping the texture around the image each time a new one is selected.
View 2 RepliesI'm using Flash CS4, and a template that I got from a friend to create a website.The template I have uses this "man figure" on the right side of the file. I want to make it so that this pictures loads a different picture each time the page refreshes. The picture can be randomly rotated to a different picture.I'm wondering if there is a possibility to do this, and if so, how should I go about it.My knowledge of Flash is very poor..Here is the template and swf file of the original file I have uploaded to a downlaodable website. The link is only available for 7 days from today
View 8 RepliesI'd like to change certain color in an image on a webpage based on user selected color, it this possible using php or javascript.
if it not possible or will be difficult, how do i do it using flash?
I've been tasked to write a chat engine in actionscript3 (AIR) and every chat message has an image of the poster associated with it. So I have 5 chat messages on the screen at any one time but it will be obvious that the images associated with message e.g. #1 changes all the time because the last person posting is different.
What I believe is wrong is to use the .addChild method every time I need to replace the image because it will just keep creating more stuff on the stage. What I tried to do is the code below but it refuses to update the image. The way I thought it should work[code]...
I'm trying to edit a basic flash carousel which I made from online tutorials. The carousel has 5 smiling images(as buttons) rotating as normal and when you hover over an image, it changes to an angry face. Now what i'm trying to do is, when the images reach the 5 to 7 o'clock position it changes to the hover image automatically.
Code: Select allvar numOfBalls:Number = 5;
var radiusX:Number = 350;
var radiusY:Number = 160;
[Code]....
I am creating a slideshow within Flash that uses XML data pulled from a database. Is there any way to manipulate the image size from within Flash? I am going to use the slideshow for a plasma display, and have clients uploading image files at random, which are then added to our database. I need each image to be 16:9. I know the easy way to control this would be to give the clients size requirements - we will do this in the future - but unfortunately there are hundreds of images already in the database that are already odd sizes. While it's clearly possible to change the size of the movie itself, is there a way to force each image that is imported from the XML to be a particular size - say 800 x 450 or 1200x 675 or 1600 x 900? (i.e. -- can I force the XML generated image to fill up the whole screen/browser window, regardless of what size it is?) It does not matter if the image gets distorted or stretched.
View 1 RepliesIs it possible to change the transparancy of part of the image to have it fade into another in flash? or it must be done in photoshop. If it's possible for flash please let me know. here's an example: [URL] fo Also i've come across an add in flash, I can't find it again. It was advertising some cream or something. there's a picture with wrinkles skin and when you scroll your mouse over it the part above the mouse remain the same but in bottom it's a different picture, does anyone know how to do that?
View 1 RepliesHere is my code:
var menu = new Menu ();
menu.x = 0;
menu.y = 0;[code]...........
This works, but transparency varies for each element MovieClip separately, but I would like that would have changed the whole MovieClip transparency as a single image.
Menu(); is generated from XML.
im messing with a movieclip symbol and i want to make a button, what'd i mean on Mouse over display/change this image in this X,Y cords or replace this image, something close to what buttonSymbol does but i want to make it using movieClip symbol...
and i have no idea how to do it.. i started like this:
[Code]....
I need to change the color tone of the image without changing the structure of the image.
for ex: I like to change the skin tone of my head part of image. Is it possible to change the skin tone color.
I'm looking for a very specific tutorial, Basically I want to create a flash 'rollover, image background change type thing' which I will display photos on. A very good example of what I mean can be found here:[URL]. You will see 6 small thumbnails which, when you mouse over them, change the background image to match. My design, I want to be a lot simpler. If you look at the following image you should see what I'm after: [URL]. 5 small thumbnails on the left, when you hover over them, they animate and the big 'red' rectangle changes to display the image.
View 0 Repliescan i change the image color from RGB to Grayscale in flash mx 2004 with Action script
View 5 RepliesI have a mouse cursor that's changing to a hand symbol when it is over a button. I want to keep the pointer but change the hand symbol, to a symbol I created. This symbol is cursor_mc.So far I have this code:
Code:
var mc:MovieClip = new MovieClip();
mc.buttonMode = true;
[code].....
I am am not a developer but have bought a template which I am modifying to suit my needs. I have made most of the modifications but and stuck on how to change the animation for the image gallery. When I move from one picture to the next the animation effect is something like a bubble burst. This is too flamboyant for me. I would like to change it to something more sleek but have no clue where to start.
View 1 RepliesI have this code which allows me to replace the mouse cursor with an image but i would also like to change the image when the mouse is clicked down using a different image. the code i am using for just replacing the mouse cursor is[code]...
i tried using a different code which i found but it failed to work with my project can anyone help me please
I'm trying to makedress up game using flash cs5 (i'm new to all this so bare with me), and i have the body but i want to change the skin colour with a click of a button, i have 4 skin colours that i have ready but i'm not entirely sure how i can do this,
View 2 Repliesi am trying to make a animation in which Image change in slice while the mouse over the image and its come back to original image with slice yani reverce
View 1 RepliesI am making a new flash website and i stack on the as3 part.My site have a menu like all the site do.Now on the site load there is a background picture.When you press one of the menu buttons, the background image will change to this button specified image.But all that in an animation of fade in and out.My problem that i have everything but i cant know which image was before it changes to the buttons specified one. It maybe require as3 which i dont know.I cant upload here my work. its personal.But i ask you the professionals, please make a short fla file which will have the code and animations i need.(if you cant understand me)Please, make a fla file, which contains random 3 images.At the start it will have main background and a menu on it(just text-for fast and short work)The menu is 3 text ine(main,about,contact)now, make that when you press about(for example) it will change the main image(background) to the image of the about page.
View 2 RepliesI am not familiar with flash, and I would like to change an audio file from an annoying noise to a silent (aka, blank) file. Before you ask "why use it at all" - It is used for an online chat client, and invokes a Jquery error if the file is not present. The current file. It would be outstanding if someone could whip-up an error.swf file that is silent.
View 1 RepliesI want to change an XML file using flash.
Here's the actionscript to post to the PHP:
ActionScript Code:
submitBtn.addEventListener(MouseEvent.MOUSE_DOWN, submitMessage);
submitBtn.buttonMode = true;
[Code]....