Transparent PNG To Overlay Dynamically Loaded Gallery?
Jun 20, 2011
There are buttons on either side that scroll the dynamically loaded images left and right. The script is compiled from an external AS file which I've pasted below.
What I need to do is load a transparent png over top of the images but underneath the buttons. I've inserted a graphic below. I've tried inserting the png directly in the timeline as well as loading it dynamically in to a movie clip. The overlay always comes out on the bottom. [code]...
View 3 Replies
Similar Posts:
Mar 22, 2010
I have a button in my flex app that creates a popup overtop of everything. However, it seems like flex automatically puts this transparent overlay overtop of the stage when this happens. How do I disable this? I have tried contentBackgroundAlpha="0" and backgroundAlpha="0" with no luck. anyone know what the proper syntax is for disabling this transparency? I have been searching through the docs for a 30 minutes now looking for it.
View 1 Replies
Apr 13, 2007
I'm trying to figure out how to make a configurable wrapper or container file that I can simply pass variables such as
wrapper.swf?m=movie-to-load&u=url-that-button-goes-to
It seems simple enough, and I'm half way there ( I can get external movies to load ) however the transparent button is over my head ( read: I'm a complete noob ).[code]...
I've tried hardcoding a url into getURL as well but it doesnt' seem to be recognizing that there's even a button there.. is that because there's a new movie being loaded?
View 8 Replies
Dec 8, 2006
I need to display my Flash app with a transparent background on my Windows desktop. Not within a browser, but by itself. I basically want it to hover by itself on my machine.
View 2 Replies
May 7, 2010
I am new to Flash and am trying to make a page that has a fullscreen image gallery with individual thumbs along the bottom. I can more or less figure this out using some templates,but I need to do this for over 50 different projects, each with anywhere from 1-100 images.Is it possible to make more of a container that dynamically loads from a folder of images rather than have to make each one by hand?
View 1 Replies
Mar 13, 2010
I want to make flash gallery's background fully transparent. Now it looks like it is like 30% transparent. This is the code for flash movie on my page:
<div id="content">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL]" width="800" height="600" id="gallery" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="gallery.swf" />
[Code] .....
Looks like this on page (Flowers and white square):
View 1 Replies
Aug 1, 2007
I have a .jpg graphic in a movieclip on layer two (1024/768). This is used as a background.I have a .jpg scrolling movieclip on layer one. It is a very wide graphic used for displaying a panorama.I would like to be able to create, dynamically using actionscript, a transparent area on the layer two movieclip (create a window) to view the underlying movieclip.I believe this is possible using the Rectangle class in the flash.geom.rectangle but I can't figure out how to attach it to the layer two movieclip or how to make it transparent so shows the underlying scrolling graphic.
View 4 Replies
Feb 11, 2009
I want to load a PNG image using loadClip() and place it into a movieclip. After the image is loaded I set an event handler, in this case onPress. Now my problem is that the onPress event activates whereever I click on this loaded PNG image. All I want it to do is to only fire the event if I press on a non-transparent area of the PNG image. In the end, I want to load a background image and put this PNG image over it. The PNG image shall act like a mask which tells the background image where I can click and where I'm not supposed to. But before I can do that I need to recognize transparent areas of an imported PNG image.
View 1 Replies
Nov 22, 2009
I have a flash site (portfolio), and it uses buttons to load/remove different .swf file (it is an XML gallery that I did not write.) It works perfectly - the FIRST time I load/unload a .swf . . . however, every .swf file loaded after the first one comes in partially transparent (it normally fades in), but otherwise the .swf is fully functional. Each .swf has it's own unique name/images, but is otherwise identical to the original gallery. It doesn't matter which one I open first - the first one is always correct, the rest, not. Also, the degree of transparency varies randomly, but generally seems to hover somewhere around 1/2 way.
[code]...
I know that something in the XML gallery is causing this (switch to a completely different .swf and the transparency issues go away), but I also think that I am likely not unloading the .swf correctly and that some part of it is remaining in the memory and creating issues when it is used more than once.
View 2 Replies
Nov 3, 2011
its possible to make a glow filter effect around ONLY the image in a loaded transparent PNG?
View 1 Replies
Sep 17, 2009
I have started putting together a flash based website to present my works. I am dynamically loading thumbnails and the larger companions using an XML file. Everything seems to work fine on my comp but when I upload it to my host sever the larger images do not want to load and on occasion a page of thumbnails doesnt want to load. My address is [URL]. Also the code I am using only places one image atop another, so when I click on a thumbnail it will place the larger image on top of the last it does not take the previous one away. which can be a problem if one image is smaller than the last. or if I wanted to load movie clips.
Here is the AS of one page.
//XML Trails stuff
//var to hold Tween;
var fadeTweenPhotoP1:Tween
// Creating image txtfield
var imageTextPhotoP1:TextField = new TextField();
// Instance of loader class
var imageLoaderPhotoP1:Loader;
[Code] ....
View 4 Replies
Jun 22, 2010
i have this xml gallery that loads a list of thumbnails and then, when you click on one of them, should display the correspondent video on a player. The thing is if i put the player on stage and add this code it works just fine:
[Code]...
View 6 Replies
Oct 17, 2010
I imported a video into flash and have a transparent photoshop layer to create an iPod skin. The video works fine, but I cannot get the "stage" to be transparent so that you do not see the flash background color behind the iPod skin.
I've read in the forums and have followed the instructions here from Adobe. If you look at my code, I have
[Code]...
View 6 Replies
Feb 5, 2012
I'm trying to draw PNGs onto BitmapData that is transparent.
I create my BitmapData like this (using ARGB for the color):
new BitmapData(width, height, true, 0x00000000);
And clean it by using the same ARGB value:
bitmapData.fillRect(bitmapData.rect, 0x00000000);
When I use copyPixels() to draw graphics onto the cleaned BitmapData, I get this result:
If I don't use ARGB for the BitmapData color, it works fine:
But I have to specify a solid fillColor, meaning I can't render what's behind the Bitmap.
How can I make my BitmapData transparent, but not have the above occur?
View 1 Replies
Dec 22, 2004
I am new to flash and I created a gallery that loads the pictures from an xml file. I was wondering how I could create the links to each picture dynamically from the xml sheet in a seperate movieClip named "menu_mc".
View 5 Replies
Aug 17, 2011
how to make a Flash Video Gallery that I can add new videos dynamically? just like how XML photo gallery works?
View 1 Replies
May 8, 2008
I'm trying to make a photo gallery that is dynamically controlled via an xml file.
View 11 Replies
Nov 19, 2010
I'm developing an app that needs to dynamically load in .png files as thumbnails for an image gallery. I have studied up on the bitmapData.hitTest() method for being able to setup an alpha test in order work around the .png bounding box issue, but have a problem.
I get an as3 error 2005, which OK I can understand in some cases, but it is pointing to a parameter that makes no sense at all. Here's the error:
ArgumentError: Error #2005: Parameter 0 is of the incorrect type. Should be type BitmapData.
at flash.display::BitmapData/hitTest()
at folio_fla::MainTimeline/checkAlphaForHit()
View 2 Replies
Feb 27, 2010
I am creating a map in flash cs4 with all the countries on it. I used photoshop for creating the map and separated countries. Now I imported all pngs in Flash and I want to give Mouse CLICK event and Mouse Hover on all pngs, but as the transparent pixels are overlapping the other states, it is getting difficult. So, I converted all pngs in movieclips and now then I broke up pngs. Now I want to delete all pixels having alpha 0 using eraser tool, as per the borders. And I have to do it manually for individual countries. So is there a way to remove transparent pixels from the bitmap data?
View 2 Replies
Jan 18, 2009
So I've been working on a Flash-based web portfolio for my sound design work, and I'm creating a gallery of images/sound clips which load dynamically (that way I don't need to recompress the swf file every time I add/remove a production). I'm having trouble with checking to see if files exist; for example, I want to check if a sound file exists, and if it does, set the alpha property of a symbol to 100%, and if it doesn't, set the alpha property of that symbol to 25%.
The code I'm using works fine when I test the file locally, but as soon as I upload the file and test it, the movie responds as if a file exists even when it doesn't, and I can't figure out why.
[Code]...
View 1 Replies
Mar 20, 2005
i wrote a bit of actionscript to dynamically create an image gallery based on how many images are in a given directory. as of now, i've got it to display thumbnails in rows. my next step would be to get these thumbnails to link to the fullsize images, but i cant figure out how to do that. my code is as follows:
[Code]...
View 7 Replies
Oct 9, 2007
i am trying to make this xml gallery that dynamically resizes according to the picture's width & height. the function resizer() is hardcoded with fix values. i have tried to assign it from the array like below but it works wierd, the border just keep increasing in size.
Code:
menuHolder["but"+i].onRelease = function() {
imageLoader.loadClip(this.path,gallery.imageHolder);
gallery.imageBorder.tween("_width",this.width,1,"easeOutExpo");
[code]....
View 2 Replies
Oct 21, 2009
Basically what I've got is a XML loaded gallery as a background for a web page. Now the problem I can't seem to work out is, I want to be able to define which pictures in the gallery show up in different sections of the website. For example -
homepage - images 1.jpg, 2.jpg and 3.jpg are accessible.
About Us - images 4.jpg, 5.jpg and 6.jpg are accessible.
and so on.
Similar to what happens on [URL] but without the gallery popping up. It's relay bugging me now.
View 6 Replies
Jul 3, 2007
I got another XML gallery thrown at me this week and am thinking of adding a new feature.When a user clicks on a gallery it will load the first image, and continue to load all of the images so they won't have to wait each time they hit next, as it would be in their cache. this link has been thrown around a lot, but I don't think this feature (which is an awesome feature, oh yes) has been addressed. Goto one of the galleries and wait for it to load, and then keep hitting next. The pictures load before you get there. You can catch up to the unloaded ones and reach a loader bar if you hit next enough times
View 4 Replies
Feb 10, 2005
[URL]
Click on the first and second thumbnail a few times so that everything is loaded (I didn't use preloaders etc for now).Notice the wipe when you click the thumbnail? I spent already a long time to create this :-)But now I want it to wipe out if you click another button, then wipe in again to show that new image etc... (like it is now, you have a white flash, really annoying).Here's my code that is on frame 1 of the timeline (I only have 1 frame in the timeline)
[Code]...
'navi' is the MC with all the buttons in it. 'vol01' and 'vol02' are instance names of the first two buttons. 'container' is an empty movieclip. 'wiper' is a white MC of which I change the width with actionscript = wiping effect.For now I load .swf files instead of jpg's, because when I put ("pic_01.jpg") instead of ("pic_01.swf"), it doesn't work. (edit: I found it, my jpgs were progressive...)
So basically what I want when the first pic is shown and you click on thumbnail2:
-wipe out image currently displayed
-load new image (pic_02)
-AFTER new image is fully loaded, wipe in to show this image and so on
What would be cool also is the following:
when you click button 2, load image 2 while image 1 is still displayed. When loading is finished, a white line goes from left to right, wiping out image 1 and at the same time wiping in image2.Note that there will be 4 of these galleries with +-80 thumbnails each...I read the transitions between external swf's tutorial, but I want to load a bunch of jpg's, and not make 4*80 swf's with each only 1 jpg in it...
View 8 Replies
Apr 22, 2005
Based on the Kirupa Flash XML Gallery, I tried to expand it as far as I could. Right now, it loads the images, generates buttons dynamically according to how many images are in the XML que, and each image is hyperlinked. I want to load in a swf file dynamically via XML into an another empty movieclip everytime I go to a new image. In another words if I have 9 images in my gallery, each image is assigned a swf file to load into another empty movieclip.
View 1 Replies
Sep 25, 2009
I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. is it possible to make an Array of Arrays so that I could load different Arrays for different image galleries? Is this somewhat how it would work? Lets say I were to switch to a section entitled 'landscapes' which we will pretend is the array "var a:Array = new Array();" for now.
[Code]...
View 7 Replies
Jan 23, 2010
I have made a gallery with xml, and my problem is that when the thumbnails are loaded they move on the Y axis and doesn't want to be in their original placed position. I am attaching a zip with my problematic sample to see what i mean.
Attachments: another_problem.zip (147.0 K)
View 2 Replies
Sep 22, 2009
I followed a youtube tutorial on how to create a fancy Image Gallery but when I got to run it I keep getting the following error : interface 'flash.events.MouseEvent' could not be loaded.
Code:
stop()
btn1.addEventListener(MouseEvent.CLICK,play1);
function play1(event:MouseEvent):void{
gotoAndStop("img1");
}btn2.addEventListener(MouseEvent.CLICK,play2);
[Code] .....
View 4 Replies
Mar 29, 2006
i am using a kirupa XML gallery (v3 i think) and i want to keep the loaded image on the screen until the new one is completly loaded. Is there any way to transfer one loaded image to another movieClip or I have to do it all the way with 2 movieclips objects and use them alternatively!
View 1 Replies