Peeling a webpage is very fun to do and it'll draw attention from your users. You can use to it place advertations, or draw attention to a hot article on your own website. Here I'll explain how to create such an effect on your website. It uses Flash and JavaScript, and is really easy to install. A live demo for the peeling effect can seen when you fully read this article.
I received this package from the admin of musicincontrol.nl, a great dutch music website.
If you read this, you should be able to see the peeling live and working in the top-right corner of this page. When you mouse-over the image, it'll expand revealing more information.
To achieve this, simply execute the following steps to embed a peeling corner on your website.
The JavaScript
Select the code above and save it as peel.js (Download ).
Now edit the file with your favorite programming editor (Notepad will work too). Search for the following code line:
Change the value between the quotes (in this example it is "http://www.marcofolio.net/") to the webpage you want your corner to re-direct too, when people click on it. Save your peel.js file.
The images
As you can see in the JavaScript code, this effect uses two images.
small.jpg A 100x100 px image, used when the peeling effect is inactive.
large.jpg A 650x650 px image, will be shown when a user mouse-overs the peel.
In this example, I'm using this small.jpg and this large.jpg. Create your own images that will be shown in the peel.
The Flash
This project uses Flash to create the actual effect. To download the Flash files, look below and download the attached source files.
Upload files
Now you're all set to upload the files to your web server. Upload the following files:
peel.js
small.jpg
small.swf
large.jpg
large.swf
to the following directory:
http://YOURDOMAIN.COM/peel/
Installing on your site
Now add the following line to your webpage. Make sure your source (src) direction is correct.
Well, that's about it. Refresh your page and you should have a nice peeling corner that you can update by just changing the images "small.jpg" and "large.jpg". If it doesn't work, you probably didn't set the paths correct. Please check and make sure it's the right path. Additionally, you can change all the parameters in peel.jpg, beginning with "jaaspeel." (Readme file included).
I'm not the one who created the code and I don't know who did. Please contact me if you know / are the programmer of this code.
Attached files:
Download Peel Package
Troubleshoot
Due to some of the comments, I created a package that should work when you upload it. You can view how it should look like in the example/demo page.
Attached files:
Download Peel Troubleshoot Package
Flash Source
I'm not going to modify the code anymore. If you want to have a go, download the Flash source files and play around.
Attached files:
Download Peel Flash Source Files
Where are you going to use the peeling package for?
UPDATE: No target="_blank" peel
As many have requested in the comments, they want to change the FLA to make the target="_blank" dissapear. As I said before, I can't do this, since the FLA was not mine.
Erwin found a solution for this problem: WebPicasso has a free peel away ad in the form of a WordPress plugin. With some modifications you can make it work "stand-alone" and that one doesn't have the target="_blank" addition. Enjoy!
I re-named the library folders, and library file names.
In Scene 1, frame 44, I changed the actionScript, line 10, from "getURL(_root.ad_url, "_blank");" to "getURL(_root.ad_url, "_self");"
In the library, in the "Movies" folder, "mv_sprite10", I created Layer 5, and turned Layer 1 into a guide layer.
In the library, in the "Movies" folder, "mv_sprite4", I created Layer 4, and turned Layer 1 into a guide layer.
On Scene 1, I added a layer called "New Layer". This is the layer that needs work. The shape tween is not exactly aligned with the other layer tweens.
Please contact me (use the contact page) if you managed to fully fix the file and make the target=_blank work.
Update
If you're using more Flash files on the page, you might encounter a problem with the peel showing under your Flash files. Steven kindly provided the following fix. Simply leave the peel banner "as is" and edit the code around the other Flash files you're using in the following:
Change yourflashbanner.swf to the location of your Flash file and you're done. Thanks Steve!
Update
For those people that want a page peel banner opened in the same page instead of another, Romesh shared a script where you can achieve this effect. You can download the script here.
Simply modify pageear.js around line 41:
// Browser target new (new) or self (self)var openLink = 'self';
I work as a full time web designer and thought i would give this a try as it would be a quick and easy way to introduce this effect, as I am a flash-aphobic if there is such a phrase.
I have used paths as supplied, relative paths, absolute paths and placed all files in same dir. I have even tried everything directly in the root dir but the swf is not even loading. I have downloaded twice as thought a file may have become corrupt. But to no avail
Obviously it has worked for some people - just not for me.
WOW!
Thanks for the free page peel Marco. Everywhere else I looked wanted to charge, and here you are giving it away for free.
Because of that I would like to make a donation. Please contact me thru my contact form on my webpage so I can do so.
I dont know what i was thinking, I just followed the instructions to place link to js file in tag, which was the problem. If I had been half awake I would have ignored it and placed it in the BODY. So much for being a pro eh.
Love the effect, if we use it on our site I will be more than happy to make a donation.
Thank you for your reactions. These comments show that there are people out there that really like my work. That is enough motivation for me to keep on doing this. No donation is needed, thanks anyway .
Hi Marco,
I am so close to getting it all to work. I am testing it on my computer before uploading, but I seem to be having a slight problem or two. I have saved all files to a folder, redirected all links (basically removing /peel/), and edited the re-direct url. I modified two images to replace the blank ones from the zip file, added the proper code into the HEAD ( although, looking at your page source here, you seem to have it in BODY... , and it looks like a comment???). When I open my index page, I see the corner rolled with my image, but it won't roll, and the url wont redirect. So very close...any ideas?
Strange this about this script, is that it works in the HEAD and sometimes in the BODY. In Firefox it works on both, IE6 only when it's in the BODY. Putting it in the HEAD is better for performance, but sometimes it doesn't work.
Are you sure you made the proper changes to peel.js? If you see the "small.swf" (the small rolled image) and you mouse-over it, the "large.swf" should show up.
Did you also change the jaaspeel.big_path and jaaspeel.big_image in the .js file?
If it still doesn't work, try uploading it to your webserver. The .swf file tries to load the .jpg file and sometimes your localhost can see this is an "illegal operation". When it's online, it should work.
I have tried everything I can think of, including loading all the files freshly unzipped into a folder named peel, placing the in my index code, uploading, and.....nothing. Tried hard coding too, and nothing. I can get the corner to start to roll when all files are on my comp, but when I upload, nothing.
I edited my post and added a "peel_troubleshoot.zip". When you upload everything in that package in any folder, it should really work (Localhost can give permission problems). When it still doesn't work on your website, it can be your host that doesn't allow to connect the Flash with the JPG files.
Working perfect but I would like to open the link in the same window not in a new one. Is this possible and how? I looked at the java script and tried a few things but I can't get to work.
Excellent, well done and thanks for making it available FOC.
As you are giving it away, how about also making flash source available?
Alternatively, how about adding a parameter which will allow me to determine whether or not my link opens in a new window OR replaces the page I'm on.
I agree with TS, if you could make the flash source available that would be great..it would also mean we could resize the peel too.
Unless there is anopther way of resizing the peel?
hi,
i have created a page and i use peelawayad file which is in flash. i was already using two div on home page which contains flash movies. but now when i placed peelawayad flash movie on home page. it appears on bottom of both div layers. i tired my best with stylesheet. z-index and many other tricks which i know best. but still not able to sucess. can someone help me to getride of this issue. help would be appriciated. thanks
here is the current site link which has the flash movies embeded.
http://www.visionetsystems.com/test/
Source Files are as under:
http://board.flashkit.com/board/attachment.php?attachmentid=64690&d=1196368726
@TS & Jimbob:
Right now, my laptop (with source files) has crashed and will return next week. When I have it back, I'll release the source code and you can play around with it.
@shahid hussain:
You're right, I had this problem too and wasn't able to fix it. Did you try putting the "peel code" (peel.js" in the section of your website?
I'm sorry, but I really don't have any clue. Please come back if you found the solution!
Actually I don't need the source now...to reduce the size of the peel without distorting you just need to keep the correct ratio between the large.jpg and the .swf file.
shahid hussain - I had similar problems with other flash on the page and this is the reason why I reduced the peel size so there is no overlap.
@TS & Jimbob:
Right now, my laptop (with source files) has crashed and will return next week. When I have it back, I'll release the source code and you can play around with it.
Thanks Marco, that will be great, look forward to your releasing flash source.
hi,
i have created a page and i use peelawayad file which is in flash. i was already using two div on home page which contains flash movies. but now when i placed peelawayad flash movie on home page. it appears on bottom of both div layers. i tired my best with stylesheet. z-index and many other tricks which i know best. but still not able to sucess. can someone help me to getride of this issue. help would be appriciated. thanks
here is the current site link which has the flash movies embeded.
http://www.visionetsystems.com/test/
Here is the Source Code i have been used in the website
Congrats Marco,
The troubleshooter was the magic bullet. I downloaded both zip files and tried both...no luck on the original, but the troubleshooter worked like a charm. Now I just need to figure out how to modify my JPGs so I can replace yours with mine.
it works great except when i change the .js you supplied to make the link open in the same page, i also get the transparent fold when i hover. iv tried all the tricks mentioned here and cant work it out.
any help would be great
Thanks again
Many thanks for making flash source (large.fla) available.
Modifying large.fla and peel.js to cater for target frame for any ad is a simple step. However, it seems the act of loading the source into Flash CS3 Pro and re-publishing it (as flash 8, actionscript2) upsets the masking routines such that reflection of the ad is lost during the peel. The masking to give the relfection is beyond my flash skill level at present, Should anyone else with a more detailed understanding of such flash techniques be interested I'd be happy to colaborate?
@ TS - you're right. I believe the mess up is happening when the .swf is published to a newer version.
Okay, I don't think this has been said yet so here we go...since something is messing up when people are updating the .fla and .swf to make it open in the same window, I think this is what can fix it...
Marco:
In the Large.fla you provided, on frame 44 in the Action Layer there's this code:
bt.onRelease = function ()
{
getURL(_root.ad_url, "_blank";
};
I think all you have to do is change "_blank" to "_top" , and then republish the .swf
Is there any way to donate money for all this effort, Marco? Even sending you a gift card or something...man...I'm very appreciative of this resource. Please let me know.
That's ("_blank" to "_self" what I did with the updated version you can find in the comments. I don't know why it's "invisible" now. Do you have it working correct? If so, please contact me and send me the correct file and I can post it here again.
Like I said before, there's no need for a donation. Reactions like you give are enough "donation" for me! Just keep on checking on this website or subribe to the feed for new articles will do it for me .
I downloaded the source.zip again, and checked the large.fla again...frame 44, Action Layer still says "_blank". Not sure which file you are referring to...?
I can change the Action Script in the large.fla for you, send it over to you, and then you could republish it via your version of Flash Pro. I think that would fix the problem, since it seems to be an issue when the large.swf is republished in a newer version of Flash Pro...thoughts?
No, I was referring to this large.swf that I placed in the comments above.
That one works with the "_self" thingie, but for unknown reason the peel is transparent. If you can make it working (without transparent peel), that would be enough donation for me .
Yeah, I'm sure about the donation, I don't even have a PayPal account (yet ).
If you have the script on www.example1.com and wish to include it on www.example2.com then do this:
1* open peel.js and change peel/small.swf to www.exaple1.com/peel/small.swf (change 4)
2* upload a crossdomain.xml to your peel folder.
3* Call the java and your Done
First off, thank you very much for the script and flash source, this is an excellent resource.
Has anyone found a fix for the problem TS reports with lost reflection?
I just tried this in Flash 8 and get the same result.
When I open large.fla in Flash 8 and Test Movie, the peel reflection is lost. Get the same results in CS3. At first I thought it was a CS3 issue, but I get the same results in Flash 8.
Marco, what version of Flash are you using to build/publish the original?
I'm glad to tell you that I fixed the problem inside the fla. I did it quickly and its not perfect yet (the shape for the mask was bugged and for a unknown reason one layer was missing) but I will contact Marco when I will have the time to do the shape correctly!
As far as I can tell, the issue of alignment was never addressed. The image loads over the scroll bars, initially, then it self corrects. the alignment on the right is not correct, does anyone else see this?
Has anyone been able to take the flash source files (large.fla and small.fla) and reverse them successfully so that the peel will be at the top left hand side of the page instead of the right?
The flash and javascript are displaying fine but no matter what images (small.jpg and large.jpg) I upload, it will not display them in the ad.
I note that you mention that some hosts do not allow images to be displayed in flash - can you elaborate?
Hello Peter...i had the same problem until i noticed that i have inserted the script within a table...make sure it's inserted in the very top of the page...take care
have a look here http://www.pentruacasa.com/
First of all. Very nice app!
I have few question:
1) Anyone managed to re-export those source fla-s?
2) How to implement an ad-impression counter on mousover event.
thanks for the great code and free flash. it took a minute to figure it all out but i got it. the troubleshoot folder helped the most.
heres what i did to get it to work:
1.download the troubleshoot zip file to my documents
2.copy and paste all the files from that folder and drop them on the desktop
3.upload both small, large, and the peel file AS THEY ARE to make sure it will work with the original codes. (dont alter the files... upload the files given to you as a test)
4. start with the page u want to peel and edit the html anywhere. insert this code
(the original instructions have "peel" twice and was not working for me so i removed one)
5. pushlish and view.
6. this should work for you.
7. once you have confirmed that it works... now u can alter the open the "peel" file that is on your desktop thru notepad and alter the info. (u have to find or make JPG'S. one has to be about 100x100 and the other 650x650
and dont forget to change the "path" (jaaspeel.ad_url = escape('http://www.marcofolio.net/') at the top of the code to the page u want the use to go to
8. once you have mastered this... u can make as many peels as you want. use the same trick and change the pictures and paths. i made 4 or 5 different peels for my site and they all work.
http://sugsworth.googlepages.com
p.s leave me a message if this almost makes sense to u
Great script (did you know that there are people out there charging money for this btw?). There's only one problem: The peel down appears UNDER other Flash content. So if you have a Flash element like a video player etc anywhere close to the top right, it'll look really bad when it peels down.
Does anyone know why this happens and how to make the peel appear on top of all content?
I have a problem.
Mi site is under flash.
When i add the peel to mi start page, it stay under the flash. I cant send the flash under the peel.
sorry but my english is really bad
I have turn crazy with this. Any help is greatly appreciated.
Thank you very much.
P.D. German creo que puedes solucionar tu problema de que no se vea en el navegador I.E. cambiando de lugar la etiqueta; , situala inmediatamente detras de la etiqueta o detras de la etiqueta
mucho mejor.
No me creas compruebalo espero que te sea de ayuda.
Hello Everyone I added this Page Peel it is awesome but in my website i have flash banners ide:' /> when that peels off it goes below the Flash Banner How to make the page peel appear above the Flash banner
I've noticed a lot of people asking the same questions about it peeling under other flash content.I'm also having this problem. I've read the entire board and I don't see any answer. Has anyone come up with anything yet?
Also, Thanks Marco, this is a kick-ass script all in all.
[quote=chris]I'm glad to tell you that I fixed the problem inside the fla. ---
Chris, by chance could I get some information about the missing layer or maybe a copy of your working FLA's. I am having the same issue as you had described with both FLA files. Thanks Dan
Here's how you get this script to work in firefox, ie6, ie7, & opera: move the script that points at peel.js into the body rather than being in the head. Not exactly sure why this works, but it does.
I still can't figure out how to make a new swf file from the fla source without the peel effect being transparent. Consequently, I'm trapped with the out-of-the-box functionality, which sucks.
Greetings from germany. I love the script, it was integrated nice and easy. But here are my two cents: I'd like to have the possibility to choose wether the link of large.swf opens in "_blank" or "_self" so I could use the peel script for announce some new features of my own homepage (self) as well as link to other pages (blank).
Any chance to get that feature in the future?
Thank you for your effort!
I've read to make the script open in the same browser window, you have to open the "large.swf" file and change "_blank" to "_self", which I fully undertand. The problem is what problem are you using to open the "large.swf" file. As NoteTab Pro has problems opening this file because of binary code, and notpad wont open it correctly either.
Rather than waiting for the user to notice the peel and hover their mouse over small.jpg, is there any way of making the peel script run automatically when the page is first loaded? Then time out after a few seconds and return to small.jpg?
I ve also noticed a lot of people asking about using page peel to go over flash banners, im having the same issue, i wont be able to convert my 'banner' to gif as is displays the website name/logo. So how can i resolve page peel to go over the banner???
Just a quick note to say thank you Marco - fantastic work!
Also thank you for the heads up on how to make the link open in the same window by editing the large.fla source file. (for anyone who missed the info its post 62.194.187.xxx).
It appears iv got the same problem with transparency, looking above I can see that we are waiting for a Flash Guru to help us out - thank the internet!
I wait with baited breath!
Hey, this is a GREAT resource, and thanks for making this free. For anyone who ran into the problem I had with using flash banners or menus showing on top of the peel, I found an answer for it (at least on the pages I use it for).
Go to the flash source codes that are showing on top of the peel. Find the line that says and change it to
It is a real problem with the transparency in the end you need a flash person to customize it and the results are great look at this example, the sound stops as you leave the peel, it is a pitty that it only works with a total customized version but anywayz here is the result.
www.flyingpig.nl
IE works fine when you move the script into the body but for the life of me i can't get it to work in firefox. Firefix will show the effect fine but the images are blank?
xxBUCKSxx
-
_self version of the swf files I need the link to
2008-10-18 13:49:54
Hey Marco,
fantastic script many many many many thanks mate looks so cool
if possible please could you send me a copy of the swf file with the _self command in there, as discussed in a previous post, I aint got flash unfortunatly, so I cant make the changes
yea i have the same problem.. that it opens in a new window... when i downloaded the new large.swf as mentioned above it opens in the same window.. but with the same malfuntion that the feeled-over effect is all white instead of filled with the large.jpg image.
can someone upload a working large.swf that opens in the same window?
Thanks for this amazing resource. I've got it working for the most part, but...
The peel is folding over my flash navigation. The actionscripted buttons under the folding area aren't working anymore. weird.
I've noticed a flaw in the peel. If you place your mouse just to .. and outside .. of the peel, and then just move the mouse over onto the peel, it locks up. You have to just touch it. Sometimes it just locks up on its own.
Rather than waiting for the user to notice the peel and hover their mouse over small.jpg, is there any way of making the peel script run automatically when the page is first loaded? Then time out after a few seconds and return to small.jpg?
Hi I have a problem with this script, to see the results in my page I have to right click the small.swf (that it doesnt appears) y select "Play" Then i can see the result... but I want this thing to run alone (not clicking and putting play always...)
First of all, thanks a lot for this great script (on top of it, it's completely free, WOW!).
I'm using vbulletin and would like to know if we can insert the script into the forumhome.php template.
I'm asking because when I test the script on my forum locally, by inserting this line into that template, it works very well: (actually worked on first try!)
Inserted after and before
But when I want to test it on my real forum, nothing shows at all! It is exactly the same code and all the files are located at the same place. I just don't get it. I triple-checked and checked again and once more, found out that everything is the same. Why does it work locally but not online?
I almost spent 6 hours trying to figure this out but did not find the solution yet. I'm using Firefox 3.0.5 (will troubleshoot IE later, if so).
Any comment saying, that Marco did not create this script is deleted? WHY? If you can not recompile yourself the code in flash, how did you know first place, how to make it. Please explain
I've rewritten the javascript for this to use the jQuery library, and worked out a way to solve the problem with the transparent animation... If anyone is interested it's at:
http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/
Hi,
First of all Thanx, for supplying the script for free..
I have a small problem what i want is i want 2 display flash in place of small.jpg and 2nd flash in place of large.jpg.
Great article Marco, well done fella. For all those looking for an alternative solution, try Swish Max 2. Commercial app that does what Marco has shown here can be done if you put in a small ammount of effort.
Follow the instructions and you wont go far wrong
I just recently started playing with this script. I have been a Flash programmer all the way back since Flash 3. I have also taught Advanced ActionScript at a community college.
I had a look at your large.fla source file. I'm not sure what is going on, but it seems to be a little corrupted or something. Go to the library, Under MovieClip there is a file called "sprite 10". When I click on the shape tween, or the stage for that matter, very strange things seem to happen.
Also there seems to be problems with "sprite 4".
Also, it seems that on Scene 1, there is a layer missing between "Layer 9" and "Layer 8"
I recreated the Layer in "sprite 10". And put a layer in between "Layer 9" and "Layer 10" called "New Layer". That seems to do the trick.
It is not perfect, and the shapes are not aligned exactly. If some one with more precision want's to take over from here, they can touch it up.
In the mean time, where do I submit the new large.fla source file?
I'ts proven that marcofolio is not the author of the source file. Many thanks for the new file, please e-mail me the source and I'll publish it online.
The script works for me, but for some reason my images are not lined up properly, nudged too far to the right (both large.jpg and small.jpg). Any ideas?
Open the images with Photoshop, or Fireworks, or any other graphics editing program. And nudge them one pixel at a time, whichever way. Save, test. And repeat until they lineup.
I have the same problem. My images are 100 X 100 and 650 X 650 per his instructions but his images are much smaller than that. Are we supposed to make them smaller even though the peel.js is set to larger file sizes?
demo100
-
I have a little problem in my website using this s
2009-04-11 18:28:17
Thank You for this Amazing Script.
Everything works fantastic, but I have an flash animation (I'm gonna call Flash1) on the top of the page next to this script,so what happen is that when you move the mouse over the peel**flash in the corner, the big flash goes underneath (below) to the Flash1 so does not show the large.jpg of the peel, ...
I was trying to make my flash1 like always stay on the bottom, but ... I'm not a programmer guy, ... so I was playing whit the peel.js to try to make this like always on Top of the top, but i cannot do it.
Romesh Logan
-
Peeo off page only in IE, but not in FF
2009-05-19 14:22:52
This peel off page and the link to another page works only for Internet Explorer and not in the Mozilla fire fox. May I know how could this be rectified?
Wonderful script - but why is the flash resizing my images?
I have set the size to 450 x 450 pixels and uploaded an image in the exact dimensions, but the image is resized?!?!??!
In my large image I have created a black box 100 x 100 pixels but in the flash the box is 60 x 60 pixels..... Strange?!??!
1) I noticed in your instructions that you say the images need to be 100 X 100 and 650 X 650 and the peel.js file has those settings but your images you use are smaller than that.
When I upload your images with the SWF files and peel.js files you furnish, the images align properly but when I upload my 100 X 100 and 650 X 650 images, they don't align properly.
What do I need to do to get the images aligned properly?
2) When clicking inside the peel, a new browser tab is launched and I don't want that. I want the new page loaded in the current tab.
Thanks again for sharing! This is awesome and I'll be ecstatic if I can figure out how to get the images aligned properly.
Is it possible that this is happening because the source flash is not really compiled at 100 X 100 and 650 X 650 and therefore, because we are using those larger image sizes, our images are being shoved off to the right so much?
I'll try using the same file sizes as the developer uses in his images and see if that works.
In the meantime, I wish someone would update the flash source files and recompile the SWF so they match the image specs the developer indicates on this site.
K - Finally got it to work for me. I changed my small image size to 75 X 75 and my large image size to 500 X 500. (If you use 73 X 73 like the developer uses, your image will be 2 pixels off towards the left which you don't want.)
Also, you need to keep the peel.js file set to 100 X 100 for the small and 650 X 650 for the large or else image distortion happens.
I don't quite understand why it all has to be this way but I guess if I saw the flash source (and knew flash), I would.
Hope this helps others try to get this working on their site.
Montgom3ry
-
Embeded media stops when peel is released
2009-09-03 22:03:01
Thanks so much for the awesome script....
I have used the peel on two websites and when the peel is selected the embed media both the video on http://www.mctraffic.org or audio on http://www.ricksousley.com/sound/home.html stop when you click the peel and resease it. Any ideas??? Any help on this would be great I can't find it anywhere.
Hello, has anyone had any luck exporting out the Small.fla ? I was looking at making the Small.swf peel a bit bigger, however based on the original when exported from Flash CS3 pro , in either Flash CS3 Doc or Flash 8 Doc, it messes up the animation without me touching anything.
I had no problems changing and exporting the Large.fla ..
The code does not work in the latest Safari browser 4.03
please tell me how to remove the purple box.
This is easily seen by even displaying thsi web page, or the exampel page in the Safari Nrowser
Don't know whether this will be the case with others.... but after hours of playing around to try and get this effect to work I suddenly realised that I'd uploaded the .fla files and not the .swf !!!
DOH!
It's because I downloaded the source file package from here and not the Peel Package!!
Maybe you have too??! Check it out working at http://www.barneyashworth.com
Hope this helps some people because of my idiocy
And thank you soooo much for making this script available it is very very kind of you!
Marco,
Thanks for the peel. I love it.
I just noticed that it doesn't show up in IE. (Imagine that!)
Beautiful in FireFox, Safari & even Chrome. http://www.omoriginals.com
Is there a way to make it working in internet exploder?
Thanks.
Hi, all
Very nice work here but i want modify this file small.fla to 160x600px? ps. i change the size in .js file but when i do that, this not work the peel is still 100x100. So, i know i`am not understand flash very well but here is my question How i change this small to be 160x600. Thanks in advise !
Thank for the code - it is excellent, I had the same Problem with the peel going under existing flash movies - Its taken me all day, but I found the solution
you swf files that are already on your page need to be embedded - unfortunately this can cause extra padding for some odd reason underneath the flash files, again for some odd reason you just need to state a background colour like the example below - no idea why but it works
example here - forgive me this site is not yet live and I haven't done the ad yet :-)
http:www.bluepanda.co.uk/index_tester.html
Hope this helps - I have only tested it on mac - safari, firefox and pc - firefox and IE but seems to work on all
Thank for the code - it is excellent, I had the same Problem with the peel going under existing flash movies - Its taken me all day, but I found the solution
you swf files that are already on your page need to be embedded - unfortunately this can cause extra padding for some odd reason underneath the flash files, again for some odd reason you just need to state a background colour like the example below - no idea why but it works
example here - forgive me this site is not yet live and I haven't done the ad yet :-)
http:www.bluepanda.co.uk/index_tester.html
Hope this helps - I have only tested it on mac - safari, firefox and pc - firefox and IE but seems to work on all
Ok ... dealing with a couple of things here ... Works in IE but my images dont show .... Images show in Firefox ... but dosent work ... any help would be greatly appreciated
Heya, I done all the Steps, but when i went to the step about yourdomain/peel/ I didnt get it. When i eneterd that in it just kept going to the hompage. Do you mean upload it on a post?...
hi i would like to ask you something. I tried to modify the flash source (large.fla) and change the target .The problem is that we can not see the glass effect over the page peel. The produce large.swf seems to be incorrect.I have downloaded the swf file from above, and it's working correct.
Hi,
does an inverted version of the large and small SWF file (-90°) exist so I can place the corner up on the left ?
Right now, here is the result : http://www.surlapla.net/peel/
By advance thank you all for your help.
Kind regards, Béatrice.
You can discover how to have your Corner Peel Ad in ANY corner you like and also how to have the target web page load in the same window at www.cornerpeel.net.
Works great! Set up folders as instructed, changed large.jpg to the message I want to use, directed to another site, and it works without any problems. Thank you!
Must add that I did have an issue with it not displaying in IE. Placing the script, as noted several times on this page, at the bottom of webpage (right before /body) will fix the IE problem. Or should I say - it did for me. Thanks again for everyone's valuable input and resources.
I used this code on my website and it looks great in Safari and Firefox, but isn't working in IE8. I noticed similar posts in this forum regarding the same issue. I looked at this page on IE8 and the peel works fine. Am I missing something? Is there some sort of line I need to add or subtract in order for it to work in all browsers?
hi! how can i change the image?i tried to put a new image and apply it to a path but still my image wont display,any help please?
email me: skhemlani_41@yahoo.com
Great script, but it's amazing that after reading every single comment, no-one has managed to figure out the 'transparent fold' error after compiling the large.fla to swf.
This basically means there's no point even having the source code at the moment.
I will make certain that if I figure it out, I'll come back and post the solution.
Thanks!
Ooops, I realise now that 'Rusty' had fixed the transparency issue... now I am wondering how to modify the alpha/brightness of the reflected image. It's very difficult to decipher this .fla... I can't even find where the image is being rotated/flipped.
Thanks Champ, works 'out of the tin', easy to configure.
I've changed the image to reflect the page I'm using it with and had no problems other than pathing the JS script which didn't take too long to figure out.