Flash 10 :: Out Of Bounds Expandable Banner?
Dec 30, 2010How is this kind of expandable banner done? [URL]
View 0 RepliesHow is this kind of expandable banner done? [URL]
View 0 RepliesI have never done an expandable flash banner before and I am so stumped. An example of what I mean is here (top bwm ad): [URL] The main problem I am having is how do I get that expandable piece to show through like that? If someone could point me in the right direction
View 14 RepliesI need to create an expandable flash banner. I have tried using the DartMotif Tutorial and installed the plugin etc. However when i get so far it doesn't work. I've done the tutorial about 3 times now and still get stuck on the same part.
I was wondering if there is another way of creating expandable flash banners? Or, if anyone has a different tutorial. The tutorial i'm using was downloaded from [URL] called Motif Expanding Ad Tutorial.doc.
Later this year I will be producing a few expandable banners for a company. The banner is used to attract people and have them suggest candidates for a competition.I suggested the option of possibly integrating an application form in the expandable banner, which after submission should land the user on the landing page of the site.
But after I suggested this, I started thinking:I can't recall having seen a form in an expandable banner for a long time. Because of this, I assume the use of forms in banners might be considered a big no-no. If this assumption is correct: I am trying to figure out why this is. I understand this will be partially off-topic, since the rationale might be in the realm of marketing, rather than programming.
Programmatically:Are there typical security or other concerns that keep professionals from using forms in banners? I'm thinking maybe csfr attacks, etc. here.Usability:Is using a form in an expandable banner a typical no-no from a usability perspective? I'm thinking maybe banners accidentally closing when filling out the form, or too little space to inform the user of the purpose of the form perhaps?
Maybe it's a combination any of these categories? Or maybe none at all. I'm kind of trying to figure out whether my assumptions are correct, and why. Hopefully someone can shed a light on this matter from the perspective of any of the three categories.
does anybody know how to make a flash banner ad expand over content?
example: [URL]
if i have two different fla files - one unexpanded fla and an expanded fla - how would i make this work on a webpage?
I am being asked to create an expandable banner for a website. They want an ad to start at 175x300 and automatically expand to fill the webpage when you enter the page. Then have a close button. I have basic flash skills and have never created this before.
View 1 RepliesI am currently working on a website, where my client asked me to place a Banner which expands on Mouse Over. Similar to this website [URL]. When we hover on LondonTown.com Banner it just expands and show rest of the Ad.
View 6 RepliesI am trying to create an expandable banner ad for my work, but I am not sure how they even work. What size do I make the canvas, the expandable size or the original banner size? Does the original banner size target another swf? I am just confused how the, say 300x250 banner, only shows that size on a site, without showing the expandable part...
View 0 RepliesI need some tutorials or help with this. I've been trying to figure it out, google for step by step with no luck. 960x30 ad to expand to 960x300 (sometimes possibly two or three .swf that are 300 that will interchange when user comes back to the site).We need open and close buttons with clickTag on the 30 and clickTag on the 300 work with APT server.
View 0 RepliesI recently received a project to do an Expandable banner that requires to have 3 videos inside. Now, the only video banner that I've done before is a Polite video MPU with only a single video inside, with the Eyeblaster. So Is this even possible to do? I've never done an expandable banner before let alone knowing if its possible to have 3 videos inside.
View 4 RepliesI have been in the print world for a while and flash has changed quite a bit. I am interested in learning about rich media and expandable banner ads.
View 4 RepliesI'm having problems with the following code and need to merge the 2 following code together.
on(rollOver) {
getURL("javascript:expandCreative('ContainerDivID' );");
gotoAndStop(2);
} on(rollOut) {
getURL("javascript:collapseCreative('ContainerDivI D');");
gotoAndStop(1);
}
on (release) {
if (clickTag.substr(0,5) == "http:") {
getURL(clickTag, "_blank");
}}
Need the 2 following as above into one working code.
I'm trying create an expandable banner that when expands plays a video that has play, pause, mute buttons and a seek bar.
I've successfully created the video player and converted it to a symbol and it works when I copy it into other flash files so I know it's the banner that troublesome.
The problem is when I use it in the expanded part of the expandable banner I can't click on any of the buttons. I can see it's working as the video is playing and the seeker bar is moving. It's almost as if there's an invisible button over the top (the hand icon is visible) stopping me from hitting the buttons of the player.
The code for the expanding banner is very simple (see below)
on (rollOver) {
gotoAndStop(2);
}
on (rollOut) {
gotoAndStop(1);
}
I'm interested in learning more about Rich Media banners (floating, expandable, banners with video, and so on...).I've researched everywhere, and wondered if anyone knows how to pull this stuff off without using things like eyeblaster and dart motif. I know every site kind of has their own requirements, but where do you start?
1. I know I could design and create something that would function using transparency, but what about when you hand the banners off to the website you're advertising on? Do they just know how to implement an expandable or floating banner just by giving them an SWF file?
2. What about video? Most sites have like 20-30k file size limits. Do you have to host the videos on a different server and just pull the video in separately?
i need to make a expandable banner pushdown the rest of the page, can it be done in actionscript 2.0 inside the .FLA??? or i need to do this with javascript?
View 1 RepliesI'm trying to make an "Expandable Banner".The ad is supposed to act like this for example:I have 200x200px with the mouse out and on the rollover it becomes 400x200 aligned on the right.
View 3 RepliesI'd like to create a expandable flash file that lays over html content. Here's what I am trying to figure out how to do. I have a client that I made a flash banner for that has flash map that you can interact with which I loaded in as an external flash file. The client would like the map bigger for better viewing, but currently only the US map and not the whole world, so what I would like to do is make a button that expands just the US map with locations and add some rollover interactivity, but it would have to lay over the html content. So currently my flash file is 682 by 201 placed in div on html page, I'd like to expand out of that box to larger map system.
I've seen this expandable box thing in Flash Ads, but not just for regular content. Here's a really good example of flash expandable which would similar to what I would like to do just using on onclick so it stays and onclick to close. I've seen a lot of google ads do this to lately. I'm using the CS4 products. I've tryed making my original document the full size for instance, 682 by 501 and loaded that into my div, but when played, the flash is resized to fit in my div space of 682 by 201 and there is no expansion over html content at all.
I'm new to the forums. I want to learn how to make expandable websites such as the ones below that adjust according to the window size. [url]...
View 5 RepliesI'm trying to remove children from a movie clip upon user interaction but it's saying "the supplied index is out of bounds" - however, I must be missing something because it doesn't seem like anything is out of bounds. This is my code:
Circle.as:
for (var i=0; i<3;i++){ //this number should be based on the number of children found in the XML
[code].....
I have a "circle_mc" movie clip and its registratoin is in the center but it moves and works fine but i dont want it to go off the stage half way I want it to stop before it goes off
ActionScript Code:
circle_mc.onRollOver = function() {
this.dx = Math.round(Math.random()*Stage.width);
this.dy = Math.round(Math.random()*Stage.height);
this.onEnterFrame = moveIt;
}; function moveIt() {
this._x += (this.dx-this._x)/10;
this._y += (this.dy-this._y)/10;
if (Math.round(this._x) == this.dx) {
this._x = this.dx;
}}
I have a large movieclip (2336 x 1752) and a stage of 800 x 600. I want to be able to drag the movieclip around the stage so no white is visible:
minimum x before I get whitespace: -1536
minimum y before I get whitespace: -1152
maximum x before I get whitespace: 0
maximum y before I get whitespace: 0
I have tried this:
Code:
var mcBounds = new Rectangle(-1536, -1152, 0, 0);
mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
mc.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
[code]...
But it doesn't drag at all...when I try it just moves it to it's maximum position and stays there.Is it because the rectangle can't have negative values?
If an object exists outside of Flash's stage boundaries, is on the Display List, and is visible, is it causing a performance hit from Flash rendering it? In other words, does Flash render what isn't seen?
This leads me to believe so:
http://stackoverflow.com/questions/170203/how-do-you-make-flash-not-render-an-object-on-the-stage
I'm trying to draw a gradient in Flash using beginGradientFill and drawRect, but when the rect being drawn is partially outside the bounds of the parent, the gradient isn't drawn at all.
For example, consider the code below:
function testGradient():void {
var g:Graphics = container.graphics;
var width:Number = container.width;
var height:Number = container.height;
[Code] .....
When the rectangle being drawn lies within the bounds of container, everything works: However, if the rectangle lies outside of the bounds of the container, the gradient isn't drawn at all. For example, if the code is changed to:
...
var x:Number = 10;
var y:Number = 10;
...
Then the gradient disappears: Short of doing the math required to draw the box inside the bounds of the parent (and fixing up the gradient so it looks correct), is there any way to deal with this?
I have a flash file, which's dimensions are 500 px by 500 px. That's how I want it. However, sometimes something happens in the flash movie, causing a movieclip to extend outside the dimensions (which I need it to be seen by the user). Im putting this swf into an html file. I definately know there is a way where those out-of-bound movieclips can appear (inside a browser), overlapping other html elements, but I forgot how. Well, setting the wmode parameter to transparent will cause the movie to become transparent, revealing whatever's underneath, but this doesn't solve my problem. I don't want my movieclips to look "cut" when they happen to pass across my bounds. Probably the DIV tag is related here. I know that the cheapest way to solve this is by setting the movie dimension to something like 999 by 999. But I dont want to do that!
View 3 RepliesI've been adding and removing objects from my stage. Just when I think one part is fixed, another breaks. Basically, I'm getting the following error -
RangeError: Error #2006: The supplied index is out of bounds.
at flash.display:isplayObjectContainer/setChildIndex()
at flash.display::Stage/setChildIndex()
[code]......
I am building a banner ad and I am using Flash CS4. I need it so when someone clicks the banner it takes them to the page in a new window. Its just a a simple URL and I keep getting syntax errors now and I dont know how to do this properly. I have tried these methods.
[Code]...
I'm trying to do a expandable ad banner. For example, a banner that comes from 200x200 for 400x200 with right alignment.
View 3 Repliesis it possible for flash to detect off-stage mouse coordinates in order to continuously drag an object within its bounds while the mouse is moving outside of the stage? for example: i have a draggable red square on my stage. the stage is the bounds of the drag. if i drag the red square to the bottom of the stage and continue to drag outside of and around the stage, i'd like the red square to continue moving within it's bounds, following the mouse coordinates. currently, dragging halts as soon as i leave the stage and the red square only begins to move with the mouse coordinates if i reenter the stage bounds.
View 2 Replieshow to create an expandable or floating banner.I know you can use things like www.eyeblaster.com, www.pointroll.com, www.dartmotif.com but I want to be able to do this on my own.I'm pretty sure it's just a transparent swf overlaying html content. But is there something with DIV layers I need to know? Is there any specific actionscript I need to put in? I'm working for a pretty big client that wants to advertise on some pretty small websites,
View 5 RepliesI wrote a collision detection class that works off using BitmapData.hitTest. Basically, every update, the .draw method is called and then two BitmapData's are hitTest'ed against each other to see if there is a collision.It works pretty well, however if I start rotating the source MovieClip I use for the BitmapData, the transformations don't get registered in the draw method. So what I did was pass through a Matrix in the draw method. That works. But here's the actual issue. If I output the BitmapData to a Bitmap on the stage, I see that Bitmap is, in fact, rotating, but now it's exceeding the bounds (width and height) of the BitmapData. Which is cropping / clipping the image of the source MovieClip.
UPDATE: Basically, when the Bitmap clone of the MovieClip rotates outside the positive co-ordinate space, it doesn't get drawn. It rotates outside the bounds of the BitmapData set width and height. I can multiply the bounds by 2, and then center the bitmap inside the set bounds, but then the origin point is never fixed and the object is always being moved around. Works pretty well, but makes aligning the object to any specific point impossible.Here's my isolated test code. It requires you to have a MovieClip on the stage named "iTest". I used a fairly vertical arrow shape (higher than it is wide) so I could keep track of rotations visually accentuate the clipping problem:
var rotateTimer:Timer = new Timer(10);
function rotateObject_init():void
{
[code].....