ActionScript 1/2 :: Provide A Reflection For The Images (movieclips)?
Jun 10, 2009
I am trying to provide a reflection for the images(movieclips) that I loaded on the stage. For this purpose I am using a reflection class. The class can be used with action script 2. the reflection is working finely. Also after loading the image or movieclip, I tried to give tweening for that image or movieclips. Thus also it works finely. The reflection of that also moves along with the actual image. The problem comes with the resizing the actual image. If I resize the actual image, the reflection would not be seen under the actual image.Can anybody know why it may happening like that. After searching for a long time, I got this class.But unfortunately, the reflection would not be working when the image or moviclip resizes.
View 8 Replies
Similar Posts:
Jul 5, 2009
XML Gallery Nav. ? I'm working on a image Gallery using xml to provide the images and Nav. This a shortened version of how the xml looks
[Code]...
View 1 Replies
Mar 6, 2009
i've added this reflection class [URL] to this simple .fla file, but i can't see any reflection [URL]
View 2 Replies
Nov 25, 2010
I am new to flex. I want to create some buttons and when v click on that button, it should open some images. how to give this functionality in flex builder 3.
View 3 Replies
Mar 18, 2010
I have an flv file. I need to embed this flv file in my html page.I found this on internet
[Code]...
View 1 Replies
Dec 27, 2010
In my web application i am facing a weird problem. In jsp there is code for Brightcove video player. For playing this you need flash with Internet Explorer 8. While running this jsp page it sometime provide the option to install flash and sometime not. But what i want that every time it must show the option to install flash at the client side if the flash is not available. Something like this
View 1 Replies
Nov 4, 2011
In Hslider,we use Labels="[0,1,2]" . How to provide array by giving the array name.ex:In AS3 we defined array
arr:Array = new Array[0,1,2,3,4];
In Hslider if I write
Labels="{arr}"
I am not able to see the arr values on the slider.
View 1 Replies
Feb 24, 2010
I've tried all kinds of different ways to detect flash, and provide alternative content where the viewer doesn't have or doesn't want to download flash player. I want the viewer to see alternate static content on the same page if they don't have flash. I just can't seem to find the one definitive answer that works every time! I tried: [URL] but this seems to require installation of Adobe AIR which I have no idea what it is!
View 3 Replies
Jan 27, 2010
I had someone create a template site for me that is pretty simple - a single swf that pulls resources from a directory of xml files and assets. In theory, I should be able to update the xml for my site and provide new assets. I know some code and within the xml there are some <font> tags that over ride the swf's formatting or provide and href.
My problem is that I now have to update our logo, which is hard coded into the source .fla file, which I know how to get in and swap out (the guy who did the work is not available). My problem is, when I publish, the new swf with the new logo does not want to read the <font> tags anymore. I have tried everything and I can't crack this. I've narrowed it down to two possibilities:
1. Something in the Publish settings, though I've tried every conceivable variation to no avail.
2. Something in the .as file that defines page template.
I know I need to provide more info but this is a start. I'm working on a Mac (as was the coder) and we were both using CS4.
View 6 Replies
Jul 8, 2010
I`m designing a site with an interactive header created in Flash. how to display an alternative image (a .png) in it`s place if a user doesn`t have the Flash Player? Of course, this is especially important for visitors using iPhones! The site logo is part of the Flash movie, which makes it all the more important that something is displayed in the movie`s place. I`ve heard their are ways of doing it with Javascript, but is this really necessary?
View 2 Replies
Mar 4, 2011
[code]I want to extend the list with hyperlinks. For example in every node I should have an href attribute also. Then I need to redirect users to the selected item. I know Flash has the URLRequest class. The little problem I have now is to get the selected item. It propably is because of the dataprovider is xml and I haven't done the correct casting.
View 2 Replies
Mar 4, 2012
Okay so this task needs to work like this:
1) Flash environment starts (as3 code base)
2) Flash receives data from xml
3) PHP tool inserts a dropdown menu of choices into flash environment.
4) Player selects from dropdown
5) PHP captures selections and writes to xml
So first of all, I dont want to do this another way, it has to be exactly like that. Now that having been said, i have accomplished the first two steps. Here is the extremely basic xml i am working with:
< LISTING HELMET="1" TORSO="2" PANTS="1"/>
This stores 3 string id codes which flash loads up. Inside of flash i load those three values and use them to index movieclips to their correct frame. This is done.
So now i need to write a PHP tool that creates three dropboxes on the flash stage, each box should list red, blue and yellow. When the player makes a selection in the dropbox the PHP tool needs to alter the three xml entries to record the player choice. Can you do this with PHP? Or do the dropdown boxes HAVE to be in AS3 and the PHP just be about transferring the data only? As a bonus, as the player makes his choices the PHP tool would update the variables in flash so the images change without rebooting the flash envronment..
View 1 Replies
Oct 7, 2009
I have been requested to create a website similar to the one on this page: [URL] I'm familiar with flash and some actionscript, but would anyone be able to provide feedback on how this site would be best be done?
View 2 Replies
Feb 11, 2010
Loading in Movieclips instead of images
View 6 Replies
Oct 21, 2008
I am trying to load my images with xml and then turn them into movieclips and attach an eventlistener. With the code below this is the error I get.
ReferenceError: Error #1069: Property name not found on flash.net.URLLoader and there is no default value.at MethodInfo-1()
View 3 Replies
Sep 25, 2010
My server network bandwidth is too small to provide service for many people.so I cached my app. - App. size is 4mb, I *try* to reduce size but app. have many embeded resources. - It's working good on my test & dev. and most browsers. but some browsers have problem already known. I read many articles and blog.
[Code]...
View 1 Replies
Oct 13, 2010
if there was a way to provide an option to view a flash site in html.
The site is currently built in flash, but have had feedback from people trying to view the site that they need flash player 10, is there any way to have a link option on the page that asks you to download the latest flash player, to view the site in html (html site has also been developed).
View 5 Replies
Nov 2, 2011
I use third-party encoder to launch RTMP stream to FMS, but there is no way to record thestream, there is no third-party encoder to provide a way to record?
View 2 Replies
Jul 17, 2010
I don't see why this doesn't work as intended. Only the second MovieClip - arro_nxt - shows.
//Load the arrow art:
var arrow_loader:Loader = new Loader();
arrow_loader.load(new URLRequest("assets/arrow_sm.gif"));
//place the arrows:
var arro_prev:MovieClip = new MovieClip();
arro_prev.addChild(arrow_loader);
arro_prev.x = 100;
arro_prev.y = 100;
arro_prev.rotation = 90;
[Code] .....
View 1 Replies
May 4, 2010
i'm trying to loading three different images from xml in three differents movieclips that i have on the stage.
Code:
function handleComplete(e:Event){
var myXML:XML = new XML(e.target.data);
var mySfondo = myXML.sfondo;
[code]...
This is my code for loading the three different images but in the addChild it adds only the last image...how can i do?
View 2 Replies
Sep 27, 2010
I dont know how to do this, i am trying but i cant, [code]...
View 9 Replies
Nov 17, 2006
I'm working on a website. It's really a basic portfolio-site containing a profile, some news and a few photogalleries. The idea is to load images and text onto the pages of an open book: however I don't want a "flat" image of a book with straight angels and straight lines: I want to have a real picture of my grandpa reading from a book.
Perspective:- Is it possible to "tweak" or disort a movieclip to simulate 3d? The pages will most probably be slightly curved, and the book might not be held 100% horizontal.
Text:- What about dynamic text? Can it be tweaked like this?
Images:- Is it possible to get a good result tweaking pictures?
- How huge does a image covering most screen sizes need to be?
View 2 Replies
Jun 5, 2009
I have an XML document that lists url of images to be displayed. What I want to do is load the length of images in the XML doc into an Array. Then take that array and make movieclips for each one.
View 2 Replies
Sep 17, 2009
If I have a folder with a random number of images in it, how could I add each image to its own movieClip?
View 1 Replies
Oct 11, 2009
I have a website which needs to load 3 external images into 3 movieclips when the page loads. The page gets the URLs for the 3 images from an XML document, ie.
<imgurl>graphics/panda.jpg</imgurl>
<imgurl>graphics/panda2.jpg</imgurl>
<imgurl>graphics/panda3.jpg</imgurl>
[code].....
View 3 Replies
Aug 21, 2011
I used code that kglad suggested to add a button that copies the embed code for a SWF to the user's clipboard:
clip_btn.addEventListener(MouseEvent.CLICK,clipcopy);
function clipcopy(e:Event):void{
Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, s);
[code].....
View 1 Replies
Feb 15, 2011
Here's what I want to do: when a player wins a game (coded in flash/actionscript), they are given a personalized secret key, which they can email to me in exchange for a prize. I can then validate the key on my end using a private algorithm. I need to design it so that it is practically impossible for hackers to generate a valid prize key without winning the game.
I assume that any SWF file is basically vulnerable to decompilation, but I don't know exactly how vulnerable they are. Perhaps any algorithm for generating a valid key will be accessible to hackers? I have at my disposal all the methods in actionscript 3, as well as a PHP/MySQL server, and I control the server where the game will be hosted.
View 5 Replies
Jun 9, 2010
I'm still new to flash and I'm working on image transition. I have 3 movie clips on the main stage, frame 1. The 3 clips are called 'mc1', 'mc2' and 'mc3'. I've managed to load images in to the 3 movie clips by calling a php script (Select.php) to pass the image paths back to my flash movie in an array. This is all the actionscript I have on frame 1:
Code:
myVars = new LoadVars()
// Load the vars from the external Php file
myVars.load("Select.php")
myVars.onLoad = function(success) {
// Split the variables
[Code] .....
This seems to work ok. Now I want to fade the images in rather than have them just pop up. I think I'll need to put in some kind of pause to wait until the images are loaded before I try any fading but I don't know how to do that. What I need to do to fade my images in once they have loaded rather than just have them pop up?
View 5 Replies
Jun 16, 2011
Can you addChild to a specific movieclip instance i.e. movieclip.name.addChild(movieclip).
I have built a 'for loop' to render a series of 'products'. The idea being to create a movieclip, load an image into this movieclip, assign a URL and later some text.[code]...
View 1 Replies
Dec 17, 2011
I have a problem creating multiple mc's and adding images inside each mc. This will add all the images inside last movieclip...
[Code]...
View 2 Replies