473,766 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to capture id or name of an image/button in html when it blongs to flash!


Hello,

I saw on an article that you can capture an image like:

*************** *** from here *************** ****
Consider the following HTML definition:

<IMG SRC="anything.g if" NAME="anything"
HEIGHT="100" WIDTH="100">

Let's suppose the this code defines the third image on the page. The
following references reflect that image:

document.images .anything

*************** *** up here *************** *******

Now, this works ok but what if your html page has an image which is
part of a flash application?

I have included a flash movie or clip which has image or button into my
html file and want to grab the control or id of the image/button. How
that is possible?

has anyone done it ? please let me know it.

Amit.

Jul 21 '06 #1
1 1863
Amit,
What is your end goal? If you're trying to manipulate items inside
of the flash applet, you're probably going to want to use actionscript
inside of flash.

Happy Coding!

amit wrote:
Hello,

I saw on an article that you can capture an image like:

*************** *** from here *************** ****
Consider the following HTML definition:

<IMG SRC="anything.g if" NAME="anything"
HEIGHT="100" WIDTH="100">

Let's suppose the this code defines the third image on the page. The
following references reflect that image:

document.images .anything

*************** *** up here *************** *******

Now, this works ok but what if your html page has an image which is
part of a flash application?

I have included a flash movie or clip which has image or button into my
html file and want to grab the control or id of the image/button. How
that is possible?

has anyone done it ? please let me know it.

Amit.
Jul 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
14727
by: Jay | last post by:
Hi, How can I capture mouse position on Image? I found number of script capturing mouse position of the page. But I could not find anything based on image. What I want to find out is X Y coordinates of mouse position. based on left of the top of my image is 0 0 (X Y coordinates) otherwise, I need to find out position of my image so I can calculate.
10
17777
by: Rattanak Song | last post by:
Hi, I'm trying to build a database which can capture a still image from a digital camera or web cam and import to the database via an Object or something like that. Any help would be very appreciated. Rattanak
2
6624
by: dumbledad | last post by:
Hi All, I'm using ASP.Net web services to provide the logic required for a Flash based prototype. The Flash and the ASP .Net run together on the client machine. One of the functions I'd like to offer is public void StoreLogEntry(string tag, string description, bool screenshotRequired)
5
5195
by: Sachyn | last post by:
I am developing two forms in FLASH for my client and it is extremely puzzling for me to get around the following facts: Requirement 1: to recognize signature when a form is signed in Flash and to convert it to an image and send it back to database. The back end is being done in PHP (however, i have the option of doing this in Java too). Do let me know if this can be achieved? Requirement 2: to recognize all the fields handwritten in the...
6
16318
elamberdor
by: elamberdor | last post by:
Hi All! Trying to get a drop down hide/show div on a html page triggered by a button in flash. (Intro: Very very Little experience in dynamic flash) setup: html page, flash map on page, button on flash opens info underneath map in a separate div. div that has hide/show content is called "operator" I found this code, but i'm not sure it's what I need, and it's not working... Flash file>button on stage>script:
0
1511
by: ikramalikhan | last post by:
i am developing a software in vb 6.0 as front end and msaccess as back end..i want to capture an ultrasound image via my vb form image control.my doctor client will capture live ultrasound image and save it ti ms word file. my form should show a live telecast of ultrasound machine images while the patient is underging scanning.Then a operator will capture a perticular image,and press button capture.The still image should be saved in ms word...
4
3542
by: sourapple77 | last post by:
hi, I'm using flash button like "zoom in" to enlarge an image from html using javaScript. How can I do this? ex. I have flash media inserted within html document and once the button inside the flash is pressed viewers can view the enlarged image from their page. thank you in advance.
1
2770
by: destiny007 | last post by:
can any one help me to write code to capture selected text from a page but problem is that i am not able to decide where to call the functio.in this case the function is called in all cases of mouse out. here is the code <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> var captured = ""; function captext() {
2
2818
by: raylopez99 | last post by:
Beware newbies: I spent a day before I figured this out: copying a bitmap (image) file to file is not quite like copying a text file--you have to do some tricks (see below), like using a "Graphics" object to wrap around the image (!). It's not so simple as shown in most examples (where they have a simple image file and hard copy it into a harddrive along the lines of : image.Save(@"C:\\temp\\myimage.pgn"); That will work, but it's a...
0
9571
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8835
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.