How to make symbol become designated drop area?

Previvious discussion http://forums.adobe.com/message/5173983#5173983
ok this is what I got so far, four squares on the grid, respectively named: squareC1, squareC2, squareC3, squareC4. Now I want the square that we named smallSquareName to be able to fit in any of the other four, how do I tell AS3 that smallSquareName can fit in any of these squareC1, squareC2, squareC3, squareC4, at the user’s will, because as it is now smallSquareName can roam freely all over the screen (not that it is a bad thing) But just like a game of chess I want smallSquareName to move according to the guidelines of the game.
Anticipating thanks

well I think I understand the logic in that ,however I'm not sure that I know how to accomplish it, first of all I think that I got the Array correct, however when I try to use the  hitTestObject mentioned I’m getting all sort of error,  so I was thinking if it’s ok for me to send you (or anyone willing to help)my files so that you can help me correct the mistakes. My aim is to make the red square fit into any of the bleu. 
here is the file http://www9.zippyshare.com/v/76591404/file.html
Anticipating thanks

Similar Messages

  • How to make Adobe LiveCycle Designer ES 8.2 file compatiable with Adobe Reader X

    Adobe Reader X sporadically is unable to save or print a file created in Adobe LiveCycle Designer ES 8.2. Does anyone have any suggestions on how to make it compatiable/stable with reader X? We want to deploy reader X with Win7 32 bit

    I am not aware of any issues in that area ...can you provide more information as to when it is happening?
    Paul

  • How to make symbol changeable?

    hi
    im making a flash animation in which i made a symbol called #_mc which is in a symbol called #_anim_mc withhin the sceane.
    the #_mc contain "#". the #_anim_mc contain motion tween of the the "#" coming in from the left to the right. now within the main timeline i duplicated the #_anim_mc 100 times and i need to switch them with numbers but not all togethor. one by one. for ex: the 1st after 20 frames the 2nd after 28 frames etc.  now i dont know how to make changes in each one to time them when to switch to a number. the only think i can think about is to make 100 differnt symbol each one allready set to its own timing. im not so fermiliar with scripts.
    any idea anyone?
    thanks.

    It is possible to do the same using action script. At the same time you don't need to create 100 different symbols if the animation is same. Just create a single anim_mc symbol which has a #_mc symbol as its child. Use the copy motions as action script option and paste the code on the actions window of respective frames that you want to animate. After doing so, u can remove the tween from the main timeline.
    (For more information on copy motion on action script refer to the following link);
    http://blogs.adobe.com/rgalvan/2007/05/copy_motion_to_as3.html

  • How to make round curves when you are animatting with the Rec mode?

    Hi! I am making a project in motion. I recored a freind writing words and stuff in the roof of my house with two flashlights. My plans was to follow the lights with motion traking: Analize move or match move. And then add a particle emmite for making something like this: http://www.youtube.com/watch?v=MZf2W3S7gV0&feature=fvw . When i tried to make the match move it was imposible. So i desided to make it manually with the REC button. And it work perfectly, the only problem is that it can's achive the round cruves (bezier like). I can only make squared like turns and it looks awful. I have also tried bezier as a path but i don't know how to make the particle emmiter follow it with different speeds, becouse the movement of the flashlight is inconstant.
    What can i do to make a round curved path and make a particle emmiter follow it with the rec button with the different speeds of the flashlights? Please help me!!!! I have to deliver this work for tuesday!
    Thanks for you time y hope you can help me out as soon as possible.
    Juan Javier.
    PD Sorry for my english! jajajaja.

    Juan Javier Ibarra Pitts wrote:
    When i tried to make the match move it was imposible.
    Hi
    Why was it impossible?
    It sounds like tracking is the only way your going to achieve what your after given the way you've shot your footage and the spatial and temporal nuances therein.
    You'll find comprehensive instructions on how to track particles to footage starting on page 49 of this document:
    http://manuals.info.apple.com/en/MotionSupplementalDocumentation.pdf
    Regards.

  • How to make buttons work in drop down movieclip in flash???

          I am trying to make an index page with buttons for a photography site.  the entire page is built in flash so far.  My question is that I have created a drop down menu that is a Movieclip with 5 buttons.  I can not seem to assign an external web page to each buttons that are under the movie clip drop down menu.   Is this a possible??   The Movie clip is run by mouse-over the word "studio Gallery" button.  This drops down the 5 gallerbuttons (Portrait, children, wedding, Artistic Babies, etc...).  In Flash 8 Pro I know I can assign an external web page named children on the main page but how do I assign these to the buttons in the drop down once the movieclip is made.  Is this where I need to use folders with extra layers in the folder to make it work??
    In case you can not tell I am new to this and have been teaching my self with "Training from the Source" and also "Visual Quickstart Guide"  so go easy on me  8-)
    Randy

    Ned Murphy,
    Your advise was very helpful as I found the info that was very helpful
    with the google search.   I still have one nagging problem, I get an
    error shown below:
    *Error* Scene=Scene 1, layer=Buttons, frame=1:Line 2: Mouse events are
    permitted only for button instances
         on (rollOver) {
    Other than the difference of onrelease to on (rollOver) I see no reason
    for this error
            The clip works but when the mouse rolls out it does not close
    the dropdown menu I have included the drop down file here also.   I will
    be using this to add the resulting "swf" file to the area on my larger
    fla to get the menues working but I don't want the menu to stay open
    once someone rolls over it if they want to goto an other spot on the page.
    I'm 53 yrs old and can not afford much more Hair pulling I will be bald
    if the little stuff wins....
    Thanks for the help
    Randy
    What you should do is search Google using "AS2 drop down tutorial".  That should produce a few results that you can use to guide you thru the process.
    I cannot tell clearly from your description so far, but it sounds like your movieclip contains the buttons and has a rollover assigned to it.  That rollover will block interaction with the buttons.  So your best bet is to get a hold of a tutorial that will walk you thru the process so that you can get your buttons working the way you want.
    >

  • How to make div id properties drop down wider?

    When working with div's you can assign/create a div ID name to them. These are all remembered throught Dreamweaver so you could apply the same div ID to another div having the CSS properties already created quickly applied to this new div.
    My issue is that the Div ID pull down menu in the properties panel is so narrow that it does not display the entire name of previously created divs.  Considering several of them begin with similar names, seeing which one to choose is impossible because I cannot see the full name in the drop down list.  Is there another place to pick from the list of previously created div ID's or better yet a simple way to resize the width of the div ID name in the properties panel....seems like a oversight unless I'm missing something.
    Hope this makes sense and there is a simple solution.
    All the best,
    James Hooey
    http://www.soundprostudios.com

    Switch to code view.
    Type <div id= or <p class=
    DW's code hinting will give you a list of choices.  See screenshot.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • UI - How to make Columns in a Drop Down List Selection?

    I am altering a code from Peter Kahrel "Beginning Script UI". I am trying to make a searchable drop down list that will have 4 columns. So far, the search works and I have headings in the search, but I cannot seem to make the columns for the actual data. I believe I need to change the type_ahead since the array is looking at this data. I'm stuck in the water. Can someone tell me what I need to do to get the list to show up as columns? How do I turn the picked = type_ahead data into four columns? Code and Screenshot below:
    picked = type_ahead (["bat", "bear", "beaver", "bee", "cat", "cats_and_dogs",
    "dog", "maggot", "moose", "moth", "mouse"]);
    function type_ahead (array)
    var w = new Window ("dialog", "Quick select");
    var entry = w.add ("edittext", [0, 0, 800, 22]);
    entry.active = true;
    var list = w.add ("listbox",  [0, 0,800, 500], "",
    {numberOfColumns: 4, showHeaders: true,
    columnTitles: ["Non-Approved Word", "Approved Alternative", "Approved Use", "Non-Approved Use"], columnWidths: [200,200,200,200]});
    list.selection = 0;
    entry.onChanging = function ()
    var temp = this.text;
    list.removeAll ();
    for (var i = 0; i < array.length; i++)
    if (array[i].toLowerCase().indexOf (temp) == 0)
    list.add ("item", array[i]);
    if (list.items.length > 0)
    list.selection = 0;
    entry.onChange = function () {w.close (1)}
    if (w.show () != 2)
    return list.selection.text;
    else
    w.close ();

    Hi Peter,
    This is one of those developments that push the limits of my knowledge-base and when things do that, I lose sleep until I figure it out. With that said :-) here is where I have ended up.
    Basically I made a new array for the table data.  I then use an array lookup to sort the array in the listbox based on the 0 array item. See the code below. Once it is loaded type in "b" and the list will start to sort.
    I need to try to get this to work as a pallete instead of a dialog box. Do palletes support this type of functionality?
    var newarray = new Array(
    new Array('Butterfly ','has wings','can fly'),
    new Array('bohemith moth','has wings','cannot fly very good'),
    new Array('word 3','replacement word','use case'));
    picked = type_ahead (newarray);
    function type_ahead (array)
    var w = new Window ("dialog", "STE Checker");
    var entry = w.add ("edittext", [0, 0, 800, 22]);
    entry.active = true;
    var list = w.add ("listbox",  [0, 0,800, 500], "",
    {numberOfColumns: 3, showHeaders: true,
    columnTitles: ["Column 1",  "Column 2", "Column 3" ], columnWidths: [200,200,400]});
    list.selection = 0;
    entry.onChanging = function ()
    var temp = this.text;
    list.removeAll ();
    for (var i = 0; i < array.length; i++)
    if (array[i][0].toLowerCase().indexOf (temp) == 0)
    with (list.add ("item", array[i][0]))
    subItems[0].text = array[i][1];
    subItems[1].text = array[i][2];
    if (list.items.length > 0)
    list.selection = 0;
    entry.onChange = function () {}
    if (w.show () != 2)
    return list.selection.text;
    else
    w.close ();

  • How to set PS for the most reliable image previews and how to make sure the color spaces are the same across plateforms

    I've been having an ongoing problem with some of my images changing color/luminance values after merging or flattening an image. This seems to most often happen if I use one of the filters (like crosshatch or notepaper, not sharpen or blur). I can make a copy using command/option/shift + E which most often will look exactly like what's on screen.
    Some people have suggested that it's to do with resolution, PS showing me a low resolution image but I don't think so because the histogram changes -- sometimes in a big way, but most often those spikes in the luminance levels are shaved off. Also, when I have the image open at 100% and effect a merge/flatten, the color changes.
    I'd like to know if there's a way to have PS show me one for one what I'm working on while I'm working on it, or if there is a way to control the color profiles when I'm saving. My best guess at this point is that there is a color profile mismatch going on somewhere. I just don't know where to look for it.
    Typically I work in 16 bit, so my color space is set to ProPhoto RGB; my camera is set to the Adobe color space;
    color management policies are set to preserve color profiles;
    conversion options --> intent is set to relative colorimetric.

    But it is calibrated. I use Xrite 1 and update it every month (on the first).
    The colors can be really off. Here's an example.
    https://flic.kr/p/r6A1Zd (what I want) https://flic.kr/p/qc5QTD (not what I want)
    Also, I can't see how the bit depth will have any effect since the change in color happens in PS when I merge or flatten. It's 8 bit through the editing and 8 bit when I flatten it.
    Have you any suggestions on what I can do on the computer side?

  • How to Make a Non-Spry Drop Down Menu Bar?

    In Dreamweaver CS6, I'm building a Fluid Grid website. I'm trying to make a simple menu bar with 2 submenu items and 2 subsubmenu items. I was using Spry but found out that Spry is dead. So what do I use instead?

    First of all, if you are in a hurry, Project VII's Pop Menu Magic 3 is a great choice. Since it's a Dreamweaver plugin, making navigation is a snap. Just click on the PMM icon and start making.
    One does not need CSS3 for a drop-down menu structure—the necessary requirement to talk to a web browser is in CSS2. Also you do not need to load your website with jQuery—though I don't want to come across as "anti-jQuery."
    Here is a link to a complete tutorial on pure CSS drop-down navigation. There are dozens of others.
    The real secret is using position:relative, then position:absolute for the drop-down and hiding it by positioning it off-screen when not in use. This tutorial also uses some CSS3 for tablets and cell phones, though it is not required for desktops.
    You can take this a step further by hiding the entire navigation structure (and then revealing it) for cell phones with this tutorial. This will allow you to construct navigation for your website so that it will work for all devices.
    Please note, no jQuery is necessary in either of these tutorials.
    -Mark

  • How to make choices in a drop down box change a value in another box

    Hi,  I am fairly new to the world of creating forms in Adobe so please bear with my question if it seems simple.  I have seen where a lot of people are using code and I am very confused.  I am creating an order form and have created a drop down box (combo box).  There are 4 choices in this drop down box.  When the user chooses one of these choices, I would like an amount to appear in a seperate box.  Each choice would have a different amount.  Is this possible?  If so, could someone please give me step by step instructions.  I appreciate any help given!!

    Yes, the best way would be to set your 'Amount' value into the 'Export Value' for each item in the combobox. Then, you can set the calculation for your text field to the following (Be sure to change "ComboBox1" to the name of your combobox):
    var f = this.getField("ComboBox1");
        var a = f.currentValueIndices;
        var s
        if (typeof a == "number") {// a single selection
            s = (f.value);       
    event.value =  s

  • How to make JFrame become the topmost window?

    I have server that is supposed to show a TOPMOST JFrame window each time it gets a "Show Window" command from client. I use JFrame to create and show the window in the server code:               
    JFrame mainWin = new JFrame();
    mainWin.setResizable( false );
    Container mainContainer = mainWin.getContentPane();
    mainContainer.setLayout( null );
    // add components to mainContainer
    mainWin.setVisible( true );
    mainWin.show();
    mainWin.toFront();
    If I run the server under windows platform, the first created JFrame window is always hiding behind under other application windows. However, the JFrame windows other than the 1st one are always at top.
    The BAD thing is, if I run the server under Macintosh platform, the JFrame windows are always hiding behind the other application windows.
    Does anyone know how to fix the problem? i.e., making the JFrame window appear on top of other windows under any platforms?
    Thanks.
    ZZ
    p.s. I am using JDK version is 1.3.0.

    there is some weirdness with java I've noticed under windows during development. When you start the app from a console window or script, if you change focus to another window before the first java window shows up, it will show up behind the window you changed focus to. If you leave it alone until the window shows, it will be on top. A work around is after you call show(), call toFront().

  • SEM-BCS how to make Consolidation Unit with Business Area

    Hi all,
    I am newbie in SEM-BCS and implementing BW-based BCS. Our situation is as follows.
    Situation
    - we have 7 companies worldwide and 4 different Business areas.
       Every company consists of at least two business areas in R/3.
    - we have sales transaction in FI among companies.
    requirement
    - we need consolidated F/S in whole consolidation group and consolidated F/S in Business area level.
    actually, we are planning to make the consolidation unit in company level.
    Do we have to break down consolidation unit in business area? or just breakdown category solves our requirement?
    If we have sales transaction even between business areas within certain company, do we have to make it in business area?

    Following are the answer to your questions…
    Q:   What to do for using this cube in BCS?
    A:    Add the business area to the cube. Generate the data basis and the business area gets added to all ODS/DSO , virtual cube.
    Suggestion: To avoid deleting the Profit center cube, since you can reduce the complication.
    Q:   Is it the problem about DATA BASIS Role?
    A:   No. Assign the role of subassignment or consolidation unit as needed. If you are giving the role of consolidation unit to business area, you need to insert the char Partner business area also in the cube.
    Q:   Is there some materials to solve this situation?
    A:   Refer the matrix consolidation material in help.sap.com from BCS portion.  As per SAP literature any relevant object can be made as second consolidation unit such as business area, functional area etc. Don’t fear. Once you start it the issue will be resolved in few days.
    Expected complication:
    If you are going to make business area as subassignment then it is simple. But if you are making business area as Consolidation unit, go for partner business area in cube.
    Ensure with your BI consultant that all BCS messages are addressed in BI infoobject for business area specifically.
    Things can get complicated only if we allow for it get complicated. But you are doing great.. Keep  posted.. Good luck.!!!..

  • Upcoming notification service, how to make use of if you are small company?

    How does the upcoming notification service works? I would assume that apple does not host any code for you, but just an open service. In other words, you would need some sort of backend/server code and hosting for yourself. This is easy for companies like ebay or what not, but how bout small companies and individual developers?
    Say I'm developing an app that uses an online service and I would like to provide updates and alerts depending on the state of that service. There's no place to place that checking code. It cant be on the phone, because it cant be in the background. And it wont be on apple's server that's for sure. So I have to find a scalable hosting solution basically?
    Insights?

    Even if every iPhone user in the world bought a copy of your application you still wouldn't get the kind of traffic Google or Amazon sees. If your sales aren't enough to sustain the $50-$100/mo. a decent VPS account will run then scalability probably won't be that big of a problem for you. If they are, then this isn't really anything to complain about--every business has associated expenses, and in this case they'd likely be fully deductible.

  • How to make default value for controlling area for MDG-F 7.0

    how do we default certain pre-defined values for few fields? e.g. controlling area or company code for MDG finance?
    Thank you in advance.
    SP

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

  • How to make a Drag and Drop

    Hi, I'm new to this Adobe Edge and tried to do a Drag & Drop, the examples I've seen have not worked.
    I wonder if someone could share a file with  Drag & Drop with validation.
    What I need to do and would like to learn is:
    I have 4 buttons that I can drag and a box that I drag the right choice. If the option is correct stays, it is if it was incorrect is returned to its place of origin.
    I hope I can help, I will be very grateful.
    Thank you very much friends

    Hi I´m having an strange issue I can´t understand with my drop accept.  I explain it :
    - I have various scenes and in one of them a symbol i need to drag but this symbol must be draggable only if I click on a determinated position. I do this with a trigger and use this function at my stage.
    sym.getSymbol("_escena5").getSymbol('_filtroEscena5').$('Ellipse').mousedown(function(){
    sym.getSymbol("_escena5").$('_filtroEscena5').draggable();
    Ok it works perfect I can drag my symbol only if I touch this trigger.
    Then I need my droppable object responds to the same trigger so I use this:
    sym.getSymbol("_escena5").$('btnFantasma').droppable({
                        accept:sym.getSymbol("_escena5").getSymbol('_filtroEscena5').$('Ellipse'),
                        drop: function () {alert('Dropeo');}});
    But my dropable object does not responds. The curious thing is that if I use other object to the accept or just the "_filtroEscena5" where my Trigger is it´s works perfect. But it can responds to my Trigger. Any idea?
    Thanks so much

Maybe you are looking for