ActionScript 3.0 :: Capturing A Javascript Src Ad Zone Text In Flash

Jan 28, 2010

I build flash web sites and have only a limited understanding of javascript. I am trying to monetize a flash page that I have built for myself and is getting an increased traffic. The page has to be flash as it is based on flash dynamic graphic capabilities. Besides I prefer to integrate and customize the ads into my page rather than use standard ad zones offered by the ad networks. I have a permission from a small ad network to convert their ads to flash but I was not able to do it myself. They use a standard java script src code for creating their ads. It looks approximately like this:

<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.Advertiser.com/Advertiser.dbm?pid=22222&bid=111111" type="text/javascript"></SCRIPT>

They require though that the capturing will be done in a way that allows them to monitor my page. I can publish Flash player 9 so I can work with ExternalInterface.call

how to translate the code to Flash and how to change the html code will be helpful. I am also willing to pay someone who is interested in working with me directly via Email correspondance on properly placing the code.

View 0 Replies


Similar Posts:


Javascript :: Capturing Bubbling Key Event From Flash?

Oct 28, 2009

In IE, if flash has focus, and receives a keydown event, it does not appear to bubble the event up through the DOM (I can't capture the event by listening on document, however the same listener can capture key events from html siblings, so I know my listener is working).

However, some other plugins on the page (I am looking at you windows media player) still respond to key events that initiate in flash (and I need to prevent that from happening)! It seems that the key event initiated in flash takes the bubble express highway straight to the top (where the top is whatever is above document in the DOM hierarchy). I have tried terminating the events in as3, and tried different wmodes... neither approach works.

View 1 Replies

ActionScript 3.0 :: Capturing Bubbling Key Event From Flash With Javascript?

Oct 28, 2009

In IE, if flash has focus, and receives a keydown event, it does not appear to bubble the event up through the DOM (I can't capture the event by listening on document, however the same listener can capture key events from html siblings, so I know my listener is working).However, some other plugins on the page (I am looking at you windows media player) still respond to key events that initiate in flash (and I need to prevent that from happening)! It seems that the key event initiated in flash takes the bubble express highway straight to the top (where the top is whatever is above document in the DOM hierarchy).I have tried terminating the events in as3, and tried different wmodes... neither approach worls. Is there something I might have missed?

View 0 Replies

ActionScript 3.0 :: Capturing Text Input?

Apr 3, 2012

This question was posted in response to the following article:[URL]

View 10 Replies

Javascript :: Use Of Event Bubbling And Event Capturing?

Jul 21, 2010

What is the use of event bubbling and event capturing?

View 3 Replies

ActionScript 2.0 :: Flash CS3 - Symbol Zone Hittest?

Dec 28, 2011

I've been trying to work around this for a long time and no matter where i ask no one can give me any kind of solution to this... even when the problem itself doesn't look that hard but its hard to explain.I was trying to make a very simple kind of maze game with a flat perspective (like the 90s RPG) the maze walls must be four sided solid, the left and right walls are not a big issue but the top and bottom walls have the problem, for example the top walls must allow the player's head and body to go over it but stop at his feet and the bottom is something alike.My idea to solve this was put another symbol inside the player and put it on the lower part and another symbol inside the wall and make the hittest but it didn't work
I put the walking code and the hittest on the player symbol and it worked, but immediately when i put the hittest code on the symbol at his feet inside the player symbol the code stop working.The walls must contain the solid and graphic part inside the same symbol because some of them will move

Right now I deconstruct the whole thing, any idea will work, i'm just starting pretty much from zero

View 10 Replies

ActionScript 3.0 :: Capturing Data In A Text Box On Results Screen For Quiz

Mar 19, 2009

I have a little quiz, where at the end the results are calculated and the test takers are taken to a results screen which calculates their results.

I have AS3 code creating the message screen, and the score is calculating ok. I want to capture the users name on the results page, and this is not working. I have attached the code which calculates the score and where I added the instance name of the test box when they login. I get an error when I publish. The error is "Access of undefined property name name_text"

obviously this is not how to capture that information, but not sure how to do it. Again, I have a text box with the instance name of "name_txt", and I am trying to capture that data on a results screen using AS3.

Code:
feedback.text = "Congrats" +name_txt+ "on finishing the exam!
Your score is "+Math.round(score*100)+"%
You may now close the exam window.";

View 1 Replies

Professional :: Make Loading Zone For Flash Black

May 21, 2010

the website i have is black... and contains large flash galleries... The problem is before the load they look like a large white squares... then they load and look great... is there anyway that it can look like a large black square so that viewers cannot tell that there is something located on the black background until it loads

View 1 Replies

Flash - Change The Color Of A DisplayObject When It Moves In A Specific Zone?

May 17, 2011

I am coding a graphical interface using Flex, and I have a qestion related to masks in Flash.I want to create a kind of mask that defines which color and which alpha value a text will have according to its position on the screen. It is very easy to do that with the text being the mask of a bitmap, for instance.

However, I also want to take into account the color of the text itself.for instance, if I create a red text, in some zone it will be red with a modified alpha value, but on another zone, the text will be full white, as if there was a kind of mask which also applies its own color on top of it.

Is there a way to easily do this kind of thing? Of course, I can manually apply the format on the text according to where it is, but I wonder if there is an automatic processing like mask or blend mode using a DisplayObject as a processing pattern.

View 1 Replies

Flash :: Professional - Stop Adding Link 'hit Zone' At Start Of Animation?

Jan 26, 2010

I have created a short animation in Flash CS4 which has one button with a URL link. the button shows up on frame 217, and on that frame I added the following action script:  

[Code]...

however, the 'hit zone' for the button shows up from frame 1 of the animation. is there a way of getting the hit zone to start when the button shows up?

View 3 Replies

ActionScript 3.0 :: Screen Capturing For Flash CS4?

Aug 17, 2010

I am currently doing Augmented Reality. I got my marker to detect my model but my problem now is how to screen capture the content that is in swf. (As in capture the dae model shown in the comp not from webcam.)
 
& also i just want to capture the swf window not the whole desktop.I read online, they say its impossible?
 
Or is it possible to call screen capture function in javascript to flash CS4? (LIke external data)
 
(Moreover, does anyone know how to detect multiple dae models with different markers?)

View 4 Replies

Capturing Images From A Flash Gallery

May 1, 2009

There is a site with an image gallery that uses Adobe Flash.Is there a way I could capture the images? ( Apart from print screen)Softwares like Orbit do well with .flv videos, but don't work with images.Is there something that will help me getting a direct path to the images?

View 3 Replies

As3 :: Flash - Dynamic Button Name Capturing

Mar 19, 2010

i am using this code below to dynamically capture the name of the button pressed and then playing the related balloon movie clip animation.

[Code]...

View 2 Replies

Flash :: Capturing A Part Of A Movieclip?

May 10, 2011

I have a movieclip on stage. Its 500x400. It has many children of diffent sizes added to it. How can I capture the area 300x200 of the movieclip from (0,0). Suppose there was a child at (100,100) of width and height 300 then I should be able to see from this child from 100 to 300 and 100 to 200 respectively. The rest of the area is not needed. I should be able to manipulate the captured image later. So I guess I have to capture it as a Bitmap. But how can this thing be done.

View 1 Replies

ActionScript 2.0 :: Capturing Redirected Url In Flash 8

Sep 11, 2006

I am totally new to Flash and SWF file.I am using Flash professional 8. I have this swf file which plays a flv from URL-xyz.com. This server redirects to the rtmp server and streams the flv from there. I would like to capture this rtmp url in my action script.The _url parameter gives me URL-xyz.com and not the redirected url.Is there any way to capture this redirected url ?

View 1 Replies

ActionScript 3.0 :: Capturing Data Into Flash

Mar 20, 2009

Iam new to As3 I need to pass the string value from servlet to flash. So need the as3 code snippet For the above problem.

View 1 Replies

IDE :: Screen-capturing Flash Animation?

Jul 1, 2009

I'm using screen captrue software (camtasia studio 6) to capture a video of my flash animation. But when I capture it, the aniamtion is jerky. My flash animation is set to 30fps and looks great when played, but not when I play back the captured movie.

I have experimented with a few other codecs, including the Techsmith default, cinepak and microsoft video but they are all the same.

Could someone recommend to me a good codec to use that will capture my animation better?

View 2 Replies

Capturing Screen To Jpeg In Flash Exe File?

Apr 26, 2010

there is some simple way I can capture a screen shot to a jpeg or something similar when running an exe/swf on full screen?Basically I have a car configurator, and at the end I want to capture the final choice of colour/ wheels/ background and maybe name of person to a file.....

View 2 Replies

Actionscript 3 :: Detect If Camera Is Capturing In Flash?

Jun 15, 2010

I'm having trouble with Camera.getCamera() in Flash AS3. If there are multiple camera drivers, it does not necessarily pick the correct one. If the default is the correct, the program works fine; however, if another driver is selected as the default then LED on the webcam does not come on and no video is captured. I can cycle through the available cams and select an arbitrary one. I don't, however, know how to determine if the selected camera is correct. It is not returning null. I considered using camera.currentFPS, but it's not clear when this gets updated. I'm really struggling to determine dynamically which camera will do the trick!

View 2 Replies

Flash - Capturing Keyboard Input For Sprite?

Jun 2, 2011

I an trying to capture keyboard and mouse events for square area on my UI, represented by Sprite. The mouse capture works, the keyboard capture doesn't work at all:

[code]...

I never see reportKeyDown executed, even though Sprite object has a focus.

View 2 Replies

ActionScript 3.0 :: Javascript And Flash Text Input?

Aug 31, 2009

im having a problem with communicating between flash and javascript.i need to build a HTML page that will include flash.in that flash file i need an input text field and a button next to it.when i click on the button a javascript alert needs to pop up and show the text i entered in the flash text field.

View 0 Replies

ActionScript 3.0 :: Capturing Images From Camera In Web Application With Flash?

May 26, 2010

We have requirement of web conferencing in our application.Before that we also need capturing images directly frm camera and stroed into our application.I searched a lot then find that it is possible with flash media and action scripting.with that you access client system.I have never done coding in AS3 before...So donot knw how to go about?Even dnt knw how add it later in our web application.

View 3 Replies

C# :: Capturing A Screenshot Of A Flash Application Loaded In The Browser?

Feb 9, 2011

I would like to know is it possible to access the flash application object loaded in the default web browser and programatically get a screenshot of the application only.

View 1 Replies

Flex :: Capturing Control Key With Mouse Down In Flash Builder

Jul 29, 2011

I'm using PanZoomComponent in my application. When a user holds down control key with mouse press, I want to show hand tool by making PanZoomComponent object's property
childPreventsPan = false;
In short at combination of control key and mouse press I want to show Hand tool if not cursor.

View 1 Replies

ActionScript 3.0 :: Capturing Image From Webcam And Loading To Flash?

May 12, 2009

I'm trying to have a webcam option in my flash that would allows the user (if they have a webcam) to take a picture of themselves and show this picture in flash.So far I've only been able to get the camera part working, that is the webcam feed is showing. How do I go about capturing the image when a user presses the button and then load that up in the flash?

Code:
import flash.display.BitmapData;
import flash.geom.Matrix;

[code].....

View 2 Replies

ActionScript 2.0 :: USA Time Zone Map

Apr 28, 2011

I have a working USA Time Zone Map. It works, but there are some bugs that I cant seem to get rid of.1st off, the time is based on the PC's clock. ( It's a work related thing, and no need to go from there)I have a clock displaying OUR current time (AST). I have EST, CST, MST, and PST times displayed also.I offsetted the clocks in each zone by simply adding the following code for each clock movie;[code]If I do -4, or -5, and so on, I get a '-' in front of the hours before the hour number, and if I add the AM, PM code in , like in the AST movie, THE movies dont show the proper AM, PM times when it is either AM, or PM.The FLA attached works fine as is, but I want to be able to have the AM/PM after the time on the clocks that are not local to the user 's PC clock.url...

View 3 Replies

Read A Local Text File Using Flash Or Javascript?

Feb 23, 2010

Is there any hook to react to a user drag and dropping a text file onto a browser? If the user drops a text file onto the browser with my page loaded, I'd like to be able to open the contents of the text file using javascript. I don't think this is possible, but just checking.

Is something like this possible in flash?

As an alternate, the user could specify a file path for me, then I could open the text file and read it. Seems like this is a security risk and probably won't be allowed, but just checking. It looks like this is possible with flash 10?

View 5 Replies

Capturing Mouse Events In Flash Outside Of Stage Doesn't Work In IE?

Jul 19, 2010

I am trying to capture mouse events in flash while the mouse is being held down. The intention is to keep reciving events as long as the mouse is pressed, even if the cursor leaves the flash element. That's the behavior I get on all browsers other than IE, which only fires events while the cursor is inside the stage.

I'm pretty sure I've seen such "well behaved" flash applets work in IE before.

View 1 Replies

Simple Button Hit Zone Not Working

Nov 4, 2009

I am somewhat new to Flash CS4 andt am having a problem making simple buttons in Flash CS4 on a Macintosh: I have made a few buttons with a graphic and can go into them and successfully create the Up, Over and Down stages of the graphic. Then when I create a new box for the hit state (which is larger than the graphic and I have deleted the graphic itself from the hit state) it doesn't want to appear correctly when I test the movie. When I test the movie, the hit state is correct everywhere around the graphic (to the bounds of my hit state box), but is not active where the graphic is.

When I go under the Control menu, down to Enable Simple Buttons, the hit zone looks great right in my Flash file, but when I preview it or publish it and look it on different browsers (PC and Mac), I don't get my pointer right over the actual graphic, but get it everywhere around the graphic to the boundaries of my hit box. Why can't I get the actual graphic to be a hot spot in this situation? I have tried leaving the graphic in the hit timeline, and tried putting both the larger box and the graphic in the hit timeline, and still can't get them to respond correctly with the pointer in the browser window.

View 2 Replies

Professional :: Mouse Zone Detection?

Mar 25, 2010

1- i have a circular menu, with a zoom effect when you hover on it, with the home button in the center, when you click the home button you load the page then reload the scene 1 ( menu idle ).If i put nothing on the button itself on the scene 1, before the zoom effect, i need to move out of the button to trigger the other scritp there that detect the rollover and start the zoom in.i want to have a special behavior for the home button on the idle state of the menu ( scene 1 ) , When you click the home button from anywhere else, you load back the page, then because the mouse is already on the home button, i want flash to do nothing, but at the second you start to move the mouse again ( remember you are still on the home button) i want it to start teh zoom effect again, not before.

Right now, it is either no zoom effect as soon the mouse is on top of it, or imediatly zoom in with the rollover....And i know it is possible with a very simple command, but i forgot it... i did it before.2- for the same menu, i will have a sub-menu unfolding when you click a certain button, that sub-menu is outside the main menu detection zone. Is it possible to make a shape, turn the alpha at 0, put it under the sub-menu, and use it as detection zone

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved