Score keeper

I've been hired to shoot basketball games several times a week for my high school, and I need to turn around a finished product by the next day. I wanted to put in a score board or timer at the bottom of the footage I capture. I thought I could keyframe a text box with the score inside it to switch to different text (ie, the next score after a basket) but so far I haven't been successful in attempting that. I also have to do a clock that I can start/stop, which I guess I would use a time generator for (theres on in fcp i believe).
My question is: Does anyone know of a plug-in that will allow me to make some shortcuts here or any techniqes/tips that would help me do this so that I am able to get at least a little sleep between the game and the next morning?
Thanks,
Jordan

"For the scoreboard: Create a text clip that is laid out the way you want it. Edit it onto a video track about your camera video and extend it over the complete timeline (you may have to change the duration of the clip in the browser). Add edit to the text clip whenever the score changes. Double click on the individual text clips and change the numbers"
There are two good ideas to keep your life sane.
1) the score board camera for inserting as a small screen block and
2) the text clip.
I would alter the text edit idea to this. Create a text block and let runs say 15 seconds at each shot change. Copy this and then paste it over the next shot change and double click to change the text in the text editor. Less rendering and time saved on creating 'new' text everytime.
What do you think?
Your going to be hours on this just capturing. Batch capture and label each clip in a way that you can keep with. Maybe even notes at each shot change. Believe me capturing in this way will "save" time and alot of headaches when you're putting this thing together.
Keep it simple. Your audience already has a low level of expectations anyway. Do a good and 'improved' job, but don't kill yourself.
dc
G4 1.25MHz, dual,2 GigsRam, FCP5.04HD,qt7,Motion   Mac OS X (10.4.7)  
G4 1.25MHz, dual,2 GigsRam, FCP5.04HD,qt7,Motion   Mac OS X (10.4.7)  

Similar Messages

  • Why does my FICO score keep on dropping???

    I check my FICO score that comes with my Discover card.  I don't understand what's going on.  My FICO score keeps dropping. About 6-7 months ago my score was a 832.  I've had this score for a while.  The following month it dropped down to a 789.  Basically 43 points.  The only thing I could think of was that I had used my Discover card quite a bit that month (3,000 out of the $6000 limit).  But as I always do every month, I paid everything off in one shot. After a couple of months, it went back up to a 801.  This is nowhere close to the 832 I originally had.  I check this month and lo and behold, it's dropped back down to 786.  The only thing that I could of think of out of the ordinary was getting a pre-approval for a loan.  Just a pre-approval. Would this cause it drop back down this much? I don't understand why my FICO score keeps dropping.  Would these 2 things cause it to drop down this much?  I pay my credit cards off in full every single month.  I don't have any other mortgage or loan.  

    GiJoe81 wrote:
    Thanks for the post. I don't have any debt.  Literally 0. I have a BOA Visa card which has a credit limit of $17,000.  Of that, I have a zero balance. My Discover card has a limit of $6,000.  Back 6-7 months ago, I had charged $3,000 of the $6,000 limit on the Discover card.  I paid everything off in one shot before the due date.  This is the month that my credit score dropped from a 832 down to a 789. For the past 6-7 months I've never charged more than $1,000 on my BOA card and never more than $200-300 on my Discover card.  As mentioned, everything is always paid off in full before the due date. Haven't had any type of revolving debt for the past year. I ran my credit report about 2 months ago (when I did a pre-approval) and under the "Key factors that adversely affected your credit score" it states the following:  Equifax: TIME SINCE MOST RECENT ACCOUNT OPENING IS TOO SHORT.  TOO MANY CONSUMER FINANCE COMPANY ACCOUNTS.  TOO MANY ACCOUNTS WITH BALANCES. Transunion:  TIME SINCE MOST RECENT ACCOUNT OPENING IS TOO SHORT.  INSUFFICIENT LENGTH OF REVOLVING CREDIT HISTORY.  LACK OF RECENT INSTALLMENT LOAN INFORMATION.  INSUFFICIENT LENGTH OF CREDIT HISTORY. What kind of worries me is that it's saying I have too many customer finance company accounts and that the time since most recent account opening is too short.  I don't believe this to be true. I only have a Discover card, BOA visa card, HSBC online savings account, and my checking account. I don't get what's going on First off...You have fantastic credit scores! The problem is that you don't have enough credit cards. You need a MINIMUM of 3 credit cards to be able to achieve the highest scores. Credit cards are the foundation of rock solid high credit scores in the future. Not many people can keep a mortgage open for 20 years but it is relatively easy for most people to keep a credit card open for 20 years. FICO has a number of calculations that are credit card specific and if you don't have at least 3 credit cards there is absolutely no way to "earn" all the points that you are entitled to. A case in point: FICO wants you to use your credit cards and you get points for having one card report a balance that is less that 10% of its credit line. BUT...FICO also doesn't want you to use too much credit so if you have 50% or more of your cards report a balance you get nicked points. By having only 2 credit cards you can't win that battle. I suggest that you app for 2 new credit cards each year until you end up with 5 to 8 quality cards that you can keep open for the rest of your life. Your scores are so high that you will qualify for ANY credit card that you desire. I would suggest that you apply for an AMEX Blue Cash Everyday and a CitiBank Double Cash Back card right now. A year from now pick up 2 more cards. Your scores are fluctuating wildly because of the uneven use of your 2 cards. If you use 1 card you are using 50% of your available cards and that is much too high by FICO standards. Having more credit cards will level your scores out and keep them from jumping around so much. 

  • Help with code for score-keeping with dynamic text box

    Hi All,
    I'm having an actionscript 2.0 problem with keeping score.
    I have a dynamic text box with a variable called score.
    I have the following action code for that variable:
    _root.score = 0;
    For the correct answer button I have this action:
    _root.score = Number (score) +10;
    This works fine to increase the score by 10 for each correct answer.
    The problem is that I can't get an if statement to work for when the score reaches 150 to gotoAndPlay a certain frame. I've tried various syntax, I've tried it on the action for a button and an action for the timeline with: 
    onRelease = function () {
    (My learning game is set up to allow for users to answer up to four extra questions to reach the score of 150).
    Nothing works. Any suggestions please?
    Pam

    Below is a link to a small sample file.  See if you can find anything different between your file and the one linked that might cause yours to not work as desired.
    http://www.nedwebs.com/Flash/AS2_score_sample.fla

  • Trying to Rebuild and my scores keep tanking!

    Hi, I've been working on my credit for a little over a year.  Here's what I have: BankOpenedLimitStatusBalanceHigh Credit CommentsBofA2/13$500current$175$531AllPIF each moCapitalOne3/14$8001x30 10/14$46$439AllSm balance each moDiscover (AU only)3/87$13,6001x30 9/110$12,600TU & EQInactive since 4/13        Collection3/10$260open$260N/AEQ State Tax Lien5/09$4,238Released 2/120N/AAll Judgment3/11$4,983open0N/ATU & EQPIF in 5/13 pend Satisfaction It doesn't look great but it looks better than when I started! My scores were good enough last Summer for me to qualify for an FHA mortgage.  I know the 30-day late iwith CapitalOne n October really hurt me.  I paid BofA twice and didn't figure it out until the next month when it was too late.  I understand this impacting my scores.  I don't understand the stuff below-- Nov--Got an old, paid collection removed.  My scores dropped 4-8 pts depending on the bureau.March--CapitalOne gave me a spontaneous $500 credit limit increase and BofA converted my card to unsecured.  My score dropped 11-29 pts.  The only "bad" thing that happened was that I let both card show a $0 balance.  April--I showed a balance on one of my cards ($22) and all three scores dropped another 8-14 pts due to increased usage.  May--I was able to get all three bureaus to delete four paid tax liens and my scores dropped again.  June--Scores dropped again due to increased usage.  My usage was higher in May and June due to business travel expenses but both cards were paid-off each month so I never carried a balance.   I'm supposed to get the Judgement Satisfaction here soon and I'm scared about how my scores will react!  (only sort of kidding?) For July i should only end up showing a small balance on the CapitalOne card so I'm hoping my scores will increase.  However, since I'm in the low 600's, I know I will still be a long way off from the 640 average needed to qualify for an FHA mortgage which is my goal.   Does anyone have any advice for what i can do to get my scores back up?

    The passwords are in the keychain files. Triple-click the line below to select it:
    ~/Library/Keychains
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window should open with an item selected. The contents of that folder are the keychains.

  • Can my captivate module report the maximum score of a quiz?

    Hi All,
    Is there a setting I am missing on my captivate module that would allow the maximum score of a quiz to be reported back to our LMS.
    We have scorm modules from around 5 different vendors that do report this information back, however, mine do not. One of these vendors also creates the scorm courses in Captivate so I know it must be something I am overlooking?
    Many Thanks in advance
    Chris M

    Chris,
    I believe I know what you're talking about. I've seen SCORM Captivate lessons stop recording the score in SumTotal once the mastery score has been met. Failed attempts will record an accurate score, but as soon as the passing score is hit the lesson is marked complete. If this is the same problem you're experiencing, there are other posts on this board describing the same problem. The only way I've been able to address it is to change the Quiz Manager settings so it reports the Score and Slide Views. I set the Slide View percentage to a value that will allow the users to get to the end of the assessment. Reporting the Slide Views in addition to the score keeps the lesson open. The downside is the user can't skip around the lesson or they may not hit the slide view percentage value.

  • How to display demisemiquavers in score mode?

    Hi.
    I have demisemiquavers on the midi editor (piano roll), the display quantize window set to 32, and still the score keeps on showing the notes as semi-quaver clusters. Any tips on how to do it? Thanks.

    Thanks for pointing that out. Still, it wouldn't work.
    But I found the problem!
    In the inspector window, the "Interpretation" option is ticked. It has to be unticked.
    And, while selecting the quantization in the Display Quantize window, the notes to be seen have to be highlighted / selected in score mode.
    Weird thing, but it worked!

  • AS3 script to detect spacebar press and score using incremented var

    Hi,
    Continuing work on eLearning project exercise see: http://forums.adobe.com/message/4682999#4682999
    Based on kglad's script there, I am trying to add scoring by detecting a spacebar press when a specific text item is displayed. If the user presses the spacebar while the text is in the text box, then it would increment a variable by +1 (++).
    The script I've written to test this (using 1 var for one type of correct "hit" and a second var for a second type of "hit"), when added to the other script, doesn't work. The Flash debugging player freezes. A trace does not show anything, including incrementing of the variable.
    Here's the script:
    stage.addEventListener(KeyboardEvent.KEY_DOWN,checker);
    var targetHit:int;
    function checker(e:KeyboardEvent){
    while (wordT.text = "3")
       if(e.keyCode==Keyboard.SPACE){
           targetHit++;
           trace(targetHit);
    stage.addEventListener(KeyboardEvent.KEY_DOWN,checker2);
    var distractorHit:int;
    function checker2(e:KeyboardEvent){
       while (wordT.text = "5")
       if(e.keyCode==Keyboard.SPACE){
           distractorHit++;
           trace(distractorHit);
    Any suggestions on fixing this script would be appreciated.

    Thank you for this helpful suggestion.
    By way of explanation:
    If the user sees a specific correct "target" word displayed during the 1000ms that it is displayed in the text box, and they press the spacebar, they would receive a +1 added to a score var (targetHit).
    The exercise also needs to score/keep track of incorrect hits: when the user presses the spacebar when a specific distractor word is displayed during the 1000ms that it is displayed in the text box. This spacebar press would add +1 to the var distractorHit.
    Substituting "if" seems to work.
    Now, with the practice blocks of 16 each working sufficient (can tweak them later), need to move on to a slightly more challenging part of the exercise: the 70-word trial blocks.
    Will close out this posting as "correct" and post a new question related to the more challenging 70-word versions.

  • Little Credit - High Score Goals PLEASE HELP

    I am trying to get my middle score to above a 680 and it seams that everything I do is wrong because my scores keep going down.  My goal is to get approved for a specific home loan through my bank but I need a 680!!!!! The only thing I have done is charge to my only credit card and then pay off (two different times, two different amounts).  How is that affecting my scores so drastically?                        Current   /    06/12/15Experian        665              665
    TransUnion   694              707Equifax          656               676 Also my credit card is only a $500 credit limit. I do have some medical collections from 2010 but only totaling about $1,200.00.  Is it better to just settle and pay those debts off? Why are my scores going down?  

    kellyf213 wrote:
    I am trying to get my middle score to above a 680 and it seams that everything I do is wrong because my scores keep going down.  My goal is to get approved for a specific home loan through my bank but I need a 680!!!!! The only thing I have done is charge to my only credit card and then pay off (two different times, two different amounts).  How is that affecting my scores so drastically?                        Current   /    06/12/15Experian        665              665
    TransUnion   694              707Equifax          656               676 Also my credit card is only a $500 credit limit. I do have some medical collections from 2010 but only totaling about $1,200.00.  Is it better to just settle and pay those debts off? Why are my scores going down?  I'm assuming the amounts charged were reported as a balance on your monthly statement?

  • How to make a really basic pong game for a beginner

    Hello.  I've read through a couple of threads on here dealing with making a game of pong in LabView, but in them the users had questions with far more complex aspects of the program than I want to deal with.  I am a beginner programmer in LabView with limited experience in Java and Visual Basic programming.  I was tasked with creating a game over winter break, and now that I finally have some time (this weekend that is), I decided that I'd make a really simple game of pong.  However, I have seriously overestimated the difficulty of this for a beginner who has very limited knowledge of Lab View.
    I ask you to please have some patience with me.
    I know what I want to do, and just need help inplementing it.
    Here is the idea for my design to keep it as simple as possible:
    -Create a field (I am not sure what to use for this, but from my reading it appears that some sort of a picture output is needed, but I cannot find that anywhere).
    -Set up some simple function that can output the dimensions of this field to use with collision tracking.
    -Create a ball that can be tracked by the program.
    -From my reading I understand that the simplest way to "bounce" the ball off the sides appears to simply reverse the X velocity of the ball when it strikes the vertical boundaries and the Y velocity when it strikes the horizontal boundaries.
    -Insert some sort of a "paddle" that the user can control with the left and right arrow keys.
    Now, as I have mentioned I am a beginner with approximately one month maximum knowledge of this software, spread over about a year.  I want to take things slow.  So for starters, would anyone be willing to walk me through creating a visual output for this and creating a ball that will bounce off all sides?
    If I can at least get that far for now, then I can move on (with help I hope!) of inserting an interactive interface for the "paddle."
    I have found some LabView code for a simple game like this, but it also includes a score keeping loop as well as an "automatic play" option, and I am attempting to wade through all that code to find the bones of it to help me with this, but due to my inexperience, this might thake a lot of time.
    I thank you for any and all help anyone may be able to provide.

    EchoWolf wrote:
    -Create a field (I am not sure what to use for this, but from my reading it appears that some sort of a picture output is needed, but I cannot find that anywhere).
     Wel, there is the picture indicator in the picture palette. In newer versions it's called "2D picture". The palettes have a search function. Using the palette search function is a basic LabVIEW skill that you should know. If you've seen the example for the other discussion, it uses a 2D boolean array indicator. The boolean array is only recommended for a monochrome very low resolution display.
    EchoWolf wrote: -Set up some simple function that can output the dimensions of this field to use with collision tracking.
    -Create a ball that can be tracked by the program.
    That seems backwards. Properly programmed, the code always knows the dimension and the ball position. The program generates, (not tracks!) the ball movement. Of course you need to do some range checking on the ball position to see when it collides with the walls.
    EchoWolf wrote:
    -From my reading I understand that the simplest way to "bounce" the ball off the sides appears to simply reverse the X velocity of the ball when it strikes the vertical boundaries and the Y velocity when it strikes the horizontal boundaries.
    Of course you could make it more realistic by keeping track of three ball parameters: x, y, spin.
    EchoWolf wrote:
    -Insert some sort of a "paddle" that the user can control with the left and right arrow keys.
    Pong is typically played with the up-down arrow keys.
    EchoWolf wrote:
    Now, as I have mentioned I am a beginner with approximately one month maximum knowledge of this software, spread over about a year.
    LabVIEW knowledge is not measured in time units. What did you do during that month? Did you attend some lectures, study tutorials, wrote some programs?
    EchoWolf wrote:
    So for starters, would anyone be willing to walk me through creating a visual output for this and creating a ball that will bounce off all sides?
    I have found some LabView code for a simple game like this, but it also includes a score keeping loop as well as an "automatic play" option, and I am attempting to wade through all that code to find the bones of it to help me with this, but due to my inexperience, this might thake a lot of time.
    Start with the posted example and delete all the controls and indicators that you don't want, then surgically remove all code with broken wires.
    Alternatively, start from scratch: Create your playing field. Easiest would be a 2D classic boolean array that is all false. Use initialize array to make it once. Now use a loop to show the ball as a function of time.
    Start with a random ball position. to display it, turn one of the array elements true before wiring to the array indicator using replace array subset.
    Keep a shift register with xy positions and xy velocities and update the positions as a function of the velocities with each iteration of the loop. Do range checking and reverse the velocieis when a edge is encountered.
    What LabVIEW version do you have?
    LabVIEW Champion . Do more with less code and in less time .

  • Help needed with LMS Reporting Settings

    I am new to Captivate and am working with 5.5 to create a number of large courses.
    The first course, I have split over 5 captivate files as there are a large number of slides in each file.  I have reviewed the Help PDF on Learning Management System, but am struggling to find the correct settings in the Reporting Preferences to suit my needs.
    Course structure:
    File 1     -     less than 100 slides, includes question slides not set as reporting, non score-reporting objects
    File 2     -     less than 100 slides, includes question slides not set as reporting, non score-reporting objects
    File 3     -     more than 100 slides, includes question slides not set as reporting, non score-reporting objects
    File 4     -     more than 100 slides, includes question slides not set as reporting, non score-reporting objects
    File 5     -     less than 100 slides, includes question slides as score-reporting objects and other non score-reporting objects (final quiz to be reported and scored in LMS)
    I envisaged using Slide Views Only in the first 4 files, and then Quiz Results and Slide Views in the last file.
    However, these two choices only seem to allow a maximum of 100 Slides - is this correct?, is there no way around this?
    There is another course in our series with much more slides than this first one so having to split into files of 100 could mean
    up to 12 captivate files in one course.
    I don't know if I now need to re-think the structure of the courses.  Maybe I have completely misunderstood the Quiz Reporting
    and Reporting Scores.
    I need to be able to have the Learner click their way through the course, making it highly-interactive for them but at the same
    time not scoring everything they click, until they reach the final assessment which is 10 questions and scored in %.   
    Another thing, after numerous tests, it seems that if I untick the 'Never Send Resume Data' then the 2nd file does not open.  Leaving
    it ticked will open the 2nd file - but then the progress is not saved if the Learner exits the course before finishing.  Has anyone
    experienced this before?
    I also would like clarification on the Manifest Settings, the 'Identifier' - should I be giving each file a unique number, or does it not
    really matter?  When we purchased 5.5, we did not know that we would need the Multi-SCO Packager, so have tried an alternative
    called Reload Editor timebeing, which we have been using for our testing with collating the files - has anyone used this before?  I have
    tried to download the free trial of elearning suite 2.5 but I am having problems getting it done.        
    Any help would be very much appreciated.
    Thanks

    The number 100 shown in Slide View Completion is the % of the total number of slides, not the number of slides from 1-100.
    Your strategy of breaking the course up into smaller modules like this is a good one.
    But if you have only one of the 5 modules that has scoring, you might be wise to add at least one scored object to each of the other modules (perhaps a button on the first or second slide with a nominal score of 1 point) to give the project at least some kind of a score.  I find that in some LMSs if one module in a course is scored, they expect ALL the others to also have a score as well.  So providing some surreptitious method of giving the user a guaranteed score keeps everything working on an even keel.
    Set Report Status as Pass/Fail and Report to LMS as Percent.  These are the settings I find most reliable.
    When using multi-SCO SCORM packages created with Captivate, whether or not the second file in the sequence of modules opens automatically is something you are supposed to set up in the LMS, not in Captivate.  Look for an option called Auto Continue or similar.  This is supposed to mean that when the user finishes playing each module, the next one will open automatically.
    There are two Identifiers you need to specify in each module.  One is the SCORM course identifier and all modules that belong to the same course should share this same ID.  The other is the SCO ID for each module, and these should all be unique.

  • Random presentation of images from plist.

    Hello all, my name is Merlin and of course... Im new to this! LOL Ive been teaching myself Obj-C and Cocoa for the better part of 5 months now, and I have to say... I found my path. I absolutely love it and cant wait till I feel more comfortable with the methodology. But enough about me!
    Im working on a Q&A based app. To get the UI to look EXACTLY the way I wanted it to, I designed all of the questions in Photoshop. These questions range in topic but normally ask you to tap on something specific in the image. Picture an image with a bunch of dogs and the prompt "tap the boxer..."
    I then have 2 custom buttons in IB, one covers the entire screen name "incorrectButton" and another named "correctButton" placed over the spot in the image that is the "correct" location.
    I have a HomePageViewController with a start button that loads Question1ViewController with the previously mentioned background UIImageView. Im using presentModalVC to load the question image with a nice UIModalTransCrossDissolve.
    Question1ViewController...
    "Tap on the boxer"...
    User taps incorrect location is sent to my IncorrectResponseViewController which states "Sorry, try again" and pops automatically after a 2 second delay.
    User taps correct location is sent to my CorrectResponseViewController which states "That is correct!" and unhides a nextButton. Pressing it implements nextButtonPressed which takes you to Question2ViewController (again by presenting it Modally). Question2ViewController then had a nib with question2.png loaded as the background and a new button layout to correspond to the new "correct" location.
    Since the method to call this "next" question is "nextButtonPressed", I soon realized I would never be able to get past Question2 unless I created some kind of loop and store the questions in a plist or Core Data.
    This is where I started to investigate loading all of my question images (or just their file names as an NSString) into a plist and using the same nib to present them all. I figured I could also store the "correctButton" coordinates as a Dictionary in that plist and call those in a setFrame method when I want to present the next question.
    So I have my plist built and I think it's correct...
    [TIMG]http://img.photobucket.com/albums/v686/FJMerlin/Screenshot2010-09-14at20550PM.pn g[/TIMG]
    I also created a Constants file with the following keys...
    #define BACKGROUNDIMAGE_KEY @"backgroundImage"
    #define CORRECTBUTTONLOCATION_KEY @"correctButtonLocation"
    #define XBUTTONLOC_KEY @"x"
    #define YBUTTONLOC_KEY @"y"
    #define WBUTTONLOC_KEY @"w"
    #define HBUTTONLOC_KEY @"h"
    So this is where my noobism shines through. Im having one **** of a time getting the values out of this plist and onto the screen. What I would like to do is load all (100 as of now) the questions into this plist. Then present the QuestionsViewController and have it randomly present the question Images. Upon selecting the correct location, modally present the CorrectResponseViewController with the nextButton, and have the nextButtonPressed method return you to QuestionsViewController with a new question and button layout. As of now, Im mostly concerned with getting anything out of the plist to work before I worry about randomizing the questions.
    Ive attempted to call these values a few different ways.
    .h
    @interface Q1ViewController : UIViewController {
    IBOutlet UIImageView *backgroundImage;
    IBOutlet UIButton *backButton;
    IBOutlet UIButton *correctButton;
    IBOutlet UIButton *incorrectButton;
    IBOutlet UIButton *nextButton;
    NSMutableArray *questions;
    NSMutableArray *buttonCorridinates;
    @property (nonatomic, retain) IBOutlet UIImageView *backgroundImage;
    @property (nonatomic, retain) IBOutlet UIButton *backButton;
    @property (nonatomic, retain) IBOutlet UIButton *nextButton;
    @property (nonatomic, retain) IBOutlet UIButton *correctButton;
    @property (nonatomic, retain) IBOutlet UIButton *incorrectButton;
    @property (nonatomic, retain) NSMutableArray *questions;
    @property (nonatomic, retain) NSMutableArray *buttonCorridinates;
    - (IBAction) backButtonPressed:(id) sender;
    - (IBAction) nextButtonPressed:(id) sender;
    - (IBAction) correctButtonPressed:(id) sender;
    - (IBAction) incorrectButtonPressed:(id) sender;
    @end
    .m
    // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    - (void)viewDidLoad {
    [super viewDidLoad];
    backButton.hidden = YES;
    nextButton.hidden = YES;
    NSString *path = [[NSBundle mainBundle] pathForResource:@"Questions" ofType:@"plist"];
    NSMutableArray* tmpArray = [[NSMutableArray alloc] initWithContentsOfFile:path];
    self.questions = tmpArray;
    [tmpArray release];
    UIImage *tmpImage = [UIImage objectForKey:BACKGROUNDIMAGE_KEY];
    [backgroundImage setImage: tmpImage];
    [correctButton setFrame:CGRectMake(20.0f,226.0f,192.0f,37.0f)];
    [tmpImage release];
    NSString *correctButtonLoc = [[NSString alloc] intValue:CORRECTBUTTONLOCATION_KEY];
    [correctButton setFrame:CGRectMake(@"%@"),correctButtonLoc];
    //or this.... LOL
    UIImageView *tmpImage = [[UIImageView alloc] initWithImage:@"%@", BACKGROUNDIMAGE_KEY];
    [backgroundImage setImage:tmpImage];
    NSString *xButtonLoc = [[NSString intValue[questions objectForKey:XBUTTONLOC_KEY]];
    NSString *yButtonLoc = [[NSString intValue[questions objectForKey:YBUTTONLOC_KEY];
    NSString *wButtonLoc = [[NSString intValue[questions objectForKey:WBUTTONLOC_KEY];
    NSString *hButtonLoc = [[NSString intValue[questions objectForKey:HBUTTONLOC_KEY];
    [correctButton setFrame:CGRectMake(@"%@","%@","%@","%@") xButtonLoc, yButtonLoc, wButtonLoc, hButtonLoc];
    I feel like I know what to do, I just dont know how to do it. I have the image paths stored in the plist, so I obviously need to call those paths then convert them to the actual image, am I on the right track in that thinking?
    For the coordinates, I also have those stored as strings. So Im sure the same holds true. Need to convert those to ints to set my frame. But again, no matter how many time I read through the string formatting guide, I still cant seem to luck into this one.
    Once I have this figured out. Ill want to have something very similar to the randomizing plist code from James' FlashCard app which I found in another thread. http://discussions.apple.com/thread.jspa?threadID=2542025
    RayNewbie was kind enough to point me in the right direction to start my own thread so here I am!
    I hope this isnt to long winded. I wanted to be detailed. Thanks in advance for any guidance.

    ok, been at it for half the day already and cant seem to get the shuffleArray method to work with my code. I did tweak some things to make it more similar to the construct of James' FlashCard app.
    I did away with my Correct and IncorrectViewControllers. I changed the methods for pressing those buttons to simply change the background image to the appropriate response as well as unhide the next and back buttons to allow these controls to reside in the same VC. Here is how I have it now...
    @implementation QuestionsViewController
    @synthesize backgroundImage;
    @synthesize backButton;
    @synthesize nextButton;
    @synthesize correctButton;
    @synthesize incorrectButton;
    @synthesize questions;
    @synthesize counter;
    - (void)dealloc {
         [backgroundImage release];
         [backButton release];
         [nextButton release];
         [correctButton release];
         [incorrectButton release];
         [questions release];
         [super dealloc];
    -(void) viewWillAppear:(BOOL)animated {
         [super viewWillAppear:animated];
         nextButton.hidden = YES;
         backButton.hidden = YES;
    - (void) enableButton {
         int count = [questions count];
         nextButton.enabled = counter < count - 1 ? YES : NO;
         backButton.enabled = counter > 0 ? YES : NO;
    // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
        if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
            // Custom initialization
        return self;
    // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    - (void)viewDidLoad {
         [super viewDidLoad];
         NSString *path = [[NSBundle mainBundle] pathForResource:@"Questions" ofType:@"plist"];
         NSLog(@"%s: path=%@", __func__, path);
         NSMutableArray* tmpArray = [[NSMutableArray alloc]initWithContentsOfFile:path];
         self.questions = tmpArray;
         [tmpArray release];
         [self reset];     
    - (void)shuffleArray:(NSMutableArray*)array {
         int total = [array count];
         if (total <= 1)
              return;
         NSMutableArray *poolArray = [[NSMutableArray alloc] initWithArray:array];
         [array removeAllObjects];
         for (int i = 0; i < total; i++) {
              int index = random() % [poolArray count];
              [array addObject:[poolArray objectAtIndex:index]];
              [poolArray removeObjectAtIndex:index];
    - (IBAction)reset {
         srandomdev();
         counter = 0;
         [self shuffleArray:questions];
         if ([questions count]) {
              NSDictionary *Question = [questions objectAtIndex:counter];
              NSString *imageFileName = [Question objectForKey:@"backgroundImage"];
              UIImage *bkgdImage = [UIImage imageNamed:imageFileName];
              [backgroundImage setImage:bkgdImage];
              NSDictionary *correctPts = [Question objectForKey:@"correctButtonLocation"];
              CGRect correctRect = CGRectMake(
                                                      [[correctPts objectForKey:@"x"] doubleValue],
                                                      [[correctPts objectForKey:@"y"] doubleValue],
                                                      [[correctPts objectForKey:@"w"] doubleValue],
                                                      [[correctPts objectForKey:@"h"] doubleValue]
              [correctButton setFrame:correctRect];
         } else {
              [backgroundImage setImage:nil];     
         [self enableButton];
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
         // Return YES for supported orientations
         return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
    - (IBAction) correctButtonPressed:(id) sender {
         NSLog(@"correct button pressed");
         nextButton.hidden = NO;
         backButton.hidden = NO;
         UIImage *correctImage = [UIImage imageNamed:@"thatIsCorrect.png"];
         [backgroundImage setImage:correctImage];
         [correctImage release];
    - (IBAction) nextButtonPressed:(id)sender {
         NSLog(@"Next button pressed");
         int count = [questions count];
         if (counter < count - 1) {
              NSDictionary *nextItem = [self.questions objectAtIndex:++counter];
              NSString *imageFileName = [nextItem objectForKey:@"backgroundImage"];
              UIImage *bkgdImage = [UIImage imageNamed:imageFileName];
              [backgroundImage setImage:bkgdImage];
              NSDictionary *correctPts = [nextItem objectForKey:@"correctButtonLocation"];
              CGRect correctRect = CGRectMake(
                                                      [[correctPts objectForKey:@"x"] doubleValue],
                                                      [[correctPts objectForKey:@"y"] doubleValue],
                                                      [[correctPts objectForKey:@"w"] doubleValue],
                                                      [[correctPts objectForKey:@"h"] doubleValue]
              [correctButton setFrame:correctRect];
         [self enableButton];
    - (IBAction) incorrectButtonPressed:(id) sender {
         NSLog(@"incorrect button pressed");
         IncorrectResponseViewController *incorrectResponseViewController = [[IncorrectResponseViewController alloc] initWithNibName:@"IncorrectResponseViewController" bundle:nil];
         incorrectResponseViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
         [self presentModalViewController:incorrectResponseViewController animated:YES];
         [incorrectResponseViewController release];
    - (IBAction) backButtonPressed:(id) sender {
         NSLog(@"Back button pressed");
         if (counter > 0) {
              NSDictionary *nextItem = [self.questions objectAtIndex:--counter];
              NSString *imageFileName = [nextItem objectForKey:@"backgroundImage"];
              UIImage *bkgdImage = [UIImage imageNamed:imageFileName];
              [backgroundImage setImage:bkgdImage];
              NSDictionary *correctPts = [nextItem objectForKey:@"correctButtonLocation"];
              CGRect correctRect = CGRectMake(
                                                      [[correctPts objectForKey:@"x"] doubleValue],
                                                      [[correctPts objectForKey:@"y"] doubleValue],
                                                      [[correctPts objectForKey:@"w"] doubleValue],
                                                      [[correctPts objectForKey:@"h"] doubleValue]
              //NSLog(@"Question %d:\n\timageFileName=%@\n\tcorrectRect=%@", count++, imageFileName, NSStringFromCGRect(correctRect));
              [correctButton setFrame:correctRect];
         [self enableButton];     
    - (void)didReceiveMemoryWarning {
        // Releases the view if it doesn't have a superview.
        [super didReceiveMemoryWarning];
        // Release any cached data, images, etc that aren't in use.
    - (void)viewDidUnload {
        [super viewDidUnload];
        // Release any retained subviews of the main view.
        // e.g. self.myOutlet = nil;
    @end
    The only issue I was having was with "counter" which I see in James' .m file but I wasnt sure what the ivar was. So I used your recommendation Ray and searched all his posts here on the forum and found that it was an fact an int. Now it appears everything is actually working! I just need to tweak the UI to hide and unhide my back and next buttons consistently but so far this is exactly what I was looking for.
    Next up I have to figure out how to convert the coordinates to landscape so my correctButton lands up in the right spot and of course... score keeping! LOL
    Thanks again Ray!

  • Java ME

    I wanted to start developing applications for mobile phones. Basicly what I want to make is a Folf (like golf but with discs) score keeper. I searched the internet but found no API's related to gui. The only thing I found was a Hello world program.
    Could someone point me in the right direction as where to begin?
    Thanks

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • About Hierarchies and Drill Up/Down

    Hi Forum !!
    I need some light about this topic. I have a Materialized view that holds some calculations for me in this way:
    MY_M_VIEW:
    Date_of_year (Is a date)
    CITY
    ENTITY (Is the name of an entity)
    CATEGORY (Name of a category)
    SUBCATEGORY (Name of a Subcategory)
    INDICATOR (Name of an Indicator)
    SCORE (Is a numeric measure)
    TYPE_SCORE(Is a flag for the score)
    For each Entity are many Categories, for each Category are many Subcategories, and for each Subcategory are many Indicators.
    The score for Indicator is a number calculated in view's sql definition. The score for each subcategory is the average of the indicator's score belonging to the subcategory. The score for category is a sum of each subcategory's score by N (N is a number obtained by view's definition) SUM(score*N). The score for entity is a sum for each category's score by M (M is a number obtained by view's definition) SUM(score*M).
    TYPE_SCORE is 'ENT' when holds an entity's score, 'CAT' for a category's score, 'SUB' for a subcategory's score and 'IND' for an Indicator's score.
    Some records in MY_M_VIEW looks as follows:
    Date_of_year; CITY; ENTITY; CATEGORY; SUBCATEGORY; INDICATOR; SCORE; TYPE_SCORE
    01/01/2006; 'CITY 1'; 'Entity 1'; null; null; null; 1.2; 'ENT'
    01/01/2006; 'CITY 1'; 'Entity 1'; 'Category1'; null; null; 2.3; 'CAT'
    01/01/2006; 'CITY 1'; 'Entity 1'; 'Category1'; 'Subcategory 1'; null; 1.9; 'SUB'
    01/01/2006; 'CITY 1'; 'Entity 1'; 'Category1'; 'Subcategory 1'; Indicator 1'; 2; 'IND'
    01/01/2006; 'CITY 1'; 'Entity 1'; 'Category1'; 'Subcategory 1'; Indicator 2'; 0; 'IND'
    I need a Crosstab report in Discoverer Plus using a Hierarchy composed by entity, category, subcategory and Indicator (Hierarchy builded in Disc. Administrator), looking like this (Date_of_year is a Page item):
       DataPoint: SCORE
    ENTITY
        CATEGORY
           SUBCATEGORY
               INDICATOR
    CITY            score
    Keeping in Mind the discoverer's way for aggregations, How can I implement a correct Drill Down, Drill Up behavior for such a crosstab ?

    Hi Arun
    Find the above text  - 3DDRILL_TO_LEVEL%26LEVEL%3D2 & replace it with text below
    3DDRILL_TO_LEVEL%26LEVEL%3D3. this will unable you to drilldown to third node. Like wise you enter the number after "%3D_" to get required level of drill down.
    I hope this will work,
    regards
    Sandeep

  • Questions for Purchaser viewing only

    Hi team,
    When creating RFX's, can you alert me of how you insert questions which are for 'purchaser viewing only' ?
    There doesn't seem to be a function available on the page. I need this for some scoring issues which i have when posing, 'If not type questions'.
    Many thanks.
    Leon

    Hi
    What I understand of your requirement is that you need to keep some questions/ Sections visibility restricted to Purchaser Only . Unfortunately this is not possible.However I can suggest some workarounds which may apply to your business case:
    some questions may be applicable for some candidates, yet not for the other. With this in mind, we still need all scores being scored
    Here you can set question section scoring method preference to Manually Score. All the questions would be visible to all the suppliers but you can designate which section of questions is meant for which supplier. Once you receive responses from supplier you would manually assign score keeping in consideration your reservations.
    You can decide on a neutral score to be given for question that were not meant for the supplier.
    In case you simply dont want suppliers to have visibility to all the questions, you need to create  seperate RFx events for such suppliers from within a project.In this case each supplier would only answer the questions meant for him/ her and from multiple RFx events you can select the one to be awarded based on scores obtained.
    Regards
    Mudit Saini
    Edited by: Mudit_UCB on Nov 25, 2011 8:17 AM
    Edited by: Mudit_UCB on Nov 25, 2011 8:17 AM

  • Flash CS5 AS2 troubles multiple issuse

    Hey I was just hoping for some quick replies/ solution i have been looking everywhere trying to find solutions to my problems, basically im making a flash game for college and its almost finished more or less and its got to be done by tomorrow so i was hoping for some help - basically my game is an overhead zombie survival/shooter game i am almost finished, i just need the last major problems and its good to go- i hope...
    I currently have the current problesms which are at the top of my list to fix:
    1.I need to make my characters feet (movement animation) move whilst he is walking I have labeled frame sections and correctly linked movement etc, it just doesnt do the animation whilst moving, only when it isnt moving and just stood on a spot, and I i have WASD movement keys and each key i press determines which movement animation is played, and this doesnt work too well as i have my character facing the mouse at all times so this makes it hard for the character's feet to be moving the right way, its my biggest worry/problem but it would be a lot better if fixed.
    2.I need my enemies/zombies to face my character, they already chase him correctly, they just need to face the way they are chaing so it actually looks as if they are, and not just sliding sideways towards them, i have feet animation on this character just going forward because it is only going to be following/chasing the main character.
    3.I also have a problem with the score and the dying animation of my enemies, basically i have the enemy fading out when clicked/shot i tried making it 3shot kill but it proved to be too much hassle for the amount of time i have, basically it works fine if only clicked once, but if you keep clicking it the kill count/score keeps going p and he just keeps fading out until left alone and then it disappears off the screen correctly.
    these are my main problems i need fixing so if you can help just a little bit on any i would be very grateful.
    this is the code i am using for parts of my game
    incase you needed to know this is my characters movement : - it is coded on the actions layer in my main timeline
    var speed = 5;
    this.onEnterFrame = function(){
    if (Key.isDown(87)){
    Character._y -= speed;
    Character.gotoAndPlay('MoveForwards');
    if (Key.isDown(83)){
    Character._y += speed;
    Character.gotoAndPlay('MoveBackwards');
    if (Key.isDown(65)){
    Character._x -=speed;
    Character.gotoAndPlay('StepLeft');
    if (Key.isDown(68)){
    Character._x += speed;
    Character.gotoAndPlay('StepRight');
    the labels of the frame section/footanimation is below hte movement keys and this code is how the character follows the mouse:
    onClipEvent(enterFrame){
    angle = (Math.atan2(_root._ymouse-_y, _root._xmouse-_x)*180/Math.PI)-90;
    this._rotation = angle;
    - this code is on my zombie and basically codes the zombies movement and death animation as well as score contribution and my/my friends attempt to fix it, so im not really sure how to fix the score problem or how to make hte zombie face my character
    onClipEvent (enterFrame) {
    if(this._currentframe < 50){
    if(_root.Zombie._x > _root.Character._x){
    _root.Zombie._x -= 1;
    if(_root.Zombie._x < _root.Character._x){
    _root.Zombie._x += 1;
    if(_root.Zombie._y > _root.Character._y){
    _root.Zombie._y -= 1;
    if(_root.Zombie._y < _root.Character._y){
    _root.Zombie._y += 1;
    it
    on(release)
    var ZombieDead:Boolean;
        ZombieDead = false;
    if(ZombieDead == false){
    this.gotoAndPlay('ZombieDead');
    _root.SCORE+=1;
    break;
    else{}
    any help at all and i would be very happy, thanks in advance : )
    EDIT: any help or hints towards fixing the problems would be brilliant please, just need to fix my character movement animation, make the enemies face my main character and fix the score/death glitch, thats basically it and thats my major problems over and done with, thanks alot.
    Message was edited by: Reeece
    Message was edited by: Reeece

    ok well since I havnt had any replies i have basically given up hope, looks like im not gonna fix my major problems and ill never know how to because theres no tutorials or solutions on youtube or google and even adobe forums cant help me, so thats for looking anyway but it looks like all my work has bee a waste of time : /

Maybe you are looking for