Help With Grouping Objects

I have four Pages 2 components (line of a certain color & width which will be used as a border, two text blocks, one masked image) which will hopefully be turned into a business card. Template is laid out and I'd like to move it all to there, but seemingly am unable to.
I've tried selecting and grouping them ( Arrange >Group) but that doesn't work. I can't get the line object to be selected along with the other three, no matter which selection trick or technique I happen to try. I can select either the bordering line or whatever number of the three other objects, but never all four at the same time.
Is this a limitation in Pages or am I simply missing something? If it can't be done, can you recommend some other way of getting to the same goal?

Peggy,
They may have been, but they're now gone. I gave up on the idea of using lines for borders for another reason, e.g., the measurements get messed up due to how the line is drawn or measured to/from.
I did move to the AW way of doing it, basically nested 'boxes' of different shapes, all of it to be stacked and then the text boxes/images to be moved onto it.
Same problem; could not get all of them go Group. In fact, after several tries and undos, I couldn't get any of them to. Pages tends to get lost, I think.
Ran into other problems also; when the image you are using is a cropped (masked) one, you seem to be stuck with the adjustment bars for the whole thing. The result of this, for example, is seen when you subsequently do Group say that masked image with several other items like text frames or whatever else is working — you wind up with something which can be quite a bit larger than the visual end product.
The drawback here is seen when you then drop all of it into a template like the one for the business cards; the whole thing gets correspondingly shrunk and the aligment you set up on the master can't be retained.
Pages seems to have no capability to simply crop/mask off part of an entire construct, identify that as what you really want to play with, and to simply throw away the rest. Some objects I still can't get to group in with the rest, no matter what I do or how I do it.
Short term workaround was to just put it all together and then take a screenshot of it. That works, and that image can then be dropped into each of the ten slots in the Avery template imported in Pages. It all works, but you do lose some sharpness in the end product.
Of course, my printer just won't quite feed the Avery sheets correctly and I wind up with those irritating white lines along some of the borders. That's some other issue, however. Oh, well ..........

Similar Messages

  • Help with layered objects

    I am new to Pages and struggling to layer objects. I am working with opacity, but unable to move one object on top of another.
    thanks for any help,
    Kim

    Welcome to Apple Discussions Kim
    When you insert any object in a Pages document & have it "fixed on page," by default wrap is turned on with a 12 point gutter. This results in objects "pushing" other objects out of the way. With your object(s) selected, go to the wrap inspector & uncheck "object causes wrap." Unfortunately, there is no way to change this default setting, it will have to be done manually for any object inserted. You may wish to leave feedback for the Pages team asking that the ability to have wrap apply to all objects or not be added as a preference in future versions of Pages.

  • Please Help with group chat probs

    I don't get any sound or vibe notification for my group chats also In my group chats if a pic is posted and then comments made on that pic I can't scroll up or down to see all comments. This is something I need to fix as we use pic with chats at work.  I can't get the info I need.  If any one could help with this problem please do. This problem has only been since I upgraded to the newest bbm messenger last week. I have the Q10. I pulled the battery and sims card but this did nothing to fix the problem. Please if anyone can help!
    Thank you all  

    Please make sure you are using TRUCN() in your GROUP BY expression. This function will truncate the date by removing time content.
    Best of luck!

  • Alright I give! I need some help with groups/busses and more please..

    Hi all,
    Well, its now been a few weeks of my off and on testing with my new Logic Rig, I have every plug I can transfer over to UB that I can and now am trying to get deeper into things.
    First I struggled with learning the environment (I still dont get it fully) but now I am really confused about group and fx tracks.
    - Am I missing something or is everything just a buss turned into a group? This also included creating an FX track?
    If this is the case then its not nearly as complex as I think it is but I cant figure certain things out with the way logic handles naming in regards to its busses.
    Lets say I want to create a sidechain group. I take an audio track change it to represent buss (1), I then rename buss 1 to SC-GROUP, now any window that I drop down to find the newly names SC-GROUP always remains named as buss (1). This even happens when I rename the buss direct from the audio environment.
    I must be missing something, whats been confusing the heck out of me is that no matter how I try and name things they always remain their original names in any menues as the example of the buss (1), so how do I rename these channels so I can clearly know exactly where I am routing audio?
    So lets summarise where I am lost so far hehe.
    1. Are groups really just empty busses renamed to act as a group?
    2. How can I rename a buss/group and be able to see the renamed channel in the menues.
    and for the 3rd new question of sorts...
    3. FX Sends, again is this just a buss that has an AU inserted into its channel and then rout the insert of an additional audio channel to the buss with the FX inserted?
    and now my last uestion of the day if I have not confused you to death so far
    Why is it that when I add a AU lets say battery as instrument 1, when I add another in the window and I rerout an instrum,ent track the next AU shows up at the bottom of the list instead of inst. 2?
    If I am not explaining myself clearly enough for any of my examples let me know so I can try to better represent my questions. I am still so new to Logic and still have yet to get the bulk of the simple operations down just yet..
    Thanks again for all your asistance!

    Thank you guys,
    So if I understand right, a sub buss is nothing more than a routing the output of a few channels to a buss to control a few aspects like I had mentioned compressing an entire group of tracks EG: a drum buss (in this situation a drum sub buss?).
    So I will have to reffer to the manual again to read the details on an actual group since it does seem there is a difference EG: the group can actually manipulate the faders of channels routed to the group?
    FX busses seem to be just that, slap an FX info either and AUX channel or a buss and then set the insert of that AUX or buss desired.
    The reason I asked about naming is that lets say I have 6 effects tracks I wish to use lets say as an example AUX1=Short Delay, AUX2=Long Filter Delay, AUX3=Slap Verb, AUX4=Long Verb and so forth.
    When I go to actually use these inserts I need to assume I know exactly what AUX I assigned each effect to, if I could simply rename this AUX track to refference the effect it would make so much more sense then trying to remember what AUX5 was.
    In regards to my last question here is a bit more of a detailed explanation, please bare with me as I am not in front of my computer.
    1. I add battery into Audio Instrument-1
    2. I then configure my environemt to use my AUXs I already have inplace for audio routing.
    3. I then edit the Audio window create the midi for a new multi-instrument.
    4. I come back to the main arrange window and hold-click on the next available audio-instrument and in the instrument window battery will be instrument 1 out of how ever many blanks apear EG:25+
    5. Now I go to add lets say Stylus RMX into the next available mutli audio instrument. I then repeat steps 2,3,4.
    Now when I get to step 4 this time instead of audio instrument 2 from the lint being Stylus it shows up as the last possible instrument in the drop list that appears under audio instrument from hold-click on the audio-instrument track.
    Its just odd, it should be instrument 2, but instead it shows up as the last possible choice.
    Maybe I am doing something wrong, even sometimes when I grab on of batteries midi tracks and create next object I will get a random audio track in there out of no where, or maybe its just a bug with battery.
    Any ideas? If I still am not describing this right, I will post a step by step this eve of exactly the steps I am taking.
    Thanks again, this forum has been very helpful in getting me going with the questions I just cant seem to get around from my Nuendo work flow.
    Cheers!

  • A Possible Bug With Grouped Objects

    This is my problem:
    1. I group a drawing or I create an object (movie clip, graphic, button...)
    2. I double click the object/group on scene to edit.
    3. I go in to the group.
    4. I go back to the scene by double clicking somewhere empty.
    5. And object is gone. It's invisible. I can only bring it back by clicking on something NOT GROUPED on scene, or by clicking the red line on the timeline.
    Note: This problem seems to be not occuring when I go back to the scene via the blue arrow icon pointing left at the top or by clicking the scene name.
    I use Flash CS5 on a Windows 7 PC.
    A collegue of mine said that the same problem was also can be seen in Flash CS4.

    I tried reproducing the issue with the same setting and was unsuccessful in doing so.
    I think the issue could be because you might have nested symbols and you are not sure under which depth you are operating under.
    The bread crump trail is essentially created for this sole purpose. This helps you in finding out what you are editing and in which depth you are editing.
    Please find the screen shot.
    Also search the internet for more articles on using the bread crumb trail.
    Hope it resolved your problem!

  • Help with Groups and Effects

    I'm still fairly new to Illustrator so even when I tried to Google for my solution I didn't know how to word it properly so I though you guys would be able to help me.
    So, basicaly I'n trying to keep my "Flag" effect applied to the ribbon/banner but i want only the top of it to be above the circle. However, if try to take the top selected layers out of the group to place on top of the circle, the "Flag" effect
    resets or if I try putting the cicle in the group it gets the effect applied on to it, which I don't want. Only way I can think of doing it is with a clipping mask but it doesnt look so great :/

    Both Groups and Layers are nothing but sets of objects which are contiguous (next to each other) in the object stacking order. Just think of them as "brackets" around a portion of a list for organizational and selection convenience.
    All objects reside on a Layer. Layers contain Groups and objects, because a Group is a kind of object in the same sense that a set of objects in set theory is itself treated as an object. Layers are not contained in Groups. In Illustrator, all objects are listed in the Layers palette; that does not make them Layers. Layers can exist and be completely empty. Groups can't.
    Objects all exist in a stack. A path is an object. You cannot have one portion of object A in front of object B and another portion of object A behind object B. All such appearances of objects intertwining that way are "faked" by using multiple objects which merely appear to be one object.
    It's not clear from your description what exactly you are trying to accomplish. But basically, you will most easily accomplish it by cutting either the ribbon or the ellipse at places where they don't overlap. Others often trot out recommendations involving clipping masks. In the vast majority of cases, tedious masking is not necessary, and simply cutting a path into two or more objects and restacking them is both easier and simpler in terms of the resulting constructs.
    JET

  • Help with Combining Objects

    I've been thinking of submiting some of my Illustrator designs to iStock and I want clean up the files and perhaps combine some of the objects so there isn't this bigg mess of layers. The problem I'm having is that some objects need to be on top of other objects - for example a shadow on a foot needs to be above the layer with the foot's primary color. So if I wanted to combine objects that are in this kind of order would anyone have any tips or suggestions? I also want to combine layers that have just lines I've drawn on them, like movement lines which are just open paths with strokes. If I could get these types of objects all merged into one object then I could cut down not only on the size of the file but also the number of layers involved. This way when someone buys it from iStock they're not faced with this huge file with hundreds of layers.
    Any help would be appreciated.
    Thank you.

    Fully familiarize yourself with these topics:
    Combining paths. These are functions common in vector programs which union, punch, and intersect multiple paths. In Illustrator, they are called Pathfinders.
    Outlining Srokes. Creates unstroked filled paths around the edges of stroked paths. Understanding this is integral to using path combination functions in Illustrator especially, because Illustrator is so poor at cutting and dealing with open unfilled paths.
    Transparency and other Raster Effects. You need to understand which effects and transparency settings result in rasterization, and what that portends regarding the scaleability of your artwork.
    Color Model. Are you going to deliver CMYK or RGB files? Do you know why?
    What format do you intend to provide to the clipart reseller? Native AI files? If so, what version?
    Merely having Layers in your AI file does not significantly affect file size. An AI file is a stack of objects. That's true whether the whole stack of objects resides on a single Layer or a hundred Layers. Layers are nothing but another way of "grouping" subsets of the object stack for organization purposes. You seem to be thinking of Layers in AI as similar to Layers in Photoshop. That is a very common and very basic misunderstanding of the nature of vector artwork.
    It's the object constructs that you need to concern yourself with when creating clean, efficient, reliable, versatile, and easy-to-work-with vector artwork. "Normalize" things to their simplest constructs. Avoid unnecessary anchorpoints, clipping paths, masking, so-called "transparency" and "live effects."
    I very much applaud your desire to build clean files. (There is far too much sloppy, convoluted crap floating around out there nowadays.) Not meaning to discourage, but the fact of your concern about Layers frankly suggests that you may not really be ready to be delivering ready-made and problem-free artwork for widespread use as clipart. You need to fully understand the items mentioned above, and alot more. Asking questions in a user forum will be a very slow method of learning that stuff--there are too many variables and specific situations.
    JET

  • [JS] CS3 Help with groups needed

    Hi.
    I am formatting a page of text frames, and images, and trying to group the selected objects together.
    While formatting the pageI am gathering an array of variables:
    myGroupArray = new Array();
    myGroupCounter = 0;
    myGroupArray[myGroupCounter]="myTextFrame";
    myGroupCounter++;
    etc...
    when I am finished a section, I want to group the contents of the vaiable 'myGroupArray'
    I am using this line:
    myGroup = myDoc.groups.add(myGroupArray);
    but getting an error 'Invalid value for parameter 'groupitems' of event 'add'. Expected Array o...t received("myTextFrame","myCorrectPic","myPriceFrame","mtQtyFrame").
    Can someone help me on this?
    Cheers
    Roy

    (Without actually trying it in ID)
    myGroupArray[myGroupCounter]="myTextFrame";
    That adds a string to the array, not the frame. If "myTextFrame" is a variable pointing to a text frame, simply use
    myGroupArray[myGroupCounter]=myTextFrame;
    By the way, have you been programming in other languages in the past? I have, and used
    myGroupCounter++;
    as well until finding out that for arrays, this built-in array function works equally well:
    myGroupArray.push(myTextFrame);
    Types much faster, and if you need the number of elements, you can always use myGroupArray.length.

  • Help with shared objects...again...

    Okay, I've been looking at a really good tutorial for shared objects in AS2, and I think I've gotten the basic concept down of how they work... now the problem lies in just integrating it into what I already have, which is making my brain hurt.  Basically its for a quiz game, which will have a dynamic scoreboard.  I want the scores in the shared object to update when the submit button is pressed, and then have the new values loaded into text boxes.  Displaying the values is going to be the easy part, its just updating them is what my brain doesnt want to wrap itself around.  Here is the array I have at the moment (yes, horribly inefficient, but the last time I actually did any coding before this was over 2 years ago when I was still a computer science major... with all of 4 actual Comp Sci courses under my belt -_-)
    scores= new Array();
    names= new Array();
    insert=function() {
         var newscore;
         var newname;
         newscore=0
         newscore=_global.correct;
         if (newscore > scores[0]) {
             scores[14]=scores[13];
             scores[13]=scores[12];
             scores[12]=scores[11];
             scores[11]=scores[10];
             scores[10]=scores[9];
             scores[9]=scores[8];
             scores[8]=scores[7];
             scores[7]=scores[6];
             scores[6]=scores[5];
             scores[5]=scores[4];
             scores[4]=scores[3];
             scores[3]=scores[2];
             scores[2]=scores[1];
             scores[1]=scores[0];
             scores[0]=newscore;
             names[14]=names[13];
             names[13]=names[12];
             names[12]=names[11];
             names[11]=names[10];
             names[10]=names[9];
             names[9]=names[8];
             names[8]=names[7];
             names[7]=names[6];
             names[6]=names[5];
             names[5]=names[4];
             names[4]=names[3];
             names[3]=names[2];
             names[2]=names[1];
             names[1]=names[0];
             names[0]=newname;
             else if (newscore > scores[1]) {
             scores[14]=scores[13];
             scores[13]=scores[12];
             scores[12]=scores[11];
             scores[11]=scores[10];
             scores[10]=scores[9];
             scores[9]=scores[8];
             scores[8]=scores[7];
             scores[7]=scores[6];
             scores[6]=scores[5];
             scores[5]=scores[4];
             scores[4]=scores[3];
             scores[3]=scores[2];
             scores[2]=scores[1];
             scores[1]=newscore
             names[14]=names[13];
             names[13]=names[12];
             names[12]=names[11];
             names[11]=names[10];
             names[10]=names[9];
             names[9]=names[8];
             names[8]=names[7];
             names[7]=names[6];
             names[6]=names[5];
             names[5]=names[4];
             names[4]=names[3];
             names[3]=names[2];
             names[2]=names[1];
             names[1]=newname;
    Continues all the way down to scores[14]
    Now, if I wanted this to pull data from the shared object, would I just put user_so.score[3]=user_so.score[2] for instance?  Or would I run the array and just update the new valued individually once the array insertion function completes?  THe problem with the latter is that it's not directly accessing the shared object so I'd need to find a way to pull them out into other variables first, and this is about the point where my brain just decides to short out on me and stop working alltogether...yay...
    So yea, any help on this would be much appreciated.
    also, would the array have to be declared within the shared object as well?  If so, how would I do that exactly?  Probably something so simple but the fact that it's shared objects is throwing me off...

    Ok, the shared object WAS working just fine until I had the banner start referencing it.  Then the quiz began giving me syntax errors like crazy, and even when the banner isnt runnit it gives me issues.
    user_so.data.soArray[0]=scores[0];
    user_so.data.soArray[1]=scores[1];
    user_so.data.soArray[2]=scores[2];
    user_so.data.soArray[3]=scores[3];
    user_so.data.soArray[4]=scores[4];
    user_so.data.soArray[5]=scores[5];
    user_so.data.soArray[6]=scores[6];
    user_so.data.soArray[7]=scores[7];
    user_so.data.soArray[8]=scores[8];
    user_so.data.soArray[9]=scores[9];
    user_so.data.soArray[10]=scores[10];
    user_so.data.soArray[11]=scores[11];
    user_so.data.soArray[12]=scores12];
    user_so.data.soArray[13]=scores[13];
    user_so.data.soArray[14]=scores[14];
        _global.player= "Input Name";
        player.text=_global.player;
        _global.correct= 0;
        phrase=" ";
    gotoAndStop (1);
    these are the lines it's telling me I need an on handler for, which I do have, at the very start of the entire code.
    Ive counted the brackets and those seem to line up, but I'll double check again.  The code is on the submit button itself (yes I know it's poor coding form, but this is how I learned it and what I'm used to, and since I'm on a bit of a time schedule now isn't the time to completely re-learn the proper conventions and etiquite of coding in flash).
    on (release) {
        if (user_so.data.tname!=undefined){
            user_so.data.tname = _global.player;
            user_so.data.newscore = _global.correct;
            insert=function() {
        var newscore;
        var newname;
        newscore=0
        newscore=_global.correct;
        if (newscore > scores[0]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=scores[2];
            scores[2]=scores[1];
            scores[1]=scores[0];
            scores[0]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=names[2];
            names[2]=names[1];
            names[1]=names[0];
            names[0]=newname;
            else if (newscore > scores[1]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=scores[2];
            scores[2]=scores[1];
            scores[1]=newscore
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=names[2];
            names[2]=names[1];
            names[1]=newname;
        else if (newscore > scores[2]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=scores[2];
            scores[2]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=names[2];
            names[2]=newname;
            else if (newscore > scores[3]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=newname;
            else if (newscore > scores[4]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=newname;
            else if (newscore > scores[5]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=newname;
            else if (newscore > scores[6]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=newname;
                else if (newscore > scores[7]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=newname;
                    else if (newscore > scores[8]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=newname;
                        else if (newscore > scores[9]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=newname;
                            else if (newscore > scores[10]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=newname;
                                else if (newscore > scores[11]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=newname;
                                    else if (newscore > scores[12]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=newname;
                                    else if (newscore > scores[13]) {
            scores[14]=scores[13];
            scores[13]=newscore;
            names[14]=names[13];
            names[13]=newname;
                                        else if (newscore > scores[14]) {
            scores[14]=newscore;
            names[14]=newname;
        else {
            user_so.data.tname = _global.player;
            user_so.data.newscore = _global.correct;
            scores[0]=user_so.data.newscore;
            names[0]=user_so.data.tname;
    user_so.data.soArray[0]=scores[0];
    user_so.data.soArray[1]=scores[1];
    user_so.data.soArray[2]=scores[2];
    user_so.data.soArray[3]=scores[3];
    user_so.data.soArray[4]=scores[4];
    user_so.data.soArray[5]=scores[5];
    user_so.data.soArray[6]=scores[6];
    user_so.data.soArray[7]=scores[7];
    user_so.data.soArray[8]=scores[8];
    user_so.data.soArray[9]=scores[9];
    user_so.data.soArray[10]=scores[10];
    user_so.data.soArray[11]=scores[11];
    user_so.data.soArray[12]=scores12];
    user_so.data.soArray[13]=scores[13];
    user_so.data.soArray[14]=scores[14];
        _global.player= "Input Name";
        player.text=_global.player;
        _global.correct= 0;
        phrase=" ";
    gotoAndStop (1);

  • Help with Dynamic Objects

    Hi All,
    New to Flex and wanted to get some help from the public.
    Basically, here's what I want to do.
    I have a tab navigator with multiple tabs. Each tab has a
    datagrid on it. When you click the tab, the grid should update to
    new data based on the tab clicked. That's no problem. The problem
    I'm running into is that because the data is taking a while to
    retreive from the server, users are getting the previous's tabs
    datagrid until the information is updated. I wanted to do two
    things:
    1) Change the cursor to a "thinking" or "processing" icon
    where clicks can't be done until the full data has been retreived
    and updated. This is a nice to have; i haven't the slightlest clue
    on how to accomplish this.
    2) In lieu/addition to #1, i wanted the datagrid to be
    dynamic. Meaning, if you go to the tab, it'll add dynamically the
    datagrid to the tab and then show the data.
    Here's my code, but it doesn't work very well. Any help i can
    get from you guys would be great:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="horizontal" initialize="createDataGrid()">
    <mx:Script>
    <![CDATA[
    import mx.controls.DataGrid;
    import mx.managers.PopUpManager;
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.containers.HBox;
    import mx.containers.TabNavigator;
    [Bindable]
    private var infoDataGrid:ArrayCollection;
    [Bindable]
    private var currentID:String;
    [Bindable]
    private var dynDataGrid:DataGrid;
    private function createDataGrid():void {
    dynDataGrid = new DataGrid;
    dynDataGrid.dataProvider=infoDataGrid;
    dynDataGrid.width=80;
    private function getDataFromServer(event:ResultEvent):void {
    var numOfRecords:int = event.result.result_set.num_rows;
    if (numOfRecords > 0 ) {
    infoDataGrid = event.result.result_set.results.result as
    ArrayCollection;
    } else {
    // no information retrieved worry about this later
    private function mainBuilder( event:Event ):void {
    var tabNavigator:TabNavigator = TabNavigator( event.target
    var pattern:RegExp = /\D/gi;
    if (tabNavigator.selectedChild.id != "NewTab") {
    // Remove all non-digits from LID
    var str:String = tabNavigator.selectedChild.id;
    currentID=(str.replace(pattern, ""));
    phpHTTPService.send();
    // loop through all children and remove any datagrids while
    adding to the current one
    for (y=0; y<tabNavigator.numChildren; y++) {
    var tmpNavID:String = tabNavigator.childDescriptors[y].id
    if ((tmpNavID == tabNavigator.selectedChild.id) &&
    (tmpNavID != "")) {
    // this does not work as intended...
    tabNavigator.selectedChild.addChild(dynDataGrid);
    } else {
    // this does not work.
    //How do you access something directly with an ID but
    represented by a variable?
    // tmpNavID.removeChildAt(0);
    } else {
    // New Tab selected, do something here
    ]]>
    </mx:Script>
    <mx:HTTPService id="phpHTTPService"
    url="/flex/php/AssetsInLocation.php" useProxy="false" method="GET"
    result="getDataFromServer(event)">
    <mx:request xmlns="">
    <lid>{currentID}</lid>
    </mx:request>
    </mx:HTTPService>
    <mx:TabNavigator id="tabNav"
    creationComplete="tabNav.selectedIndex=0;mainBuilder(event)"
    width="100%" change="mainBuilder(event);">
    <mx:HBox id="LID2345" label="Tab 1" width="100%"
    height="100%" horizontalAlign="center">
    <!-- <mx:DataGrid dataProvider="{infoDataGrid}"
    width="80%"/> -->
    </mx:HBox>
    <mx:HBox id="LID1111" label="Tab 2" width="100%"
    height="100%" horizontalAlign="center">
    <!-- <mx:DataGrid dataProvider="{infoDataGrid}"
    width="80%"/> -->
    </mx:HBox>
    <mx:HBox id="LID1234" label="Tab 3" width="100%"
    height="100%" horizontalAlign="center">
    <!-- <mx:DataGrid dataProvider="{infoDataGrid}"
    width="80%"/> -->
    </mx:HBox>
    <mx:Canvas id="NewTab" label="New..." width="100%"
    height="100%">
    </mx:Canvas>
    </mx:TabNavigator>
    </mx:Application>
    Thanks all for your assistance.

    I think Ned is on the right track, but the specific form of
    the command may be off. If the ProgressEvent handler is defined on
    MC_Holder_Image, then the command to get the
    MC_Holder_Preload_TextField object should be something like:
    var oTextField:TextField =
    this.parent.parent.MC_Holder_Preload.getChildByName(childname);
    oTextField.text = "some text";
    The first "parent" references MC_Holder_Sprite, the second
    MC_Holder. If there are several instances of MC_Holder_Preload,
    then the above would have to be modified to account for that by
    first using the getChildByName method to acquire the appropriate
    instance like so:
    var oMC:MovieClip =
    this.parent.parent.getChildByName(HolderPreloadName);
    var oTextField:TextField = oMC.getChildByName(TextFieldName);
    Hope this (a) makes sense, (b) helps and (c) actually works.
    Regards
    Dave Spaar

  • Help with Group Policy

    Hello all,
    I am new to Group Policy. Server is running Windows 2008 R2. All client on Win 7. I have made a folder redirect by creating it on Default Domain Policy instead of creating gpo. Is there a downfall and if so, how do i redo and have it fix ? 

    What if i just let stay without doing or creating the new gpo? let it be on the DDP. any issue will arise or possibilities that might will mess with the system or client pc connected to domain ? 
    You can let it be, it will not cause harm with anything at all.
    It is fine, in a small and simple network, which does not change often, for these things to remain.
    If you have a complex network, with many different GP configurations required, having such settings in your DDP can then be a problem, to achieve your desired different/granular settings, e.g. different settings for different departments.
    If the DDP (which applies to all departments) contains this setting, then, how do you set it differently for two departments?
    But if your network is small and simple, it's fine to do this.
    If you have no expectation that in the future it will cause constraint for you, it's fine like this.
    You can always change it later, but, it might be more effort then, compared to now?
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • I need help with a Object Array

    I am having trouble and this maybe really simple seeing that I am fairly new to java but I have text that is being broken down in to preset part with those parts stored in Object arrays.
    Now I also have a object array inside my object array. Within the second object array are the broken down parts of the text and I want to compare this text with another string so for example this is what I am trying
    boolean found = false;
    for (int i = 0; i < FirstObjectArray.length ;i++)
         Object[] SecondObjectArray = (Object[]) FirstObjectArray;
         if(SecondObjectArray[0] == "string")
              found = true;
              break;
         else
              found = false;
    }Help would be very appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    astlanda wrote:
    Sure, you're right.
    [public boolean equals(Object obj)|http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals%28java.lang.Object%29]
    sharkura said all the OP needs at the moment. I just wanted to clarify a bit why You don't use == 99.999% of the time with objects, and never with String.
    I have argued elsewhere in these forums that it is inappropriate to tell anyone that you never use == to compare objects. This has not always been accepted. I have, on rare occasions, known experienced developers to blindly compare two objects with equals(), and cite the professor that taught them, 15 years iin the past, that object references are never compared using ==, but always with equals().
    However, the cases where == is appropriate and equals() is not are indeed rare, but not, in my experience, non-existent. In my statement, I probably exaggerated. And String is a case where I can probably accept that you will probably never go wrong with equals(). If the String has been pooled (see String::intern()), you can actually use either. From the javadocs: "*It follows that for any two strings s and t, s.intern() == t.intern() is true if and only if s.equals(t) is true.*"
    ¦ {Þ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Help with group by

    Can anyone tell why this query isn't working? It returns NOT a group by expression error. It has something to do with the subquery but I know I can't group by the alias of that statement. Any help would be appreciated.
    SELECT acc.uprn,
    NVL (SUM (lth.balance), 0) balance,
    (SELECT SUM (balance)
    FROM lsc_transaction_history lth
    WHERE acc.account_no = lth.account_no
    AND SUBSTR (lth.account_no,10,3) = 450) repair_balance
    FROM lsc_occupants occ,
    lsc_account acc,
    lsc_area lmc,
    hpm_view_property p,
    lsc_account_parties_view accn,
    lsc_transaction_history lth
    WHERE occ.seq_no = acc.seq_no
    AND acc.uprn = occ.uprn
    AND occ.account_type = acc.account_type
    AND lmc.code = acc.area_code
    AND p.uprn = occ.uprn
    AND accn.account_no = acc.account_no
    AND lth.account_no = acc.account_no
    GROUP BY acc.uprn

    Well, the hints were already given, but maybe an example make it clearer.
    SQL> create table lsc_account
      2  as
      3  select 1 uprn, '100000000000' account_no from dual union all
      4  select 1, '100000000450' from dual union all
      5  select 2, '100000000450' from dual
      6  /
    Tabel is aangemaakt.
    SQL> create table lsc_transaction_history
      2  as
      3  select '100000000000' account_no, 100 balance from dual union all
      4  select '100000000000', 200 from dual union all
      5  select '100000000000', 300 from dual union all
      6  select '100000000450', 400 from dual union all
      7  select '100000000450', 500 from dual
      8  /
    Tabel is aangemaakt.
    SQL> SELECT acc.uprn
      2       , NVL (SUM (lth.balance), 0) balance
      3       , ( SELECT SUM (balance)
      4             FROM lsc_transaction_history lth
      5            WHERE acc.account_no = lth.account_no
      6              AND SUBSTR (lth.account_no,10,3) = 450
      7         ) repair_balance
      8    FROM lsc_account acc
      9       , lsc_transaction_history lth
    10   WHERE lth.account_no = acc.account_no
    11   GROUP BY acc.uprn
    12  /
              WHERE acc.account_no = lth.account_no
    FOUT in regel 5:
    .ORA-00979: Geen GROUP BY-uitdrukking.
    SQL> select acc.uprn
      2       , nvl(sum(lth.balance),0) balance
      3       , nvl(sum(case substr(lth.account_no,10,3) when '450' then balance end),0) repair_balance
      4    from lsc_account acc
      5       , lsc_transaction_history lth
      6   where lth.account_no = acc.account_no
      7   group by acc.uprn
      8  /
    UPRN      BALANCE REPAIR_BALANCE
       1         1500            900
       2          900            900You only need to access the lsc_transaction_history table once this way.
    Regards,
    Rob.

  • Help with grouping similar lines

    Hi,
    could you help me with one sql query in Oracle 11g.
    I have data with two columns - timestamp, counter
    4.7.2012 10:01, 13
    4.7.2012 10:03, 0
    4.7.2012 10:04, 0
    4.7.2012 10:05, 0
    4.7.2012 10:21, 3
    4.7.2012 10:33, 0
    4.7.2012 10:51, 6
    What I need to get is to group lines with counter = 0 which are next to each other and keep the info about start and end of the timestamp.
    so first I need to use rank
    line_number, timestamp, counter, rank
    1, 4.7.2012 10:01, 13, 0
    2, 4.7.2012 10:03, 0, 1
    3, 4.7.2012 10:04, 0, 2
    4, 4.7.2012 10:05, 0, 3
    5, 4.7.2012 10:21, 3, 0
    6, 4.7.2012 10:33, 0, 0
    7, 4.7.2012 10:51, 6, 0
    and then group lines 2, 3, 4 into one line, because line's counter=0 and there is more then one line in the group.
    so the result would be
    4.7.2012 10:01, 13
    4.7.2012 10:03 - 4.7.2012 10:05, 0
    4.7.2012 10:21, 3
    4.7.2012 10:33, 0
    4.7.2012 10:51, 6
    Thanks a lot for any ideas,
    D.
    Edited by: dusoo on Jul 11, 2012 6:37 AM

    Hi,
    You can do something like this:
    WITH     got_grp     AS
         SELECT     tmstmp, counter
         ,     ROW_NUMBER () OVER ( ORDER BY      tmstmp)
              -  ROW_NUMBER () OVER ( PARTITION BY  counter
                                        ORDER BY          tmstmp
                           )     AS grp
         FROM    table_x
    --     WHERE     ...     -- If you need any filtering, do it here
    SELECT       MIN (tmstmp) || CASE        -- You'll probably want to use TO_CHAR here, and 2 lines below
                                  WHEN  COUNT (*) > 1
                         THEN '-' || MAX (tmstmp)
                              END
    ,         counter
    FROM       got_grp
    GROUP BY  counter, grp
    ORDER BY  MIN (tmstmp)
    ;TIMESTAMP is a keyword in Oracle 9 (and up), so it's not a good column name. I used TMSTMP instead.
    This assumes that tmstmp is unique. If not, you'll have to add something to the analytic ORDER BY clauses.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data. For example, what defines a "group" in this problem? It seems to be consectuive rows (in order by tmstmp), but what else? Will all members of a gropup have the same value for counter, regardless of the difference in tmstmp? (That's what I assumed above.) Will all members of a group have tmstmp within 1 minute of another, regardless of counter?
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Help with string object code

    Hello,
    First off thanks in advance to anyone who helps. I am trying to write a program that using a class string object to convert this kind of "text speech" to english. For example if the user inputs "HowAreYou?", I want the program to output "How are you?" I am having too much trouble with strings for some reason. This is what I have so far and I am not sure where to go from here. Should I use a do loop to check through the input string until it is done seperating the words? And how should I go about doing that?
    import java.util.Scanner;
    public class P8
    public static void main( String args[] )
    char choice;
    String line = null;
    String answer = null;
    Scanner scan = new Scanner(System.in);
    do
    System.out.println();
    System.out.print("ENTER TextSpeak sentence(s): ");
    line = scan.nextLine();
    System.out.print( "Converted to English: \t ");
    System.out.print( textSpeaktoEng( line ) );
    System.out.println();
    System.out.print("Want more TextSpeak?\t\t ");
    answer = scan.next();
    choice = answer.charAt(0);
    if( scan.hasNextLine() )
    answer = scan.nextLine();
    }while(choice != 'N' && choice != 'n');
    public static String textSpeakToEng(String s)
    String engStr = null;
    if( Character.isUpperCase( s.charAt(j) ) )
    engStr += ? ?;
    engStr += Character.toLowerCase( s.charAt(j) );
    scan.close();
    }

    I got my program to compile and run but I have a problem. If I input something like "ThisForumIsGreat" it will output just "t f i g" in lower case letters. Any suggestions?
    import java.util.Scanner;
    public class P8
    public static void main( String args[] )
       char     choice;                          // Repeat until n or N                                             
       String line   = null;                     // Sentences to toTextSpeak
       String answer = null;                     // Repeat program scan
       Scanner scan = new Scanner(System.in);    // Read from keyboard
       do
          System.out.println();
          System.out.print("ENTER TextSpeak sentence(s): ");
          line = scan.nextLine();                // Read input line
          System.out.print( "Converted to English: \t    ");
          System.out.print( textSpeakToEng( line ) );
          System.out.println();
          System.out.print("Want more TextSpeak?\t\t ");
          answer = scan.next();                  // Read line, assign to string
          choice = answer.charAt(0);             // Assign 1st character
          if( scan.hasNextLine() )               // <ENTER> character
            answer = scan.nextLine();            // Read line, discard
      }while(choice != 'N' && choice != 'n');    // Repeat until input start n or N
    public static String textSpeakToEng(String s)
       String engStr = null;  
       int i;  
       for ( i = 0; i < s.length(); ++i )
       if( Character.isUpperCase( s.charAt(i) ) )
         engStr += " ";                                  // Append 1 blank space
         engStr += Character.toLowerCase( s.charAt(i) ); // Append lowercase
       return( engStr );
    }

Maybe you are looking for

  • Installing Windows 7 on Mac mini 2014

    Hi, i stuck trying to install Windows 7 on a Mac mini 2014. It is connected to a monitor using the DP-to-VGA-Adaptor. I tried both, installing from (original) Windows-DVD and from a USB-Stick (always following the Bootcamp Installation procedure). Bu

  • EmptyPoints behaviour is not consistent

    I am using RDLC in asp.net. The behavior of the empty points is not consistent. Sometimes it draws a line and connects the empty points and sometimes it skips the line. I don't want to connect two points when the in between data does not exist. Pleas

  • Oracle 10g application seerver

    hi guys i am using oracle 10g application to deploy my war but when i am using session.getattribute and getting it ,it is not working first time next time when i am refreshing the page it is working properly and it is working in oracle9i application

  • Too many rows in collection cose Siena rapidly slowing down

    Is this a know issue? If I add more than 1000 rows in collection so the siena start to rapidly slowing down. I don't know If I will have this problem in published app or this is just a sienna issue? Thanks for answers

  • 150:30 Error Message

    I can't launch my Photoshop Elements Version 8.0.  It gives me this error message    150:30. Please help! Susan Message was edited by: Brett N