Possible to select parts of image/flash file?

is it possible to select a certain part of an image [eg: A
MAP] and show details accordingly.
EG: if you click a certain region of map it will show
region,km etc etc

dispatching the event and setting the "prog" var to the % in
which i want my meter to display
//heres the flex side
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
backgroundColor="#000000" width="100%" height="100%">
<mx:Metadata>
[Event(name="setMeter", type="flash.events.Event")]
</mx:Metadata>
<mx:Script>
<![CDATA[
public function populate(mySize:Number):void
prog=mySize * 10;
dispatchEvent(new Event("setMeter", true));
]]>
</mx:Script>
<mx:SWFLoader source="meter.swf" width="100%"
height="100%" id="mtr1"/>
<mx:Number id="prog"/>
</mx:Canvas>
what im doing here is adding an event listener from my
embedded swf (4 parents deep).
then setting a var(myFlex:Object) to the
movieclip.parent.parent.parent which would be the flex movieclip
then actually grabbing that var "prog" to figure out what
level to set the meter.
//heres the flash side
stop();
var mm:MovieClip = this;
this.parent.parent.parent.parent.addEventListener("setMeter",
cHandler);
function cHandler(event:Event):void
var myFlex:Object = mm.parent.parent.parent;
mtr.gotoAndStop(myFlex.prog);
i know there are definitely better ways to do this but it
works for me. i have used the external interface class and local
connection class but this works pretty well for me. im currently
using the external interface with the yahoo maps api and it works
really well but im having trouble using more than one external
interface instance in the same app....so i went this route.
http://livedocs.adobe.com/flex/2/langref/flash/external/ExternalInterface.html
http://livedocs.adobe.com/flex/2/langref/flash/net/LocalConnection.html

Similar Messages

  • How do I select part of a .pdf file to print?

    I do not want to print the left side of this coupon:
    http://frontline.us.merial.com/web_coupon.pdf

    This capability only exists when importing from a camera card or camera archive.
    You can't select part of a clip to import from a hard drive movie file.

  • Zooming in/out while selecting parts of the audio file?

    The company I am with use Cool Edit 2000 for our audio editing, in Cool Edit it allows you to click and drag to select parts of files while you are doing this you can use the mouse wheel to zoom in and out. This helps for when you need to zoom in at the beginning of the sound and drag to the beginning of the file to delete any unwanted sound or lack of sound, zooming out while doing this allows you to do it very quickly.
    I have tried the trial version of Adobe Audition 3 and I was not able to do this.
    My questions are:
    1. Was this feature removed?
    2. If not how do I enable this feature.
    This feature will determine weather or not my company will purchase this software. Thanks for the time to answer my questions.

    zooming isn't a problem its zooming out while dragging over the file to select it, basically what I am doing is zooming into the beginning or end of a file selecting the precise beginning or ending holding the left mouse button and dragging left or right while I am doing this I am zooming out to make it select what I need faster and deleting those areas away.
    I just read about the top/tails view, I am going to check it out see if this helps.

  • Adjusting Hue/Saturation for selected parts of image?

    1. Is there a way to adjust the hue/saturation for the Reds, greens or Blues in an image like you can in PS?
    2. Is there a way to make a selection and adjust the Hue/Saturation for just that selected part of the image?
    Thanks.

    The main toolbar is the one at the top of the program.

  • Is it possible to select parts of a pdf to export to excel?

    I have multiple forms with the same exact layout on each one and am wondering if it is possible for me to take certain parts of the form and export it to excel.

    You can post a link for all to see (attachments were removed from the forum several years back for security reasons). There may be other issues to consider in your work flow after you mentioned a scan. That is not a form, but a graphic, possibly with OCR. But the latter also varies based on the OCR selections made. You also have to remember that OCR is far from perfect so using it to create an Excel database may be risky when using scanned documents. So the bottom line is that a lot more info on your work flow would be useful in addition to the example documents (even if you send directly to Lori).

  • Select part of image

    Hi all,
    I�m programming a Swing-GUI with serveral different Panel.
    I want to be able to select an area within a ScollPanel I�m drawing a
    rectangle using MouseListenerEvents and the draw-method, which I
    implemented in an inner class.
    My problem is, that I�m able to draw the rectangle over the whole GUI,
    and not just the one ScrollPanel.
    Does any of you have an idea, what I�m doing wrong? Any hints or
    solutions are
    very much appreciated.
    Thank

    hi
    you can use quick selection tool,select the part of the image you want and then simply create a mask on that layer .
    as you can see in this image i have just selected the rose flower
    and below in the original image

  • CS5 - Applying Actions to Select Part of Image

    Hello,
    I'm working in CS5. I'm new to actions and I would like to apply the action only to a specific part of the image. For example, for a portrait, I would like the action to apply to the background of the image, not necessary on the individuals face.
    I'm not aware if there is a way to apply it to the entire image, then erase it from the areas I don't want it to apply, or if I lasso an area and apply it. I've tried it several different ways to no avail.
    Thanks in advance for any suggestions,
    Liv

    I would like the action to apply to the background of the image, not necessary on the individuals face.
    As the differentiation of fore- and background of an image can be a convoluted issue (have you ever tried to clip the image of a curly-haired person from a background of shrubbery?), it does not lend itself to automation easily.
    I'm not aware if there is a way to apply it to the entire image, then erase it from the areas I don't want it to apply
    If you work with Adjustment Layers or Layer Masks in general the Masks can subsequently be edited easily.

  • Cut parts of a PDF file to paste in other document

    I am using Adobe Reader 8.1.1. In an earlier version it was possible to cut parts of a PDF file and paste it into an other document.
    This feature does not seem to work in V8.1.1.
    Any solution to this problem.
    Best regards
    Peter

    In version 8.0 try the View menu then goto Toolbars More Tools.
    The snapshot tool, and many more, are located here. The list is long so you might want to scroll to the bottom of the list. It is under the heading "Select & Zoom Toolbar"

  • Need to add jpg image file to flash file

    Dear All,
    I am new to flash. I have one flash file in which I want to show some images in a slide show way at start of the flash file.
    Please let me know the step by step if possible.
    Thanks

    You're not likely to get a step by step created just for you here, but there are probably plenty of folks that have already done that for you elsewhere.  Try searching Google for "Flash slideshow tutorial" or if you plan to make it actionscript controlled, use "AS# slideshow tutorial" where you substitute 2 or 3 for # depending on which version of actionscript you want to use.
    If your title has any bearing on what you really need to know, then in the File menu select Import, select between the cjoices offered, and select the file from the directory search interface that appears.

  • Flash files as images in XML Forms

    Hi Crew,
    Anyone had to use flash files in XML forms Based Publishing?
    Have created a simple XML Project asking the user to select two images, and these are then displayed in an iView.
    gifs & jpegs display no problemo.   swf (flash files) do not.
    Any ideas?
    Paul

    Hi Paul,
    I need to display a .swf file in a XML form. I read the solution that you have posted about modifying the XSL file, but i have no clue how to go ahead with this.
    Could you kindly provide any document, link or the solution as to how to modify the XSL file ?
    Any kind of help would be truly appreciated.

  • How to upload a image or flash file as blob object in a table.

    How to upload a image or flash file as blob object in a table.
    What are all the possible ways we can do it.

    Searching the forum (or google) would be my first choice, as this question pops up every now and then.
    Next without knowledge of your environment (jdev version and technology stack) it's hard to give a profound answer.
    All I can say is that it's possible.
    Timo

  • Is it possible to save a picture/image file that is within an iOS app?

    Is it possible to save a picture/image file that is within an app?
    The image in question cannot be shrunk, so using the iPhone built-in Screenshot function (by pressing both "Home" & "On/OffSleep/Wake" buttons simultaneously) only produces part of the image.
    Thanks.

    Generally in all Apple iOS apps, you can hold down on the image and the save image dialogue will pop up. Many third party developers adopt this method, but some also have other weird ways of doing it through menus. What appa re you trying to do this with?

  • Images flash black when I use select / lasso tools.  Background also changes color.

    Help?  It's incredibly distracting to try and select parts of an image when the images are acting like strobe lights.  This happens not only with the lasso but also when I am resizing an image. It is soley the images that flash black - the rest of the program is unaffected.
    The background also changes from gray/white squares to grey to black when I zoom in or out.

    Are you sure you want the Premiere Pro forum?

  • When I start MacBook Pro13 shows gray Screen and flashing file Image with question mark

    When I start MacBook Pro13 shows gray Screen and flashing file Image with question mark , it's brand new I just receive it from Apple Store .

    Startup Manager to select Startup disk.
    http://support.apple.com/kb/HT1310
    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836

  • Is it possible to select a part of a video project and only render that specific part?

    Hi.
    I formerly used Sony Vegas Pro - and I'm in the process of getting into Final Cut Pro X, and I'm wondering...
    In Sony Vegas Pro - I was able to mark a part of my video project, and only render that. It was usefull if I wanted to send a part of a project rendered to someone else for review etc.
    In Final Cut Pro X I can't find a similar possibility - I have to render my complete video project - or nothing at all.
    Does anyone know if it's possible to select a part of a project and render only that part?
    Best regards
    Jens Rosenstand

    Hi.
    Well...that's not quite what I meant...
    I would like to render a part of a video to a .MOV file for example - that I can send of to someone to watch - but the whole project, just a part of it.
    Is that possible?
    Br.
    Jens

Maybe you are looking for

  • Sending an email from Lotus Notes release 5.0.4a

    I need to write java code for sending an email from Lotus Notes release 5.0.4a. Initially, I tried using Lotus Domino Toolkit for java, but the current release, "Lotus Domino ToolKit for Java/Corba release 5.0.8" is not compatible with the notes clie

  • Mapping question - one dimensional to two dimensional

    Hi    We are on XI 3.0 SP13 - and I have this mapping scenario Source structure - Linear & simple with say 10-20 fields - Target structure - Name -value field pair with an unbounded node on top -                             <b>MsgAttrib 0-Unbounded  

  • Web camera choosing from list

    any cam Chooser component or any script pls.... in actionscript 3 This is AS2 : http://www.therealtimeweb.com/index.cfm/2005/1/22/camchooser?CFID=318996&CFTOKEN=69590068

  • Can't access youtube and google docs.

    I can't access some websites, like youtube (I can only see a page with text and links) and google docs (firefox stops downloading like everything is correct, but nothing happens). Allready fully uninstalled (as far as I know, forgot bookmarks, passwo

  • Question about deploying files/software correctly

    I want to copy some scripts to a specific directory on all the Macs in my enterprise with ARD. The problem I have is how to do this the best way without having to schedule the job to repeat which will re-copy the files to the whole list of computers