Effect to image at drag start event from tilelist to canvas

hello
i just want to give effects to image at drag start event
from tile list to canvas
<mx:TileList dragEnabled="true"
dragStart="moveeffect(event);">
private function moveeffect(event:DragEvent):void{
In this function how can i get image

DragEvent has property called dragInitiator. That might help.
Otherwise, you can add mouseDown event listener to your
TileList and in that handler do something like:
var initiator:UIComponent = UIComponent(event.currentTarget);
and then add any effects to the initiator.
ATTA

Similar Messages

  • Start event from case structure

    I'm running my main programm inside an event of an eventstructure.
    Beside this main event I additionally have 3 other events in this event structure.
    To save "screen space" I would like to start indirectly one of my other events from a case
    placed inside another event.
    Is this possible - would be glad if you have an example.

    You are still completely misunderstanding the purpose of the event structure (see also my answer the other thread).
    The main code of the program does NOT belong inside an event structure. What good is an event structure if it is tied up indefinitely inside one of the event cases???
    An event structure is most useful for dealing with interactions by the user and must be ready to handle those at any time. It is not a tool to "save screen space" (whatever that means). If you are running out of diagram space, consider wrapping your code segments into subVIs.
    LabVIEW Champion . Do more with less code and in less time .

  • Facing difficulties in dragdrop event handler while moving images from tilelist to canvas

    1) my tile list contains images which are coming from
    database.
    2) i have to drag and drop those images from tile list to
    canvas.
    3) In tile list we don't have to write mouseMove event
    handler where we can define dragInitiator . (if dragEnabled = true)
    4) my dragEnter and dragOver is working properly . Problem is
    in dragDrop .
    5 ) how can i collect there dragged image
    (event.draggedsource.....what must be write)
    ERROR : Cannot access a property or method of a null object
    reference

    import java.util.Timer;
    import java.util.TimerTask;
    public class Test {
        public static void main (String[] args) {
            final Timer timer = new Timer ();
            System.out.println ("I'm gonna do something in 5 seconds.");
            timer.schedule (new TimerTask () {
                public void run () {
                    System.out.println ("Time's up !");
                    timer.cancel ();
            }, 5000);
    }if you want to display the time left it's better to make your own Thread that updates a "timeleft variable:
    {code}
    public class Test {
    //set the time Left to 3 mins.
    private long secondsLeft = 3 * 60;
    public Test () {
    new Thread (new Runnable () {
    public void run () {
    try {
    while (secondsLeft > 0) {
    //Let's update the timer every second.
    Thread.sleep (1000);
    secondsLeft = secondsLeft - 1;
    System.out.println ("Time left: " + (secondsLeft / 60) + ":" + (secondsLeft % 60));
    System.out.println ("Grats !");
    } catch (InterruptedException e) {}
    }).start ();
    public static void main (String[] args) {
    new Test ();
    {code}

  • In iCal, why I can not drag event from calendar to reminder, and 'paste' in reminder is disabled?

    The added events in iCal could be dragged freely to reminder before I used iCloud, but now it doesn't work. The situation of iCal is: 1) I can not drag any event from calander to reminder, 2) the 'paste' bottom in reminder is disabled, and 3) sortord in reminder does not work, i.e. I can not change order even if I select 'manual' .
    Anyone met these situation before? Please help~

    The added events in iCal could be dragged freely to reminder before I used iCloud, but now it doesn't work. The situation of iCal is: 1) I can not drag any event from calander to reminder, 2) the 'paste' bottom in reminder is disabled, and 3) sortord in reminder does not work, i.e. I can not change order even if I select 'manual' .
    Anyone met these situation before? Please help~

  • Start Event Triggers

    In BPMN 1.1 specification, there are 6 Start Event Types.
    I can Timer in BPM 10g studio.
    Does Message Wait and Send Message in BPM 10g implement Message trigger at BPMN 1.1?
    Where are None, Conditional, Signal, and Multiple in OBPM 10g?

    In BPMN 1.1 specification, there are 6 Start Event Types.I can Timer in BPM 10g studio.
    Does Message Wait and Send Message in BPM 10g implement Message trigger at BPMN 1.1?
    Where are None, Conditional, Signal, and Multiple in OBPM 10g? >
    It's a valid point. In Oracle BPM 10g, you can achieve the effect of the 6 BPMN start events, but the icons representing the most of the start events did not all show up in the process modeling tool until 11g.
    Plain - this event is the default Begin activity in the Oracle BPM 10g process. While BPMN 1.1 specifies that the first activity can be one of the 6 listed here, Oracle BPM 10g always uses the Plain start event in its model.
    Message - I know this is non-intuitive, but process instances can be created in a variety of different ways (e.g. PAPI, a subprocess flow invoking it, a Global Creation, logic from inside an activity, etc.). As it gets created you have a choice to use the default set of input arguments - this is the "BeginIn" mapping. Alternatively, you can create any number of other mappings with different sets of input argument variables. If you use an argument mapping other than the default "BeginIn", then you can right mouse click the Begin activity and click "Add a Message Based Transition". This creates a BPMN message transition. In Oracle BPM 10g you will see that the process still has a Plain start event, but in this scenario you will see a Message transition coming out of the Begin. It's functionally working the same, but modelled differently than what you might expect to see.
    Timer - this is one where the functionality is suppported but the icons do not show up in the process. You can create a timer start event by using a Global Automatic activity and setting it to create instances at specific times or intervals. Visually, you will see a Plain start event in the process, but you will also see a Global Automatic activity separate from the process. The Global Automatic controls the timer and is separate from the Begin activity. It's functionally working the same, but modelled differently than what you might expect to see.
    Conditional - this is supported somewhat from both modeling and execution. Again there is not Conditional start trigger. There is still a Plain start event, but you achieve the same result by adding a conditional transition and have it leave the Begin activity in the process. it's functionally working the same, but modelled differently than what you might expect to see.
    Signal - this is supported from inside the process, but the start event is handled by the Plain start event.
    Multiple - this too is supported from inside the process, but the start event for Multiple is also caught by the Plain start event.
    Dan

  • How to import iphoto events from remote library into local library

    I know how to access my MBA's iphoto library from my imac, however I don't know how to import any event/photo into my local imac's library. Any help would be appreciated, thanks

    Once that opens by default with iphoto, then... went to Finder again, Pictures, right click on iphoto library (local Imac library) and select "open with" = Aperture.
    There I had my MBA's library opened on iphoto and my local Imac library opened on Aperture. I simply dragged the events from iphoto to Aperture. Worked like a charm..
    PS: It is obvious to say that for this to work, both Imac and MBA have to be Shared in the same network
    That works, but there is a better way with Aperture. The problem.  If you drag the photos from Aperture to iPhoto, you only transfer the previews and you lose quality, because you do not transfer the high quality originals.
    Aperture can do more for you:
    Select the event   (in Aperture "Projects") you want to transfer in the library Inspector and then use "File > Export > Project as new Library".  This will create a new photo library with only the elected items.
    Then open your destination iPhoto library in Aperture and select the command "File > Import > Library" and select the partial library with your events. Aperture will now merge this library into your iPhoto library.
    This way, you will transfer the originals and all editing, keywords, etc, and effectively merge your iPhoto libraries preserving all your work.
    Seethes document:  Aperture 3.3: How to use Aperture to merge iPhoto libraries

  • Unable to send or recieve images via drag and drop?

    I am unable to send or recieve jpg and gif images by dragging and dropping from finder. How do I fix this?

    Hi,
    Where are you dragging them to ?
    You Can do it two ways using Drag.
    One is to the Buddy's Name in the Buddy list and letting go  (it gets sent as a loose file)
    The Second is to drag it to the Text field during a Text chat (Excluding Group Chats)
    The First causes an Invite to accept to pop up on the Buddies Screen.
    You can also see see when it is Accepted (you may even have to confirm sending depending on your Settings)
    The Second gets sent as a File Link in the Chat which the Buddy has to Also Accept...
    You can also send files by highlighting a Buddy and going the the Buddies Menu > Send File.
    This method tends to point to error with the File Transfer port not being open.
    So...
    Check you can send Files first by all three methods.  (these tends to ignore  Firewall and Router settings as it is Outgoing)
    Get your Buddy to Send by all three methods.
    IF this is AIM and you are having issues log out of the Account  (IChat > Preferences > Accounts > Account Info Tab (Deselect "Use this Account")
    Now go to the Sever Settings
    Change the Default port from 5190 to 443.
    iChat Logs in on port 5190 using the TCP Protocol.
    File Transfers or Direct IMs when done in a Chat are sent on Port 5190 but on the UDP Protocol (It is Peer-to-Peer).
    Some Router don't like this dual Use.
    If you still have issues then you will need to either Enable the Firewall and check iChat in in the List of allowed Apps and/or open  port 5190 in you router. (on the UDP Protocol if stated)
    10:22 PM      Wednesday; September 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Help! I cant drag iPhoto event to desktop.

    I cant drag an event from iphoto to a folder on desktop, when I try nothing happens.

    Use the File -> Export command.
    If that doesn't help then you'll need to give a lot more information.
    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. More information means you get better assistance.

  • Does anyone know how to sync iCal with events from your iPod Touch?

    So I use my iPod for events more than I do with my MacBook. However I'm trying to sync iCal on my computer with the events on my iPod yet I haven't found a method that actaully works.
    Does anyone happen to know of an effective method where you can move events from your iPod to your MacBook?

    Update your Mac OSX to 10.9.3, syncing locally is back.

  • Images from my i-pad, stored in i-photo, will randomly refuse a drag and drop attempt. I can move the image to the desktop, and from there to the document (mail etc.) and it will work (display image). As I mentioned, these events are random. ....Help !

    When executing a drag and drop from i-photo to a document, occasional, random, images will refuse  drop onto the document. The work around is to drag the offending image to the desk top, and from there to the document.
    Question:  What is causing these random "rebel" images to misbehave ?

    It is better to use export or to use the media browser form the target program
    See this user tip for details on accessing your photos
    LN

  • I have lost nearly all my photos and events.  I received a message effectively saying that I need to upgrade from an old base.  I think I may have tried to open an event that was stored in iPhoto Buddy a few days ago.

    I have lost nearly all my photos and events.  I received a message effectively saying that I need to upgrade from an old base.  I think I may have tried to open an event that was stored in iPhoto Buddy a few days ago.  iPhoto Buddy is not supported in Lion.  How can I retrieve my phjotos?

    What version of iPhoto?
    Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Listening to Drag and Drop event from the extension panel

    How is it possible to detect a drop event from a Layer to a text field in a panel developer using the SDK?
    Drag and drop operation between panel elements are not the issues, but drag and drop from Photoshop and the panel might be an issue.
    Is it possible to implement them?
    If yes, could I be redirected to the documentation topic or can someone post some code snippet ?
    Thanks

    What model of camcorder is your video from and what resolution is it?
    What operating system are you using? Have you ensured that you have the latest version of Quicktime, per the program's requirements?
    Do not convert your video. The program will best with video directly from a camcorder, and converting it may will turn it into a format that it may be LESS likely to work well with.

  • Hello, does anyone know why when i drag and drop from the internet,why my images never show up?

    hello, does anyone know why when i drag and drop from the internet,why my images never show up?

    I'm wanting to drag images from the internet into a folder on my desktop or hard drive. I am used to being able to drag just about any image from any website off the web and into a folder on my old mac, but since I got my laptop, I've noticed I cannot do that. Is it a preference?

  • HT6012 While trying to update projects and events from a previous version of iMovie to iMovie '11, someone forced iMovie to quit.  Now when I start iMovie '11 and try to update, a message says no projects or events can be found?  Any suggestions?

    While trying to update projects and events from a previous version of iMovie to iMovie '11, someone forced iMovie to quit.  Now when I start iMovie '11 and try to update, a message says no projects or events can be found?  I know there are previous projects and events, and they definitely have not been updated because they do not show up in my iMovie'11 library, events, or projects.  Any suggestions?

    I also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
    I am running Yosemitie on a  iMac.
    Paul

  • Supress image in Drag operation from af:image Drag Source

    We have a image with client Attribute that is used as AttributeDrag Source
    jsff snipped looks like this
    <af:image id="image1" ....... source= ........
    <af:clientAttribute name="SymbolId"
    value= .......
    <af:attributeDragSource attribute="SymbolId"/>
    </af:image>
    When user does a drag from this image, by default, user sees the same image being dragged
    We need to suppress the image and just show a + icon while drag is in progress.
    Any pointers ?
    Thanks,
    Jaspal

    I understand this is the default behavior.
    To clarify the Use Case, we drag from adf image into a flex region. Once drag enters flex, flex fetches a different image for the object being dragged
    User sees 2 images when drag enters flex, a ghost image coming from adf and the correct scaled down image from flex. We need to suppress the ghost image from adf
    Looking for workaround (maybe javascript) to suppress the ghost image and just show a + icon while drag is in progress

Maybe you are looking for

  • Running report from command line with multiple value for same parameter

    Hey, I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values t

  • Quicktime works for me

    i've made various files all with audio some with surround sound. the video is fine and the sound is fine. i'm using pro 7.0.4.

  • Has anyone tried to use bluetooth headsets in a school lab setting?

    Our K-5 school has a lab of 30 Intel iMacs. We've had problems keeping wired headsets in good working condition and are looking to possibly replace them with bluetooth headsets. I am hoping someone has done this and can give a yes or no to this idea.

  • Cannot restore data after hard reset

    Hi, I had to recently do a hard reset on my Tungsten E. I tried to restore the data from Palm Desktop as indicated on the support website. Unfortunately, the synchronisation fails because Hotsync is not able to recognize the user name. Hotsync on my

  • SAPscript - Fixed position for vline

    Greetings. Hi i'm facing this problem in fixing the position for my vline ( to draw vertical line). The reason i need this solution is because currently i'm using variable that have flexible length. The vline will be push to the left and right depend