[Flashcoders] [JOB] e-Learning Programmer (Newport News, VA)
This is a job posting that we have currently open for a position in my office. This person will be working directly with me. Please pass this on to anyone you may know with these skills or may know someone with these skills. The three skills that I think are most important are... 1. Flash (ActionScript 2.0 and 3.0) 2. JavaScript (JQuery or MOOTools are a plus) 3. SCORM (any exposure is considered good but 2004 3rd Ed is what we use mostly) Please send resumes to me at my work e-mail (charles.w.parcell at lmco.com) so I can enter them into the HR database directly. FYI, I am not the hiring manager for this position. Here is the job information copied directly from the LM job web site. ( http://www.lockheedmartinjobs.com/jobsearch_all.asp) = Req ID146249BRIndustry Job TitleMultimedia Design EngrStandard Job Code/TitleE1362:Multimedia Design EngrRequired skillsAbility to use HTML, JavaScript, ASP, and other web technologies in the development of online courseware. Ability to program in C+, C++ and C#. Flash development experience and proven Action Script knowledge. Ability to develop SCORM and Section 508 compliant courseware. Understanding of different types of LMSs, to include Instructor Operator Station in Closed Classroom Environment. Ability to work in propriety tool to create and edit courseware development templates.Desired skillsWorking in courseware development teams and previous experience developing to Army ATSC and Navy NKO standards strongly desired.Specific Job DescriptionThe position will support curriculum development (both instructor-led training and distributed learning) in conjunction with instructional designers in the development of animations, templates, and other multimedia requirements. Candidate will work directly with instructional designers to create new programming templates, in the proprietary tool, to meet customer requirements. Programmer will be expected to keep abreast of new software/technologies in developing programming needs and multimedia, such as LMSs, SCORM, Flash, Action Script, and programming languages.Standard Job DescriptionDesigns and develops multimedia applications, systems and products involving computer graphics and interactive computing such as computer-based systems for personal computers or CD-ROM applications. Incorporates software applications in multiple technology media systems, such as graphics, animation, text, and sound.Security ClearanceNoneTypical MinimumsBachelors degree from an accredited college in a related discipline, or equivalent experience/combined education, with 2 years of professional experience; or no experience required with a related Masters degree. Considered experienced, but still a learner.LMCareers Business UnitESS0806 SIMULATION TRAINING AND SUPTBusiness AreaElectronic SystemsDepartmentR450:TSI Global CCD ExemptJob ClassInformation TechnologyJob CategoryExperienced ProfessionalStateVirginiaRelocation AvailableNoReq Type Full-Time = Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Adobe AIR 2.0 up on Labs!
I have not seen this surface in the group yet. I want to take this opportunity to again invite all Flash/Flex developers interested in Adobe AIR to going the AIR-Tight Google Group. AIR-Tight Links - You can join in one of two ways. 1. Send e-mail to air-tight+subscr...@googlegroups.com with the Subject of Subscribe. Gmail account *not* required when using this option. 2. Visit the group page at http://groups.google.com/group/air-tight?hl=enand join there. Group information - http://groups.google.com/group/air-tight/web/rules-and-information AIR 2.0 Links - Adobe AIR 2 beta on Labs http://labs.adobe.com/technologies/air2/ Adobe AIR Team Blog: Adobe AIR 2 Beta Now Available http://blogs.adobe.com/air/2009/11/adobe_air_2_beta_now_available.html Adobe AIR 2 Beta Release Notes on Labs http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes#Overview Adobe AIR 2 Beta Developer FAQ http://www.adobe.com/go/air2_faq Adobe AIR 2 Beta Sample Applications http://labs.adobe.com/technologies/air2/samples/ Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Baby Step #2
I agree that Colin's book Essential ActionScript 3.0http://books.google.com/books?id=gUHX2fcLKxYClpg=PP1dq=actionscript%203.0%20design%20patterns%20object%20oriented%20programming%20techniquespg=PP14#v=onepageq=f=falseis a must have for any AS3 programmer. If you are looking to get deeper into OOP and how objects can interact with one another, then I would look at design patterns. Some book suggestions... ActionScript 3.0 Design Patterns: OOP Techniqueshttp://books.google.com/books?id=lgk0Q7pMmLYClpg=PA1dq=actionscript%203.0%20design%20patterns%20object%20oriented%20programming%20techniquespg=PA1#v=onepageq=f=false ActionScript 3.0 with Design Patternshttp://books.google.com/books?id=DT7INNE3ui8Clpg=PP1dq=actionscript%203.0%20design%20patternspg=PP1#v=onepageq=actionscript%203.0%20design%20patternsf=false There are other books on the topic, but I have not read them and can not vouch for their content. The books above are very good in my opinion. Charles P. On Tue, Nov 17, 2009 at 2:04 PM, beno - flashmeb...@gmail.com wrote: On Tue, Nov 17, 2009 at 12:42 PM, Cedric Muller flashco...@benga.li wrote: - the Adobe documentation is hard at first glance, but it prooves itself to be very useful. The hardest part is to first take time to read 200-300 pages from the base doc' ... I'm reading it ;) I've done enough programming to know the value of this document ;) otherwise (if you haven't) you should buy a serious book ;) You know, I just moved back from a 3rd world country (the Dominican Republic) where I went broke (it was wonderful). I learned to survive on very little in the process. And I ain't changing those habits. I don't buy nuttin unless I absolutely have to :)) beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Cache in IE FF
You can append a query string to any URL and this forces a reload of the data from the CLIENT. For example, as someone has already pointed out. Main.swf?nocache=+(new Date()).getTime() You can also do this to your data file. myData.xml?nocache=+(new Date()).getTime() As you might have noticed, I was specific about this working to force reloading on the client. It has been my experience that this is not a 100% solution. There are some instances where the server will cache the data and query strings do not force the reloading of data. The server cache would eventually update after a few hours though. To be honest I do not know the solution to this part of the puzzle. I put that issue on the laps of the server administrator. I know that it took his several patches to fix the issue for users off domain. I do recall that people on the same domain were still getting caching issues. This was finally chalked up to a FOL (fact of life). To provide full disclosure, this was a fairly complex network and domain config. as it was for a major financial institution. So, the problem might have been self induced and thus unique to the company. Charles P. On Fri, Sep 25, 2009 at 11:52 AM, Muzak p.ginnebe...@telenet.be wrote: Depending on your browser settings, it's both. But in general you only need to worry about the data caching. So appending a random number to the text file url should suffice. - Original Message - From: Don Schnell - TFE dschn...@toolsforeducation.com To: n...@joeflash.ca Cc: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, September 25, 2009 3:35 PM Subject: Re: [Flashcoders] Flash Cache in IE FF Chris/Joe, thanks a bunch, but here is my next question (just curious)... Is it the SWF which is not getting reloaded every time the page is viewed and thus my data is not getting reloaded or is it my data file that is cached and therefore the browser just keeps reloading the same old data file, or is it both? One other item I notice is that I entered the url for the actual text file i was attempting to load and when I previewed that file it also contained old content and did not update until I performed a CTRL F5. Even attempting to clear the browser cache didn't seem to help. *Don ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] mathematics of an elipse
Hmmm Likely not, now that I am looking through it. I could have sworn it had a demo on angles and areas Charles P. On Thu, Jun 18, 2009 at 1:35 PM, Charles Parcell pokemonkil...@gmail.comwrote: Does this help at all? Check the demo. http://code.google.com/p/bezier/ Charles P. On Thu, Jun 18, 2009 at 10:59 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: hey guys I have have a maths problem that i'm having trouble solving, despite repeated attempts on Google. If i have an angle and a distance (n), plus one of the axis lengths (say the minor, y), how would i find out what the remaining axis length (x) was please? I've drawn it out here (let me know if the link fails - it has a limit) https://www.yousendit.com/download/cmczRFFlK3hLVlZMWEE9PQ Thanks A ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] mathematics of an elipse
Does this help at all? Check the demo. http://code.google.com/p/bezier/ Charles P. On Thu, Jun 18, 2009 at 10:59 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: hey guys I have have a maths problem that i'm having trouble solving, despite repeated attempts on Google. If i have an angle and a distance (n), plus one of the axis lengths (say the minor, y), how would i find out what the remaining axis length (x) was please? I've drawn it out here (let me know if the link fails - it has a limit) https://www.yousendit.com/download/cmczRFFlK3hLVlZMWEE9PQ Thanks A ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Crossword generator advice
As Paul has stated, recursion is the answer to building this generator correctly. But just as a sanity check, have you traced out the combinations that your currect generator is attempting? That may put some light on where it was breaking. If for nothing else, it will help you understand where the logic broke down. Learning from our mistakes is always helpful. Charles P. On Mon, Jun 1, 2009 at 6:59 AM, Paul Andrews p...@ipauland.com wrote: I've realised that there needs to be further loops around the layout code. For the crossword grid a viable set of horizontal layout positions may start at a given (x,y) position and the solution should search in terms of increasing x, then y, so the code might then go something like this.. layoutFrom=Point(0,0); // top left while (layoutFrom!=null) { newSolution = layoutHorizontalWord(layFrom, currentWord, currentSolution); if (newSolution.isValid()) { newSolution = layoutXword(words, newSolution ); if (newSolution.isValid()) return newSolution; // solved } layoutFrom= newSolution.getNextPosition(); // returns the next x,y position after the last position used, or null if none left. } Paul - Original Message - From: Paul Andrews p...@ipauland.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, June 01, 2009 11:14 AM Subject: Re: [Flashcoders] Crossword generator advice You should use recursion. At each stage you should loop through the available words, trying to lay them onto the crossword area. Paul It goes a bit like this: var wordList = [word1,word2,word3, .. ]; var xwordSolution:XwordSolution; var currentSolution= new XwordSolution(maxWidth, maxHeight); // emptyGrid xwordSolution = layoutXword(wordList, currentSolution); if (xwordSolution.isValid()) trace(Solved!) else trace(no solution found); function layoutXword(words:Array, currentSolution:XwordSolution):XwordSolution { while (words.length 0){ currentWord = words.pop(); // horizontal newSolution = layoutHorizontalWord(currentWord, currentSolution); if (newSolution.isValid()) { newSolution = layoutXword(words, newSolution ); if (newSolution.isValid()) return newSolution; // solved } // the horizontal layout wasn't possible, try vertical newSolution = layoutVerticalWord(currentWord, currentSolution); if (newSolution.isValid()) { newSolution = layoutXword(words, newSolution ); if (newSolution.isValid()) return newSolution; // solved } // couldn't layout this word, try the next } // Couldn't layout any of the words - solution failed. return newSolution; // this will be failed } - Original Message - From: Paul Steven paul_ste...@btinternet.com To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Monday, June 01, 2009 10:33 AM Subject: RE: [Flashcoders] Crossword generator advice I am still struggling to find a solution to this crossword generator and could do with some advice on a possible solution I want to try. If I enter my list of 16 words in a particular order (an order based on what looks like the order the solution would place them), the generator creates the puzzle in a matter of seconds. However if I enter them in a different order, the generator always breaks out of the loop by my exit condition (number of loops 5000). I am assuming this is either due to an error in my code or due to the fact there are so many combinations to try. I am therefore thinking a possible solution is to try every permutation (I think this is the right word) of the 16 words. If I am correct there would be 240 possible permutations. ((X - 1) * X) where X is the number of items in the list. I am not sure however how to create the 240 variations of the list. Any advice on how to create these 240 permutations of the list would be much appreciated. Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Crossword generator advice
Two suggestions. 1) Order your list of words from longest to shortest. Longer words have more letters to build off of for future word placement. Longer words are also harder to place within the grid size as additional words are added. 2) Starting your first word in the upper left limits how additional words are chained off of it. Specifically, you are limiting the generator to only matching the first letter of the second word to be placed. As an alternative you could place your first word (horizontally or vertically, try both) in the middle of your grid. This will allow for middle letters to be matched with the first word. Even better would be to have a floating grid. Start placing words allowing the range of X and Y to adjust but maintaining the maximum X and Y of your target grid. For example, lets say your first word is 8 characters long and your second word is 8 characters long as well. Your second word would cross the first word at position 5 or the first word and position 2 of the second word. Now if the first word were placed in the top left or the middle of the 9x9 grid, this match is not possible. If your generator could shift to allow for these words to fit within the constraints of your 9x9 range, you would be more likely to find a larger range of possible board layouts. In the case above, lets say the first word was placed horizontally in the middle of the grid on row 5. The result would be that the starting word would slide from row 5 up to row 3 to allow the second word to run from row 2 through row 9. Obviously this sliding around the grid would likely only happen within the first 2-6 placements (assuming that you were placing longer words first). By this point your would run out of range to slide your grid around. Meaning you would have met your X and Y bounds by sliding around your grid. Charles P. On Sun, May 31, 2009 at 7:36 AM, Paul Andrews p...@ipauland.com wrote: I suspect that the algorithm is wrong. For example quantity top left, alb will only fit quantity in one place and there is only one other a candidate amble. Very quickly your choices will be reduced due to placement, so 5,000 attempts seems excessive. Sadly I have a ton of other things to do or I'd have a go myself. Paul - Original Message - From: Paul Steven paul_ste...@btinternet.com To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Sunday, May 31, 2009 12:17 PM Subject: RE: [Flashcoders] Crossword generator advice Thanks Paul My code should backtrack in the situation you mention. So for example if it fits tarragon on the first t but then continues to not be able to find a solution with tarragon in this position, it will backtrack so that it changes tarragon to the second t. However I still can't find a solution with 16 words. There may be some other flaws in my logic preventing this. I was wondering if in order to find a solution it will take thousands of attempts to find a solution? I have a counter that when reaches 5000, it breaks out of the loop trying to find the solution so I am effectively trying 5000 combinations - perhaps there is an equation to calculate how many combinations there are? I would be interested if anyone else can solve this puzzle with an alternative crossword generator? Thanks Paul -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews Sent: 31 May 2009 12:07 To: Flash Coders List Subject: Re: [Flashcoders] Crossword generator advice There is a flaw in your logic. It may be that multiple words fit a given situation, and so it's necessary (with such a simple algorithm) to backtrack and look for another word to fit once you are unable to fit another word from your list - so the real problem is saving where you are in the list of possible combinations as you go along. For example, in quantity there are two t s, so there are two possibilities for fitting a word. You may go with tarragon for the first t but in practice it may only be possible to have a solution with tarragon as the second t. You must be able to backtrack your choice of tarragon as a solution for the first t and go with twin instead. You must be able to do this at every stage. Once you can your software should work. Paul - Original Message - From: Paul Steven paul_ste...@btinternet.com To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Sunday, May 31, 2009 10:09 AM Subject: RE: [Flashcoders] Crossword generator advice Just to add more information to how I am currently trying to achieve this. I basically start with the first word in the list and place it in the top left position 0,0. I then attempt to add the next word in the list by finding a character in the first word that is the same as one of the characters in this new word. If it fails to add this next word, it puts this word to the back of
Re: [Flashcoders] access individual items in combobox
This what you are looking for? myComboBox.getItemAt(1); Charles P. On Tue, May 26, 2009 at 10:51 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... How do you access individual items in an AS3 component combobox? I can't seem to pick through the combobox.dropdown reference. I am trying to skin each of the items in the dropdown differently based on their values. Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Advice on creating dynamic crossword cluesth resize function
But will Kevin make an honest file? :) Couldn't resist. Charles P. On Thu, May 21, 2009 at 7:19 AM, Paul Steven paul_ste...@btinternet.comwrote: snip I really appreciate your time knocking up this file. Cheers Paul -Original Message- I've knocked up a quick example of moving a masked movieclip which contains textfields populated by xml data.snip ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Window Shade Component for Flex?
Yes, it is similar. The accordion is a fixed height though. I have found what I was looking for in FlexLib. (which I had not know about before) http://code.google.com/p/flexlib/ Thanks, Charles P. On Sun, May 3, 2009 at 11:57 AM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, Isn't that a bit like an Accordion with one single block?? Glen Charles Parcell wrote: Anyone know of a component that does a simple window shade? Window Shade One line of title text that when clicked, reveals a block of content under the title text. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Window Shade Component for Flex?
Anyone know of a component that does a simple window shade? Window Shade One line of title text that when clicked, reveals a block of content under the title text. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Adobe AIR Mailing List?
OK so I made one. In an attempt to be modern and give the group a name like FlashTiger, I made Air-Tight. You can subscribe in one of two ways. 1. Send e-mail to air-tight+subscr...@googlegroups.com with the Subject of Subscribe. 2. Visit the group page at http://groups.google.com/group/air-tight?hl=enand join there. In either case, the group is made and anyone can join. The idea is to keep the group focused on AIR development. It doesn't matter if it is with Flash, Flex, or JavaScript. Beginners and veterans are all welcome. Charles P. On Fri, Apr 24, 2009 at 3:59 AM, Rajiv Seth (Pixeldust) pixels.ra...@gmail.com wrote: me too. On Fri, Apr 24, 2009 at 12:45 PM, Jiri jiriheitla...@googlemail.com wrote: I will join to :) J Steve Mathews wrote: Start your own, I will join! :) On Thu, Apr 23, 2009 at 10:27 AM, Steven Sacks flash...@stevensacks.net wrote: Anyone know of an active Adobe AIR mailing list (like Flashcoders/Flash Tiger)? Apollocoders is basically dead, and all posts are moderated. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ui scroll bar
Player version? This happen on other machines? Charles P. On Thu, Apr 23, 2009 at 1:52 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders, I have a dynamic text and a UI scrollbar, no problem when I preview the movie in flash cs4. Problem is When I embed it on the browser (safari and firefox) the scroll is not working, why is that? I need urgent help. Gus ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ui scroll bar
Indeed there is not scroll tab in the scroll bar. One thing I did notice, not I think it is your issue, but in your HTML you have the player version set to 6.0.65.0. If you are indeed using AS3, then that player version will not play the SWF. You will need to change that value to at least 9.0 Another thing that might be an issue is if your parent SWF is older than version 9. Meaning it was published to version 8 and then it is trying to pull in a version 10 SWF with AS3. Because of the VM version, it might not be communicating properly under the hood. Are any of your SWF files older than version 9 (CS3)? As a side not, that page is not displaying at all in IE6 on Windows XP. The page displayed in FireFox 3 (with no scroll bar). Charles P. On Thu, Apr 23, 2009 at 2:45 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: fp10, using safari and firefox, no idea if this is happening in other machines(mine is mac), check this URL for me: http://clients.leftandrightsolutions.com/cofinaWeb/index.html click on the part of about us. that is the part where the scroll bar is supposed to be. At the beginning was on the stage, then I've created dynamically using AS3, but it seems not to work both ways. thanks for your help Gus On Apr 23, 2009, at 2:26 PM, Charles Parcell wrote: Player version? This happen on other machines? Charles P. On Thu, Apr 23, 2009 at 1:52 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders, I have a dynamic text and a UI scrollbar, no problem when I preview the movie in flash cs4. Problem is When I embed it on the browser (safari and firefox) the scroll is not working, why is that? I need urgent help. Gus ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ui scroll bar
HTML looks fine. Does this problem appear if you run it locally in a browser? How about making a projector and seeing if the problem exists there as well. Only thing that I can really guess at is that something within the IDE is helping it work. Is the component set to export on the first frame? Is the component on the first frame of the SWF? If not try placing it there so that it can instantiate. At this point I can only guess. Charles P. On Thu, Apr 23, 2009 at 3:34 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: nope the page now, have the source code to 9.0 check it please and the version of the flash player is 10 AS3, I don't know what else to do I'm going to try to use the same in other file to see If I set something wrong. would you check on the container page to see if there is something there that shouldn't be there? Regards, Gus On Apr 23, 2009, at 3:09 PM, Charles Parcell wrote: Indeed there is not scroll tab in the scroll bar. One thing I did notice, not I think it is your issue, but in your HTML you have the player version set to 6.0.65.0. If you are indeed using AS3, then that player version will not play the SWF. You will need to change that value to at least 9.0 Another thing that might be an issue is if your parent SWF is older than version 9. Meaning it was published to version 8 and then it is trying to pull in a version 10 SWF with AS3. Because of the VM version, it might not be communicating properly under the hood. Are any of your SWF files older than version 9 (CS3)? As a side not, that page is not displaying at all in IE6 on Windows XP. The page displayed in FireFox 3 (with no scroll bar). Charles P. On Thu, Apr 23, 2009 at 2:45 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: fp10, using safari and firefox, no idea if this is happening in other machines(mine is mac), check this URL for me: http://clients.leftandrightsolutions.com/cofinaWeb/index.html click on the part of about us. that is the part where the scroll bar is supposed to be. At the beginning was on the stage, then I've created dynamically using AS3, but it seems not to work both ways. thanks for your help Gus On Apr 23, 2009, at 2:26 PM, Charles Parcell wrote: Player version? This happen on other machines? Charles P. On Thu, Apr 23, 2009 at 1:52 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders, I have a dynamic text and a UI scrollbar, no problem when I preview the movie in flash cs4. Problem is When I embed it on the browser (safari and firefox) the scroll is not working, why is that? I need urgent help. Gus ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ui scroll bar
Ahh This explains why it worked only locally. Because you have next to no latency locally. Glad the mystery is solved. :) Charles P. On Thu, Apr 23, 2009 at 9:50 PM, Gustavo Duenas LRS gdue...@leftandrightsolutions.com wrote: Charles I've just solved, seeing the adobe documents online, I've been so dumb, it was this, so simple: function onComplete(e:Event):void{ this.pruebaTexto.text= e.target.data; myScroll.scrollTarget= this.pruebaTexto; } originally the myScroll.scrollTarget = this.pruebaTexto was outside of the complete event, so when it triggered the addchild it wasn't text yet, so the bar was blank, once I've put it on the complete event, once the text field has the data it triggers the scrollbar. I felt so dumb, ciao and thanks for your help. Gus On Apr 23, 2009, at 4:07 PM, Charles Parcell wrote: HTML looks fine. Does this problem appear if you run it locally in a browser? How about making a projector and seeing if the problem exists there as well. Only thing that I can really guess at is that something within the IDE is helping it work. Is the component set to export on the first frame? Is the component on the first frame of the SWF? If not try placing it there so that it can instantiate. At this point I can only guess. Charles P. On Thu, Apr 23, 2009 at 3:34 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: nope the page now, have the source code to 9.0 check it please and the version of the flash player is 10 AS3, I don't know what else to do I'm going to try to use the same in other file to see If I set something wrong. would you check on the container page to see if there is something there that shouldn't be there? Regards, Gus On Apr 23, 2009, at 3:09 PM, Charles Parcell wrote: Indeed there is not scroll tab in the scroll bar. One thing I did notice, not I think it is your issue, but in your HTML you have the player version set to 6.0.65.0. If you are indeed using AS3, then that player version will not play the SWF. You will need to change that value to at least 9.0 Another thing that might be an issue is if your parent SWF is older than version 9. Meaning it was published to version 8 and then it is trying to pull in a version 10 SWF with AS3. Because of the VM version, it might not be communicating properly under the hood. Are any of your SWF files older than version 9 (CS3)? As a side not, that page is not displaying at all in IE6 on Windows XP. The page displayed in FireFox 3 (with no scroll bar). Charles P. On Thu, Apr 23, 2009 at 2:45 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: fp10, using safari and firefox, no idea if this is happening in other machines(mine is mac), check this URL for me: http://clients.leftandrightsolutions.com/cofinaWeb/index.html click on the part of about us. that is the part where the scroll bar is supposed to be. At the beginning was on the stage, then I've created dynamically using AS3, but it seems not to work both ways. thanks for your help Gus On Apr 23, 2009, at 2:26 PM, Charles Parcell wrote: Player version? This happen on other machines? Charles P. On Thu, Apr 23, 2009 at 1:52 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders, I have a dynamic text and a UI scrollbar, no problem when I preview the movie in flash cs4. Problem is When I embed it on the browser (safari and firefox) the scroll is not working, why is that? I need urgent help. Gus ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Favorite Flex book?
heh yeah your thread got hijacked. Charles P. On Thu, Apr 16, 2009 at 12:38 PM, Todd Kerpelman t...@kerp.net wrote: By the way, in case anybody was wondering, I ended up picking up the O'Reilly Flex Cookbook over the Training From the Source one, primarily because the O'Reilly site had a very simple Buy the PDF option. (It's a little easier to read and code on the train if I can just have everything on my laptop.) Somebody oughta tell these Adobe folks about this .pdf format I've been hearing so much about. I bet they'd like it! --T On Wed, Apr 15, 2009 at 2:29 AM, Paul Andrews p...@ipauland.com wrote: I think one of the things that will determine whether you like Flex training from the source, is whether you want a book you can just read and later pick up and thumb through a section. Flex training from the source is arranged more as a series of hands-on exercises where the reader is told how to follow through on a computer and any discussion is based on the practical work done. It's not so much a Pick me up and dip into me type of book because so much of the content is centred around actively sitting at a computer doing the exercises. It would make a poor reference but is strong at hands-on. Very much a doing book. Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to test in Flash Player 6
Isn't there some sort of FireFox plug-in that allows you to have multiple Flash Players and to easily switch between them? I have seen this on someone elses machine but I am not finding it when I Google search it. Charles P. On Wed, Apr 15, 2009 at 8:35 AM, Adrian Ionut Beschea flashbk2...@yahoo.com wrote: Hi, you can try this link: http://www.google.ro/search?q=download+older+flash+player+versions+ie=utf-8oe=utf-8aq=trls=org.mozilla:en-GB:officialclient=firefox-a there is a firefox plugin that allows you to switch flash player version anytime you want but last time I used it (few years ago) it had some issues when wanting to switch back. Basically the only way to restore my flash player was to install the .msi version. good luck. --- On Wed, 4/15/09, Paul Steven paul_ste...@btinternet.com wrote: From: Paul Steven paul_ste...@btinternet.com Subject: [Flashcoders] How to test in Flash Player 6 To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Date: Wednesday, April 15, 2009, 3:10 PM I am making a game for a large organisation where the most common Flash player is version 6. I would appreciate any advice on how best I can test on this player version. Is this player version still available for download and if so where? Is there any clever apps/websites that allow me test on various flash versions? Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to test in Flash Player 6
Finally found it. https://addons.mozilla.org/en-US/firefox/addon/5044 Charles P. On Wed, Apr 15, 2009 at 8:50 AM, Charles Parcell pokemonkil...@gmail.comwrote: Isn't there some sort of FireFox plug-in that allows you to have multiple Flash Players and to easily switch between them? I have seen this on someone elses machine but I am not finding it when I Google search it. Charles P. On Wed, Apr 15, 2009 at 8:35 AM, Adrian Ionut Beschea flashbk2...@yahoo.com wrote: Hi, you can try this link: http://www.google.ro/search?q=download+older+flash+player+versions+ie=utf-8oe=utf-8aq=trls=org.mozilla:en-GB:officialclient=firefox-a there is a firefox plugin that allows you to switch flash player version anytime you want but last time I used it (few years ago) it had some issues when wanting to switch back. Basically the only way to restore my flash player was to install the .msi version. good luck. --- On Wed, 4/15/09, Paul Steven paul_ste...@btinternet.com wrote: From: Paul Steven paul_ste...@btinternet.com Subject: [Flashcoders] How to test in Flash Player 6 To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Date: Wednesday, April 15, 2009, 3:10 PM I am making a game for a large organisation where the most common Flash player is version 6. I would appreciate any advice on how best I can test on this player version. Is this player version still available for download and if so where? Is there any clever apps/websites that allow me test on various flash versions? Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to test in Flash Player 6
And of course the Mozilla site will not allow it to be updated for the current browser version. I did track down a link that does work. http://www.sephiroth.it/firefox/flash_switcher/#install Scroll down to the Install link. Charles P. On Wed, Apr 15, 2009 at 8:53 AM, Charles Parcell pokemonkil...@gmail.comwrote: Finally found it. https://addons.mozilla.org/en-US/firefox/addon/5044 Charles P. On Wed, Apr 15, 2009 at 8:50 AM, Charles Parcell pokemonkil...@gmail.comwrote: Isn't there some sort of FireFox plug-in that allows you to have multiple Flash Players and to easily switch between them? I have seen this on someone elses machine but I am not finding it when I Google search it. Charles P. On Wed, Apr 15, 2009 at 8:35 AM, Adrian Ionut Beschea flashbk2...@yahoo.com wrote: Hi, you can try this link: http://www.google.ro/search?q=download+older+flash+player+versions+ie=utf-8oe=utf-8aq=trls=org.mozilla:en-GB:officialclient=firefox-a there is a firefox plugin that allows you to switch flash player version anytime you want but last time I used it (few years ago) it had some issues when wanting to switch back. Basically the only way to restore my flash player was to install the .msi version. good luck. --- On Wed, 4/15/09, Paul Steven paul_ste...@btinternet.com wrote: From: Paul Steven paul_ste...@btinternet.com Subject: [Flashcoders] How to test in Flash Player 6 To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Date: Wednesday, April 15, 2009, 3:10 PM I am making a game for a large organisation where the most common Flash player is version 6. I would appreciate any advice on how best I can test on this player version. Is this player version still available for download and if so where? Is there any clever apps/websites that allow me test on various flash versions? Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Does Flash fire any event(s) when...
I am not aware of Flash making these event calls but JavaScript can (unLoad). Charles P. 2009/2/4 Andrew Murphy amur...@delvinia.com Hi. :) I was wondering if a .swf embedded in a web page fires and event(s) when... 1) ...the user navigates away from the page. 2) ...the user closes the browser window. I doubt that it does but thought I'd check with the experts here first. Thank you. :) Andrew Murphy Interactive Media Specialist mailto:amur...@delvinia.com amur...@delvinia.com Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2 - Code not working in FP10
Is there a live link that shows this and we can test our FP versions on it? Charles P. On Thu, Nov 6, 2008 at 5:26 AM, FlashDev [EMAIL PROTECTED] wrote: Yeah its just wired how it works in FP9 and not FP10 and I was wondering if it was this code or if it could be something else!? - Original Message - From: sebastian To: Flash Coders List Sent: Wednesday, November 05, 2008 10:23 PM Subject: Re: [Flashcoders] AS2 - Code not working in FP10 Hi, I'm sure someone else can give a reason, cause I wouldn't know; but short of that, you could use a tween engine to center it. AS2 has several good tween engines available. Seb. FlashDev wrote: Hi guys, ive got a bit fo code that works fine in flash player 9 but in 10 it completely messes up! Its suppose to centre an image, any ideas why it no longer works? center_content.onEnterFrame = function() { // CENTER Y contentYTarg = Math.round((Stage.height - center_content._height)/2); contentYDist = contentYTarg - center_content._y; center_content._y += contentYDist/contentEase; if (contentYDist 0) { center_content._y = Math.ceil(center_content._y); }else{ center_content._y = Math.floor(center_content._y); } if (Math.abs(contentYDist) 1) { center_content._y = contentYTarg; } // CENTER X contentXTarg = Math.round((Stage.width - center_content._width)/2); contentXDist = contentXTarg - center_content._x; center_content._x += contentXDist/contentEase; if (contentXDist 0) { center_content._x = Math.ceil(center_content._x); }else{ center_content._x = Math.floor(center_content._x); } if (Math.abs(contentXDist) 1) { center_content._x = contentXTarg; } // WHEN CENTERING IS COMPLETE... if (contentYDist == 0 contentXDist == 0) { delete center_content.onEnterFrame } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML optimization
I would log some of your PHP then. I would fully expect parsing to take way more time than loading. But given your latest bit of info I would lay my money on the dynamic generation of the XML. Charles P. On Thu, Oct 30, 2008 at 10:42 AM, Matt S. [EMAIL PROTECTED] wrote: No, its definitely in the loading, i've got it tracing out in the flash and all the delay is happening during the initial load of the XML, not during the parsing. But the actual live load is from php, eg ../tommunro_v2_xml.php so it may be when the php is parsing the XML and generating it. .m On Thu, Oct 30, 2008 at 11:28 AM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, its only 60kb? That shouldn't take too long. Can you see what is taking up the time? Might be parsing instead of loading. regards, JC On Thu, Oct 30, 2008 at 4:00 PM, Matt S. [EMAIL PROTECTED] wrote: So I know this is kind of a mammoth XML file to load all at once, but it doesnt seem THAT big, but its taking longer than expected. Can anyone look at this XML and suggest any ways to optimize it, that dont involve breaking it up into multiple files? http://knowawall.com/dev/tommunro/tommunro_xml2.xml ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [BULK] Re: [Flashcoders] Is there a quick way to convert back to AS2?
All well and good, but the government wants business reasons and not technical abilities. As someone else noted, point out the security upgrades as a starting point. Then include tangible reasons such as better performance of course ware. More robust user experience because of better video support of e-learning materials. In other words you have to spin the enhances to fit the clients needs. But having worked into the government sector for a while, your project is not likely to grease the wheels alone or even in a timely manner for your project. But it doesn't hurt to try. :) Charles P. On Thu, Oct 23, 2008 at 11:16 AM, Merrill, Jason [EMAIL PROTECTED] wrote: What are some good arguments for upgrading? I need to be able to convince him that this is the way to go! http://gskinner.com/talks/as3workshop/ and especially: http://gskinner.com/talks/50reasonsAS3/ Jason Merrill Bank of America GCIB Staff Support LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Error#1065
Having read numerous past posts on this list, I am still not clear on how to fix the issue I have. Basically, I have a document class and a class attached to a MC on stage that extends MovieClip. I have set Automatically declare stage instances OFF. I have imported MyBlock (the class attached to the instance on stage) into the document class and declared the instance name as type MyBlock. import MyBlock ... var private myBlock:MyBlock; I get no compile errors by I get two 1065 errors. The first is for the document class (ColorTest) and the second is for the MyBlock class. ReferenceError: Error #1065: Variable MyBlock is not defined. ReferenceError: Error #1065: Variable ColorTest is not defined. What is the magic piece that I am missing to fix this? I fail to understand how or where Flash expects me to define the document class. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Error#1065
On Mon, Sep 22, 2008 at 3:30 PM, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: Charles Parcell [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, September 22, 2008 8:08 PM Subject: [Flashcoders] Error#1065 Having read numerous past posts on this list, I am still not clear on how to fix the issue I have. If anyone is curious Charles is already being helped on Flash tiger - not fast enough it seems. Crossposting again! FYI, without success. So, i am still looking for any help on the issue. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Error#1065
John on Flash_Tiger pointed me in the right direction. Basically to fix my issue I had to set both class files to be public (dynamic was not required). i.e. public class ColorTest extends MovieClip In addition though, I had to make the variables that are the instance names (myBlock and myTextField which is already on stage) public and not private. This seems a bit odd to me, but it might be a requirement for document classes? I will dig further into this one. But for now, this corrects my issue. It compiles and runs as expected now. Charles P. On Mon, Sep 22, 2008 at 3:08 PM, Charles Parcell [EMAIL PROTECTED]wrote: Having read numerous past posts on this list, I am still not clear on how to fix the issue I have. Basically, I have a document class and a class attached to a MC on stage that extends MovieClip. I have set Automatically declare stage instances OFF. I have imported MyBlock (the class attached to the instance on stage) into the document class and declared the instance name as type MyBlock. import MyBlock ... var private myBlock:MyBlock; I get no compile errors by I get two 1065 errors. The first is for the document class (ColorTest) and the second is for the MyBlock class. ReferenceError: Error #1065: Variable MyBlock is not defined. ReferenceError: Error #1065: Variable ColorTest is not defined. What is the magic piece that I am missing to fix this? I fail to understand how or where Flash expects me to define the document class. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [OT] Director Next Roadmap Survey
Dean asked that I post this to this list in hopes that previous Director users who now use Flash, would take the time to fill out this survey. Likewise, Flash developers who have interest in other multimedia tools by Adobe are also asked to take part in this survey. Adobe is listening. :) -- From: Dean Utian [EMAIL PROTECTED] Hi all, I've created a new Director survey that attempts to gather information on current user base and their expectations going forward. Will say that it is not a wish list survey but one that looks deeper at features and how they translate into real projects. I have done this by asking users to the following: (1) rank broad feature categories (3D, text, sound.) (2) look at a subset of these broad categories and rank them (3) give detailed examples of products that employ these features. I have other sections that look at 'How you use Director', 'Director 11' and 'About You'. These are short sections to give context to your feature answers. The most detailed section is on the features and how they will be used. This is the most detailed Director survey in history. It will take 25-45 minutes to complete. The time will depend on how many feature categories you choose to focus on and how many examples you provide. I STRONGLY encourage you download a PDF version of the survey to review the questions and features covered. Once you have put your thoughts together, you can then enter your answers online. I'm using Survey Monkey to manage and collate the survey. Please go to the following URL first: http://www.deansdirectortutorials.com/survey/DirectorRoadmap/ It gives the survey link, the PDF version, and some general info on the survey. The survey is mainly focused on users that develop products with Director. But educators, learners, or anyone else that uses Director in some form other than commercial development, can fill it in. So, spread the word:) Last thing for this email is a thanks to all that helped put this together. This includes input from Ben (Duck), Noisecrime, and various people at Adobe. Special thanks to Thomas McCrystal for his large role in formulating and reviewing questions. Thanks. regards Dean - Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Testing
Testing my messages are not getting through I think. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Testing
Hmm I just never noticed it before. :) Thanks. Charles P. On Tue, Sep 16, 2008 at 11:00 AM, Ian Thomas [EMAIL PROTECTED] wrote: Yes they are. This is a common issue with Gmail - it is 'clever' enough not to show you your own emails to a mailing list unless they're replied to. Ian On Tue, Sep 16, 2008 at 3:54 PM, Charles Parcell [EMAIL PROTECTED] wrote: Testing my messages are not getting through I think. Charles P. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Your Best CS4 Upgrade Guesstimate
I was going to suggest 50% to be very conservative. Charles P. On Mon, Aug 18, 2008 at 2:35 PM, Merrill, Jason [EMAIL PROTECTED] wrote: LOL, Greg, sounds like a good idea. Thanks Kerry too - I did a quick survey of upgrade prices on Adobe.com and found the % difference between upgrade price and new full license prices to be: Flash 28% Illustrator 33% Photoshop 35% Flexbuilder 39% Dreamweaver 49% So maybe 35% is a good unscientific guess. Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 2D and 3D floor plans
FF3 FP10b Going to 3d view crashes the browser. The 2D builder is very nice. lots of time has obviously been put into this. Great job! Charles P. On Tue, Jul 8, 2008 at 10:36 AM, Gert-Jan van der Wel [EMAIL PROTECTED] wrote: Hi list, Maybe a little spammy message, but I just wanted to let you know that we released a new version of Floorplanner that's now open for beta testers. This version has better 2D/3D integration and it's finally possible to show furniture elements in 3D (using Papervision 3D of course :-) So if you feel like giving it a test drive, click on one of these links: http://beta.floorplanner.com/ http://beta.floorplanner.com/demo http://beta.floorplanner.com/start Thanks! Gert-Jan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [AS3] Problem with For loop
var summaryClick = function (ev:Event) { trace(i); // Outputs incorrectly (Outputs 5 on each MovieClip click) ??? } i does not exist within your loaded MovieClip. You need to trace a variable that is specific to the MovieClip. Charles P. On Fri, May 2, 2008 at 10:58 AM, SJM - Flash [EMAIL PROTECTED] wrote: This function should loop through 5 times creating 5 different MovieClips, each one with a mouse click event attached, which should trace the value of i either 1, 2, 3, 4 or 5. So the first movieclip should output 1, second should output 2 and so on... for (var i = 0; i itemList.length(); i++) // itemList.length() is equal to 5 { _summaryElement[i] = loadLibrary(itemContainer); // Loads MovieClip from library trace(i); // Outputs correctly 1... 2... 3... 4... 5... var summaryClick = function (ev:Event) { trace(i); // Outputs incorrectly (Outputs 5 on each MovieClip click) ??? } addChild(_summaryElement[i]); // Adds MovieClip to stage _summaryElement[i].addEventListener(MouseEvent.CLICK, summaryClick); // Adds an click event to each MovieClip } Thanks SJM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] tree component
You mean reordering of the tree elements? or do you mean dropping in external items to add new elements? Charles P. On Mon, Apr 21, 2008 at 5:03 AM, marcellouz [EMAIL PROTECTED] wrote: Hi Does anyone know an as3 tree component with built-in dragdrop functionalities? I'd like to avoid using the flex tree component... thx, Marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR publishing problems
The answer to your question is what this article is all about. http://www.adobe.com/devnet/air/flash/articles/air_flash_developers.html Charles P. On Tue, Feb 26, 2008 at 4:21 PM, dave matthews [EMAIL PROTECTED] wrote: hi All, FlashCS3 with the newly released AIR additions installed wants a 'descriptor file'! Ah, what is this and why didn't Flash make one when the special Air publish tool is used? thanks, Dave_Matthews _ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as3 creating sprite instances in a loop
I think the issue is that you are waiting until you exit the loop to do any addChild() calls. In that case you will only ever get one sprite added to the display list. This is because when the loop is done it only has a single reference to a sprite. You might want to do two things. First, and most important, add each sprite to an array. Second, call addChild() within the loop. var mySpriteArray:Array = new Array(); for (var j:uint = 0; j _columns; j++) { var sprite:Sprite = new Sprite(); // This will allow you to reference the sprites // later more easily. mySpriteArray.push(sprite); addChild(mySpriteArray[j]); // or addChild(sprite); } Charles P. On Dec 30, 2007 11:23 AM, Matt Muller [EMAIL PROTECTED] wrote: Hi, does anyone know how to create individual sprite instances in a loop for (var j:uint = 0; j _columns; j++) { var sprite:Sprite = new Sprite(); } this just over writes the sprite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Software Patent Question
First off, I am by far not the person to answer this question. That patent is bunk in my book. There is NO invention as far as I see. All I see is process not IP. I would expect that patent to get dropped once reviewed because it is a next logical step process. Crap like that makes me sick and really shows what the patent system has become. With all that said, if your process is different, then there is absolutely no conflict. Charles P. On Jan 2, 2008 4:25 PM, Dave Mennenoh [EMAIL PROTECTED] wrote: Question - as a software developer, are we free to create anything we want if we use our own, from scratch, code? For instance, we created a Flash based Virtual Makeover application a couple years back. We may make a new one for a new client but our old client has issue. Evidently they invented this makeover system, and even have a patent: http://tinyurl.com/2yxj8v But there are other examples of such systems. Maybe they're not identical, but the good ones work much the same. To me, it's utterly ridiculos that I could be stopped from writing any kind of software. I could make a Riven clone called Raven if I wanted, couldn't I? Anyone have any input? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rotating drowdown list component
What about putting the component in a MovieClip and setting _lockRoot = true Charles P. On Dec 20, 2007 3:24 PM, Helmut Granda [EMAIL PROTECTED] wrote: Thanks Jason. I think that finding the listcomponent inside the dropdown component will allow me to do the tweaking I need. On 12/20/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah, good to know for AS2, this project is in AS3 so have things changed in AS3? AS3 is the language, but yours is technically a framework question. I don't know about the Flash CS3 framework list components, but I do know the Flex 2 framework still has the same bug - you can rotate the list object, but the text in the list does not appear when you do so. Jason Merrill Bank of America LLD GTO eTools Multimedia Research Development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] target object under mouse-AS3 syntax?
Perhaps... event.currentTarget; private function mouseOverHandler(event:Event) { trace(event.currentTarget); } http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/Event.html#currentTarget Charles P. On Dec 17, 2007 1:10 PM, dave matthews [EMAIL PROTECTED] wrote: hi all, What is the correct syntax to target any named symbol on stage, please? Looking for the event target or something like that - just can't find the exact syntax to look it up in Moock's book! The app has many named symbols on stage, trying to use same 'widget' to drag/resize/rotate/etc. It's painful to code each individually with listeners etc. or dive into each symbol and pasting the frame with the code and buttons inside each... i'm seeing a pattern here and wish to use the same 'widget' to act on any symbol. Read about targeting the 'victim' of a mouse over for example: pseudo code: addEventListener.target.eventTarget(MouseEvent.MOUSE_OVER, set_targetname_to_var); thanks, Dave Matthewshttp://www.2GoTo.com _ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] dynamically attaching a movie clip to a class/object
You are not defining what the movie should be attached to. Try: _root.attachMovie(signPost, myPost, _root.getNextHighestDepth()); Note that I removed this.getNextHighestDepth(). Because this does not exist on the stage yet, you can not get its next highest depth. Charles P. On 4/26/07, sebastian chedal [EMAIL PROTECTED] wrote: hello flash coders! ive just joined and there are some nice discussions here, i hope to contribute positivly to the level of knowledge in the group. :) i'm currently learning how to work in an OOP manner in flash, and thus meeting some basic hurdles. it would be very kind of you if you could assist me in my [probably very simple] problems. :-) I'm using external *.as files, and at the moment i am trying to figure out how to attach a movie to it [should be simple, right?] my as file: class Post extends CoreClass { private var myPost:MovieClip; public function setCord(px,py,pz):Void { //set coordinates public var px:Number = px; public var py:Number = py; public var pz:Number = pz; //original point locations private var ox:Number = px; private var oy:Number = py; private var oz:Number = pz; } public function attachMe ():Void { attachMovie(signPost, myPost, this.getNextHighestDepth()); myPost._x = 0; myPost._y = 0; trace (myPost = + myPost._x); } } In frame 1 of the movie i write: Post0 = new Post (); //Post0.setCord(100,100,0.9); Post0.attachMe(); The trace comes up 'undefined' if i use the 'attachmovie' from the root in the main time line, it works just fine. any clues? thanks! sebastian / amsterdam ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text Editor Undo/Redo Stack
Yes, it is that simple. :) Charles P. On 9/4/07, James Marsden [EMAIL PROTECTED] wrote: Hello, This is what I was thinking - I find it hard to conceptualise the time aspect of undoing and redoing actions, and how to capture events such as cut and paste... I guess cutting you just read the selected text at the point a Keyboard event for X gets fired at the same time as CTRL is held down? Is it that straightforward? J dr.ache wrote: Command done on the text! A command representing the action and the amount, like cut from location 3 to 24 of the text. The text you cut of must also be saved, certainly! James Marsden schrieb: ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Problem with BitmapData and nested movieclip
Make a BitmapData object that will be your thumbnail. Make a temp object that will do your scaling. Load each segment (one at a time) into this temp object and scale it down. Then copy the scaled down segment into your final thumbnail BitmapData object, placing each segment correctly as you go. You could do this as part of your process as you load each segment in. Charles P. On 9/5/07, julian atienza [EMAIL PROTECTED] wrote: Hello everybody. Excuse my english... i will try to explain my problem. Thanks for comprehension. I have the following problem (Flash 8 and AS2) : I load a big image sliced in 16 equals segments (16 jpgs files). I load whole segments composing the whole image in flash in this way: 1 mcHolder - and this mcHolder has inside 16 movieclips with segments. In this way, i can scale or rotate the whole image with mcHolder instead of doing it to every segment (the child-movieclips). But i need to make a small thumbnail at the same time in screen, so i made it in past in this way to avoid loading twice the source: //copy with BitMap (One time i've loaded jpg in mcHolder and detected it's loaded) var myBitMap:BitmapData = new BitmapData(mcHolder._width, mcHolder._height, false); var myMatrix:Matrix = mcHolder.transform.matrix; myBitMap.draw(mcHolder, myMatrix); var mcThumbnail:MovieClip = _root.createEmptyMovieClip(mcThumbnail, _root.getNextHighestDepth()); mcThumbnail._x = mcThumbnail._y = 0; mcThumbnail.attachBitmap(myBitMap, mcThumbnail.getNextHighestDepth ()); //now i've loaded/copy it, i can resize it, f.e. for one test: mcThumbnail._height = mcThumbnail._width = 200; It doesn't copy anything to the thumbnail. But if the mcHolder has the whole jpg loaded directly instead of mcHolder[section01], mcHolder[section...] ... in nested movieclips, it copy image perfectly. Any idea to copy the whole image of the source if it has sliced/nested movieclips inside? thanks in advance!!! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text Editor Undo/Redo Stack
Yes, command based. If you were to follow Omar's version you could end up with a memory hog. Imagine a 4000 character text field/document. Storing a snap shot if that x20 is overkill in a bad way. Copy/Paste/Delete are all fairly simple. You might want to enhance your undo feature when you type. If a capture is made for every key stroke then you would quickly spend all your undos on a sentence. You should consider bundling like commands (such as typing) into a single command. Look at typing like adding characters to a paste command. For example, if you were to type a whole sentence and then UNDO, the whole sentence would be removed. But if you type most of the sentence and then paste text and then finish typing the sentence, you would end up with 3 commands (latter part of the sentence, paste, first part of sentence). You might also consider having the backspace count as a different command than typing alphanumeric characters. You could also look at the Enter command as a different command than alphanumeric as well. Both of these make natural breaks in command groups. Charles P. On 9/3/07, dr.ache [EMAIL PROTECTED] wrote: Command done on the text! A command representing the action and the amount, like cut from location 3 to 24 of the text. The text you cut of must also be saved, certainly! James Marsden schrieb: Hello all, I'm looking at building a very simple text editor application in Flash, which needs an undo/redo stack of around 20. My question is related to capturing the events in the stack; whether the done thing is to capture the state of the text field contents at every step, or just to record commands that are operated on the text field. For example, when cutting a piece of text, does the system record the state of the textfield when the cut is made, or does it just record the action and values related to it, ie. cut /piece of text/ from string position 344. Any advice from bods with experience in this area much appreciated! Thanks, James ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image
Indeed. I should have thought of that. Its base class is BitmapData and it requires two parameters (w,h) when creating a new object. Many thanks! Charles P. On 7/26/07, Jobe Makar [EMAIL PROTECTED] wrote: Hi, I know it doesn't make sense, but try passing in the width and height in the constructor. If I remember correctly that will do it. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: Charles Parcell [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 1:30 PM Subject: [Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image I am stumped. I have an image in my Library and I have set it to export to AS and in frame 1. I have given it the Linkage of Brick and the flash.display.BitmapData . With just that, I am able to build a SWF with no errors. But I want to use the image's BitmapData to build a larger image that will be displayed on Stage. So, to that end I am instancing the image from the Library via imageSource = new Brick(); This should make an instance of the image so I can then grab its BitmapData. but I get the following error for the indicated code above. 1136: Incorrect number of arguments. Expected 2. Thoughts? Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image
I am stumped. I have an image in my Library and I have set it to export to AS and in frame 1. I have given it the Linkage of Brick and the flash.display.BitmapData . With just that, I am able to build a SWF with no errors. But I want to use the image's BitmapData to build a larger image that will be displayed on Stage. So, to that end I am instancing the image from the Library via imageSource = new Brick(); This should make an instance of the image so I can then grab its BitmapData. but I get the following error for the indicated code above. 1136: Incorrect number of arguments. Expected 2. Thoughts? Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Why is the CS3 IDE intercepting keypresses?
Are you running the Player in the IDE as a tab or as a window? Try it as a window. Charles P. On 7/23/07, Joshua Sera [EMAIL PROTECTED] wrote: Why the devil is the IDE intercepting keypresses whike I'm testing a movie? Like, if I test movie, then hit Z, instead of sending that keypress to the movie, it thinks, Oh, The user's testing a movie, he must want to select the zoom tool! and selects the zoom tool. Is this some fancy new feature? How do I turn it off? Also, if anyone knows how to turn off the alpha fade transitions on the toolbar/panels when you give focus to the IDE, please let me know. Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Error Question AS3
Yeah, I feel dumb. Class scoping is set on the class identifier rather than the class constructor. I was looking at it the whole time. Charles P. On 7/7/07, Helmut Granda [EMAIL PROTECTED] wrote: http://www.google.com/search?hl=enq=1046%3A+Type+was+not+found+or+was+not+a+compile-time+constant On 7/6/07, Charles Parcell [EMAIL PROTECTED] wrote: I have no answer for you. But I can say that I too am getting those errors, but in a completely different application. I have written a class and am trying to instantiate it from my Main document class. The code seems to be correct, yet I am getting this error. I will keep watching this thread in hopes to see something I might have over looked. Charles P. On 7/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Flash CS3 Pro Win XP Example from http://www.adobe.com/designcenter/video_workshop/ When trying to use the copy/paste animation from testBox to testCircle using Edit/Timeline/Copy Motion As ActionScript 3 I'm getting these errors when testing: 1046: Type was not found or was not a compile-time constant: testCircle. 1046: Type was not found or was not a compile-time constant: testCircle. Has anyone tried using this? Does anyone on this list know what this means and what to do about it or somewhere to find out? tia Hermit ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Error Question AS3
I have no answer for you. But I can say that I too am getting those errors, but in a completely different application. I have written a class and am trying to instantiate it from my Main document class. The code seems to be correct, yet I am getting this error. I will keep watching this thread in hopes to see something I might have over looked. Charles P. On 7/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Flash CS3 Pro Win XP Example from http://www.adobe.com/designcenter/video_workshop/ When trying to use the copy/paste animation from testBox to testCircle using Edit/Timeline/Copy Motion As ActionScript 3 I'm getting these errors when testing: 1046: Type was not found or was not a compile-time constant: testCircle. 1046: Type was not found or was not a compile-time constant: testCircle. Has anyone tried using this? Does anyone on this list know what this means and what to do about it or somewhere to find out? tia Hermit ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grid / Math - getting neighbouring positions
Perhaps it is just me but your solution and does not get all the grid locations. All this does is get the grid locations in a direct horizontal, vertical and 45 degree angle from the starter grid. Go out 2 or 3 levels and you quickly find that there are grid spots missing. Charles P. On 6/17/07, Joshua Sera [EMAIL PROTECTED] wrote: The easy way to do this is like so. So you have a square at x,y, and you want to get all the squares n squares away. Get squares x+n, y x-n, y x+n, y+n x-n, y+n x+n, y-n x-n, y-n x, y+n x, y-n I suspect you want to do this for your version of that whale-ey thing though, so what you actually want to do is a bit different. First off, to find out which grid square a point fits into (this being the center of where your user is looking): You need the height and width of your grid squares. Take your point (x, y) Your point fits into grid square [Math.floor(x/squareWidth), Math.floor(y/squareHeight)] Apply this by figuring out where on the big picture your person is looking. After that, move left and up by half the screen width, and height, then right and down by the same amount, and you have the ranges of squares to get in order to display that part of the image. --- Jiri Heitlager | dadata.org [EMAIL PROTECTED] wrote: Please I really need help on this on, I am cracking my head over it. Bresenham algo is also not the way to go, because it is for circle's and to complex! I can only get one ring, arggg If I go one ring further then it results in many double values, calculate allready when doing the first ring. Here is the code.. var row = 0; var c:Number = 3; var ring:Number = 1; //take start pos [2,2] var x:Number = 2; var y:Number = 2; // while (rowc) { for (var i:Number = 0; ic; i++) { var rowID:Number = (x-ring)+i; var colID:Number = (y-ring)+row; if (rowID0 || colID0 /* || (rowID == sR colID == sC)*/) { continue; } trace('['+colID+','+rowID+']'); } row++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] where are my buttons?
Where to start... First a few obvious things, but general. Flash 9 Beta?? I thought that timed out already. Besides it is a beta and it had limited capabilities. Copy and pasting code from Flash 9 to Flex is not a 1:1 conversion. Lastly, you code actually worked. Looking at your FOR loop, I don't think it would ever end. Your condition to end the loop is the length of the myArray. But within the loop you are pushing more items into it. I would think that causes an endless loop. Next you show use that you have already set myArray with some items. I am just a bit confused. Are you prebuilding the array or are you dynamically building it? It would seem you are trying to do both. Perhaps letting us know what error you are getting in Flex or what exactly is going wrong other than they are just not appearing. Is you myArray getting messed up? Are the Button objects not getting generated? Charles P. On 6/19/07, Gustavo Duenas [EMAIL PROTECTED] wrote: Hi, I'm trying to create buttons using an array, it looks good in Flash 9 beta but in flex, it seems trouble for me. this is the code of the loop, the debugger doesn't show me any error or warning but I don't see my buttons by the way I have a loader also with a big jpg as a background , this one would probably be the cause of my problem?. Ok, folks this is the code. public function buttons():void{ for (var i:uint=0; imyArray.length; i++){ var myButtons:Button = new Button(); addChild(myButtons); myButtons.x=100+i; myButtons.y=0; trace(myArray); myArray.push(myButtons+i); } the array is upper in a private var. that looks like this: public var myArray:Array = new Array(who we are, what we do, contact, products); Gustavo Duenas P.d: sooner I'm gonna buy those flex books. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to get CDATA into an XML object
I believe the entire thing has to be inside the CDATA. var xmlRecord = new XML(![CDATA[html + some arbitrary string + /html]]); Charles P. On 6/20/07, Andrew Sinning [EMAIL PROTECTED] wrote: How can I load in a schema that has a CDATA node if AS2 doesn't support it? Where do I get the valid schema? In theory, the following is creating an xml object with a CDATA node, but it doesn't appear to work: var xmlRecord = new XML(html![CDATA[ + some arbitrary string + ]]/html); var child = xmlRecord.firstChild; trace(nodeType :+child.nodeType); trace(nodeName :+child.nodeName); trace(nodeValue :+child.nodeValue); /* ouput: nodeType :1 nodeName :html nodeValue :null */ David Ngo wrote: AS2 will not support CDATA nodes. You should load in a schema that has a CDATA node first, then use that schema to write your text nodes to the CDATA node and pass the instance of the schema w/ the CDATA intact. I've had to use this work-around for another project I worked on a year ago. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] MVC question
Not sure if this made the trip. I got a bounce message. -- Original Message -- Perhaps you want to look at the Proxy pattern? http://en.wikipedia.org/wiki/Proxy_design_pattern Charles P. On 6/1/07, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All I am building my first MVC (Model View Controller) and have a question about how I should set it up. I have a load of classes: BookView, ControlView (both views), Controller and PAModel. Controller holds all the other classes and sets them all up. Both views have a function - setModel: public function setModel(newModel:PAModel):Void { this.Model = newModel; this.Model.addEventListener(PagesUpdated,this); this.Model.addEventListener(currentPageUpdate,this); } that sets the model (obviously) and sets up event listeners. If I try to fire this function in the controller constructor it doesn't fire - presumably the classes haven't woken up yet so I am firing it from a function that fires when XML has loaded. This doesn't seem like the best way of doing it though. What is the best way round this? I have tried firing a onInit function from the views when they are ready but this doesn't seem to work. I assume it's because the addEventListener function doesn't work when the controller tries to register as a listener. Thanks for the help. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 Mouse suggestions?
I would separate the players character from the explicit mouseX and mouseY. I think the two previous posters ideas are both good, but on their own they are not complete. You need to apply a vector motion to the character as well as a speed variable. Build a vector that starts at the current location and ends at the mouseX/Y. Based on the speed value, step ahead and see if there is an intersect. Note I would keep the max speed as 1 pixel - the width or height of mushrooms. This way you will never skip over an obstacle. Charles P. On 5/17/07, Joshua Sera [EMAIL PROTECTED] wrote: That's a hard problem since you have no direct control over the mouse, other than hiding and showing it. I probably wouldn't hide the mouse in this case, since mouse movement and player movement aren't 1 to 1. That way people can see if they're moving the mouse out of the game area. It's uglier, but it might be necessary. That said, if you want to tie the player directly to the mouse, I would look into line-circle intersection algorithms, or swept-circle to circle collision detection. Every update, you draw a line from the previous player position to the new position. If it intersects a mushroom, store the previous position, find the first point of intersection, and stick the player there. Next update, go from the stored previous position to the current mouse position, check for intersection, etc. etc. until there's no intersection, then stick the player on the cursor again. --- Martin Scott Goldberg [EMAIL PROTECTED] wrote: Hey all, back again. I'm doing a remake of centipede, and am looking for suggestion on the mouse tracking routine (in as3). The enivronment: The player is of course at the bottom of the screen, and can only move up a specific distance. He may be blocked by mushrooms in this area as well. Speficially, I have two ways of player motion with the mouse I've tried and neither one is 100% accurate: 1) Set the player graphic equal to the mouse reading: thePlayer.x = this.mouseX; thePlayer.y = this.mouseY; This is the same as thePlayer.startDrag(), just chose to go this route. Player tracks the mouse motion perfectly this way of course. Then the code checks for mushroom collision, which stops the player motion. The issue I'm having is, whenever the player comes in contact with a mushroom in the lower player movement area, it's supposed to stop dead, forcing the player to move around it. With this method though, it stops for a second, but then skips over the mushroom once the mouse moves past it. Likewise, it creates a sticking at the upper, lower right, and left boundries since it sits there until the mouse enters back in to the player zone. 2) Record previous mouse motion in x and y, and compare it to current. If its moving right, move the player right 1 place. Mouse moving left, moving player left one space, etc.: if (previousMouseX this.mouseX) { thePlayer.x += playerSpeed; } else { thePlayer.x -= playerSpeed; } And similar for y direction. Now, this code works perfect with the mushroom obstruction dectection. But I'm having the opposite issue from the first code: The mouse tracking makes it harder to move in a straight line, and the mouse moves out of the stage very quickly, being out of proportion to the rate of the player motion. Upping the playerSpeed of course doesn't help, that just makes the player graphic jump around to quick. If anyone on this list that's played around with these types of issues before has an suggestions, I'd greatly appreciate it. Marty ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos more. http://mobile.yahoo.com/go?refer=1GNXIC ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Class structure
You know I see this sort of solution a lot but I wonder if you have considered having the second class be a decoration of the first. Simple example... class myCoreFunctions { private extendedFunctions:myExtendedFunctions; function myCoreFunctions(flag:Boolean){ if(flag){ extendedFunctions = new myExtenededFunctions; } } } class myExtendedFunctions{ function myExtendedFunctions(){ } } Not everything need be extended. Charles P. On 5/7/07, Helmut Granda [EMAIL PROTECTED] wrote: That makes sense and was one of my ideas but lets say a few months from now I need 2 methods from class A and 2 methods from class B to make class C. Then I cant go back and restructure all my code to compensate for the update. So I was wondering if in these cases its best to separate each method into a class. Thanks -h On 5/7/07, Pete Miller [EMAIL PROTECTED] wrote: Sounds like the second class should be the base class. Extend the larger from the smaller. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Monday, May 07, 2007 4:10 PM To: Flashcoders mailing list Subject: [Flashcoders] Class structure I'm trying to figure out the best approach for my class structure. I have form valildation class that checks for different items (about 20 items), then I needed some items of the same class for a smaller form (only 4 items). I could extend the first class and use it with my smaller form but there other 16 methods that I dont need to load into the smalle form. What would be a good approach? I know I could create a class for each method and then instiatiate each one as needed, but is that the best method? I was wondering if there was a way to tell flash only to get the methods needed and forget the rest. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
To be fair, it is your opinion that it is not right, unless you have a source that states otherwise. I vividly recall hearing one of the Adobe folks make the statement during a presentation online. I will add that this was a good 6 months ago (thus in beta) and could be a feature extent which didn't come to full bloom. I will see if I can dig up a more credible source for you. Charles P. On 4/2/07, Muzak [EMAIL PROTECTED] wrote: My understanding is that the big reason for this feature is to be able to bring complex animations into Flex. Can you site where you heard that? I have never heard of that before. Well, that's because it's not correct ;-) Flex doesn't have a class that transforms xml into animation, which Flash CS3 does have. That doesn't mean an animator class can't/won't be written for Flex though. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
My understanding is that the big reason for this feature is to be able to bring complex animations into Flex. Charles P. On 3/31/07, Jon Bradley [EMAIL PROTECTED] wrote: On Mar 30, 2007, at 7:32 PM, [EMAIL PROTECTED] wrote: Personally, I think it's a pretty bogus feature, one of those things that look nice on paper but when you stop to look at it it's far from useful except on extremely specific cases and still far from the magic that will save lives like many people tend to think it is. It's still better to either use direct code tweening where it fits, or use timeline tweening where it fits (animated characters and so on). But it's not out yet, so I don't know if I've missed something. Don't be so sure. I believe there are many more flash designers and casual flash users than there are developers and those familiar enough with actionscript to code tweens. I'd venture that it's easily 10 fold or more on the design side. I worked for a while at an e-learning joint (Element-K) and was developing components for various aspects of some of the learning tools (written in flash, deployed with director at the time). I can't imagine having a load of designers trying to deal with a whole mess of FLA files with re-usable motion tweens. Just trying to get designers to adhere to consistent style guides for color or graphics was hard enough. :) Too many variables. Code is explicit, and as long as all a designer (or programmer short on time) has to do is copy/paste, the better it is. In the case of an XML motion library - it would've been a godsend at the time, and it's one of the things we recommended to MM shortly after v7 was released. cheers, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
Sorry late into this thread, but I wanted to comment on Fireworks. Adobe is taking Fireworks in a bit of different and one could say specialized direction. It is being pushed as a web interface design application. Charles P. On 3/27/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: Saw that. Now the hard decision is which of the CS3 Premium bundles to go for... Design w/ InDesign CS3 vs. Web w/ Fireworks and Contribute I haven't used Contribute and wonder how long Adobe will continue Fireworks. I still use Fireworks MX04 and Fireworks 8 often, but having InDesign is very appealing. Choices, choices, choices. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
On the note of the Export Timeline feature. Did you notice in the announcement event when he showed it, that the code was tag based! So, two things to take away from that. first, it can be dropped right in Flex. second, Flash CS3 will be able to use Flex tags. Charles P. On 3/27/07, Nick Weekes [EMAIL PROTECTED] wrote: That's right Ian. From Adobe Labs: The Flash Professional 9 ActionScript 3.0 Preview is the only planned preview release of the next version of the Flash authoring tool before the final version ships in 2007 The private beta would have included things such as the Export Timeline to Actionscript feature (can't wait to try that little puppy out). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 27 March 2007 16:34 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced Hi Rob, AFAICS, that's not the case. The preview that was on Labs just gave you AS3 support and a couple of other bits. The new CS3 version has a reworked interface, some extra drawing tools, extra Photoshop/Illustrator support etc. I believe the Labs version was just a quick hack in of AS3 to let people do some testing, not a proper Beta. Cheers, Ian On 3/27/07, AliasT [EMAIL PROTECTED] wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
No it won't. Contribute is a good application if YOU build templates for it to use. YOU have to build the architecture of the site and define all the templates and then pass out permissions of text, image, page creation. I would get the 30 day trial and try it out before you go recommending it. Charles P. On 3/28/07, Gustavo Duenas [EMAIL PROTECTED] wrote: ok guys taking your advise about contribute, I'm going to recommend my client, those who wants to update their sites by themselves, to buy contribute. Do you know if contribute can help people to update sites php or coldfusion based? Regards Gustavo Duenas On Mar 27, 2007, at 7:12 PM, Dave Watts wrote: But Contribute I don't get it..since the dreamweaver can help me out to update sites remotely...isn't better than contribute? Dreamweaver and Contribute are complementary products. Dreamweaver is an HTML editor for people who know HTML, Contribute is an HTML editor for people who don't know HTML. Typically, in a Contribute environment, the people using Contribute are content authors, and the people using Dreamweaver design templates and control what content authors can do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
True I was just making an assumption. Charles P. On 3/30/07, Merrill, Jason [EMAIL PROTECTED] wrote: So, two things to take away from that. first, it can be dropped right in Flex. second, Flash CS3 will be able to use Flex tags. Not so fast. :) What confused me in the demo is that XML did not have MXML namespaces, so I wouldn't jump to that conclusion. Seemed to be straight old XML. I think if you could use MXML, as well as have access (meaning both code and compiler) to the Flex component architecture which you would have to have in order to use Flex tags, they would definitely have advertised that. Flash CS3 will not be a flexbuilder AFAIK... Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Parcell Sent: Friday, March 30, 2007 11:10 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced On the note of the Export Timeline feature. Did you notice in the announcement event when he showed it, that the code was tag based! So, two things to take away from that. first, it can be dropped right in Flex. second, Flash CS3 will be able to use Flex tags. Charles P. On 3/27/07, Nick Weekes [EMAIL PROTECTED] wrote: That's right Ian. From Adobe Labs: The Flash Professional 9 ActionScript 3.0 Preview is the only planned preview release of the next version of the Flash authoring tool before the final version ships in 2007 The private beta would have included things such as the Export Timeline to Actionscript feature (can't wait to try that little puppy out). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 27 March 2007 16:34 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 Announced Hi Rob, AFAICS, that's not the case. The preview that was on Labs just gave you AS3 support and a couple of other bits. The new CS3 version has a reworked interface, some extra drawing tools, extra Photoshop/Illustrator support etc. I believe the Labs version was just a quick hack in of AS3 to let people do some testing, not a proper Beta. Cheers, Ian On 3/27/07, AliasT [EMAIL PROTECTED] wrote: The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] DirectX and standalone
Makes me think that they believe the DVD will run off a Video DVD Player. Meaning that it would run through Windows Media Player on a PC. You might want to check their expectations. Charles P. On 3/19/07, Magnus Askenbäck [EMAIL PROTECTED] wrote: Hi all, A client asked me what the minimum requirement for DirectX are for a Flash 8 standalone running of a DVD? Is there really a need for DirectX? Just flash and some FLVs... Cheers, //Magnus ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sharing a class with several movieclips, in AS3
Sounds like you are negating the whole purpose of classes. How about a little reengineering of the buttons. Build your single class and have multiple instances of the button on screen. Part of the class would be to load in the proper animation MC for display. Thus you have the single class that is applied to all buttons and each button has an independent animation associated with it. Or if you wanted, you could do as you listed in your first e-mail and extend a single base class and make specialized classes for each button. But again, that is sort of defeating the purpose of classes and OOP. Charles P. On 3/12/07, Andrei Thomaz [EMAIL PROTECTED] wrote: hello Janis, the problem is that I don't want several instances of same symbol in the stage. Imagine a menu for the sections of a site: you have a button, with some animations, for each section. So, I cann't use several instances of a same symbol. What I want, and what it was done with AS 2, was to have a symbol for each button, and associate the symbols with the same class, what, I am afraid, it is not possible in AS 3. What I am doing is similar with the buttons in Gugga framework (you can read about the buttons in GuggaFF here, http://www.gugga.com/flashblog/) []'s andrei On 3/12/07, Janis Radins [EMAIL PROTECTED] wrote: Create simgle clas definition which holds functionality of your selection state and add several instances of same class to stage 2007/3/11, Andrei Thomaz [EMAIL PROTECTED]: hello list, With AS2, I could associate the same class with several movieclips. This was useful, for example, to create buttons for a menu, when all the buttons were associated with the same class (some kind of button, that implemented the 'selected' state, rollout and rollover animations, and so on). Now, I am trying to migrate the code to AS3, and I am having problems to share the same class with more than one movieclip. When I try to do this, I get this error: You must specify a unique classname to export this symbol. Can I make this, in some way? The only thing i can think is not very elegant; it would be to create empty classes for each button, like that: class MyButton extends MovieClip { // code here } class MyButton01 extends MyButton { // nothing } class MyButton02 extends MyButton { // nothing } thank you, andrei ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Creative Suite 3 To Be Announced 3/27
Yeah here is the link. http://www.adobe.com/products/photoshop/ps_psext_info.html Charles P. On 3/9/07, Ian Thomas [EMAIL PROTECTED] wrote: On 3/9/07, Merrill, Jason [EMAIL PROTECTED] wrote: Hadn't seen it mentioned here yet. March 27th: http://www.adobe.com/products/creativesuite/launchevent/ I wonder what to think in multiple dimensions meanscould it be? Might be this (from the Photoshop CS3 Extended blurb linked off the home page): New to the Photoshop family, Adobe Photoshop CS3 Extended delivers everything in Photoshop CS3 and more. Render and incorporate 3D images into your 2D composites. Stop time with easy editing of motion graphics on video layers. And probe your images with measurement, analysis, and visualization tools. Note the bit about rendering 3D. Ian ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] trig? calculus? put me out my misery
Some simple Trig actually. As an example, name a movieClip myClip and rotate it. Then add this code to the frame. this.onEnterFrame = function(){ rads = myClip._rotation * (Math.PI/180); myClip._x += Math.sin(rads); myClip._y -= Math.cos(rads); } That should get you started. By the way, Danny K's book on Math for Programmers is a good buy. Charles P. On 3/12/07, Kurt Dommermuth [EMAIL PROTECTED] wrote: Hi all, I have what I initially thought was simple problem, but I've been racking my brains, searching the web and I just don't get it. I have a movieclip that the user can rotate . When they click the movieclip shoots off in the direction it's pointing. It's goes off the stage and simply stops. the speed is fixed. there is no gravity. How do I determine the _x and _y value somewhere off stage? I'd appreciate any help. even if someone could let me know what to search for. thank you! Kurt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLV issue within IE7?
Pathing should not even be an issue. As I stated in my post it works perfectly well via IE6. But in the line of thought... I am building an absolute path to the FLV. As part of this, I make a call to a JS function using ExternalInterface() to get the URL of the page. Charles P. On 2/20/07, Arul Prasad M L [EMAIL PROTECTED] wrote: Is the HTML in the same folder as the SWF too? If not, are you using relative path(just the FLV file name) to target the FLVs from the SWF? On 2/20/07, Charles Parcell [EMAIL PROTECTED] wrote: Anyone have suggestions on what I could possibly do to correct my FLVs not appearing in IE7? I have a project which loads in an FLV at runtime (same domain and folder even). When run in IE6, Flash Player 9, SWF version 8, it works as expected. In IE7, Flash Player 9, SWF version 8, the FLVs never appear. Thoughts? Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Arul Prasad http://arulprasad.blogspot.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FLV issue within IE7?
Anyone have suggestions on what I could possibly do to correct my FLVs not appearing in IE7? I have a project which loads in an FLV at runtime (same domain and folder even). When run in IE6, Flash Player 9, SWF version 8, it works as expected. In IE7, Flash Player 9, SWF version 8, the FLVs never appear. Thoughts? Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: Help with custom button (AS3)
On 12/23/06, Reid Priedhorsky [EMAIL PROTECTED] wrote: Charles Parcell wrote: Hi Charles, Thanks for your help! I am not very versed on Flex Builder it self, but my first question is to ask why you are importing UICompnent? I can only guess that you have not pasted in all of your code here. That's because I was trying to decide whether to subclass Button or UIComponent -- so far, they seem to work the same, but subclassing Button results in a gradiented roundrect being drawn over my own stuff. It's all there; just substitute UIComponent for Button when you read the code. :) Ahh, ok I can understand that. If it makes any difference to you, I have built a button component that actually extends MovieClip. I would guess in the context of Flex, you would redraw or fill the graphic based on the effect triggered. So, you would have to create methods for each of the events. But this is outside the bounds of your question. I don't know that I can be much more help on this because it seems that the answer lies with how Flex handles the default placement of the center point of the button. Just doing a quick search on the livedocs site... http://livedocs.macromedia.com/flex/2/langref/mx/effects/effectClasses/RotateInstance.html http://livedocs.macromedia.com/flex/2/langref/mx/effects/Rotate.html Second, why not draw your arrow so that its center is at 0,0? This helps, but the layout is still kind of wonky. This also seems like an odd solution to me; this would mean that people drawing components would have to always work in four quadrants of the Cartesian plane instead of just one. True. It was just the first thing that popped into my head as a quick try. :) Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Help with custom button (AS3)
I am not very versed on Flex Builder it self, but my first question is to ask why you are importing UICompnent? I can only guess that you have not pasted in all of your code here. Second, why not draw your arrow so that its center is at 0,0? Charles P. On 12/22/06, Reid Priedhorsky [EMAIL PROTECTED] wrote: Hi folks, I am trying to create a custom Button in AS3 using the Flex 2 SDK. It is pretty simple; I just want it to be a wedge shape that I can rotate to point in an arbitrary direction. My code is attached below, but I'm stuck on two issues: 1. Making it behave as regular buttons do in terms of mouse-over and mouse-down behavior (i.e. draw it differently in these cases). 2. Currently, when I rotate it, e.g.: Arrow_Button height=12 width=12 rotation=45 click=Alert.show('hello');/ it rotates around its 0,0 point, causing it to swing out of the area where Flash thinks it is, messing up the layout. I've been wandering through the docs and Google all afternoon, but I haven't figured these things out. Any help or pointers to appropriate documentation would be very much appreciated. TIA, Reid // This class defines a button which looks like an arrow. It points up // and relies on the rotation property to be pointed in the right // direction. package { import flash.display.Graphics; import mx.controls.Button; import mx.core.UIComponent; public class Arrow_Button extends Button { override protected function updateDisplayList(wd:Number, ht:Number) :void { var gr:Graphics = this.graphics; gr.clear(); gr.lineStyle(1); gr.beginFill(0xff8800); gr.moveTo(0, ht); gr.lineTo(wd, ht); gr.lineTo(wd/2, 0); gr.lineTo(0, ht); } } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash on Wii
As a potential work around, what version of Shockwave is in it? I am thinking perhaps embedding Flash i Shockwave to get a higher Flash version?? I know wishful thinking right?! Charles P. On 12/22/06, Josh Santangelo [EMAIL PROTECTED] wrote: The Wii's Internet Channel launched today, which is basically a downloadable version of Opera. Of course the first thing I did after getting it was check out what version of Flash was included. getVersion() returns WII 7.0.70.0. Kind of lame that it's only Flash 7. It looks like wiicade.com, a site full of Flash games to play on the Wii, was surprised too: http://wiicade.com/ I wonder if there's any kind of hidden API to trap events from the Wii remote control. -josh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] RegEx Tools?
All, I was hoping to get some insight on software tools to help build Regular Expressions. I have happened apon RegExBuddy and it seems very nice. But before I shell out $30 for it, I wanted to see what others use and see if there were any free alternatives. http://www.regexbuddy.com/ Thoughts? Thanks, Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Actionscript 3 Books
Some people just don't read at times. This is the book that was noted in the original message. :) Charles P. On 12/18/06, Morten Reinholdt [EMAIL PROTECTED] wrote: Also Advanced ActionScript 3 with Design Patterns by Joey Lott, Danny Patterson :-) http://www.amazon.com/Advanced-ActionScript-3-Design-Patterns/dp/0321426568 \ Morten Reinholdt flashorbit.com http://www.flashorbit.com* * Lori wrote: There is the AS3 Cookbook ( http://www.amazon.com/ActionScript-3-0-Cookbook-Joey-Lott/dp/0596526954/sr=8-1/qid=1166456035/ref=pd_bbs_sr_1/102-4314582-6610531?ie=UTF8s=books ) AS3 Essentials - Rough Cut on the o'reilly site and Lynda.com has a AS3 lessons available. Lori- From: Morten Reinholdt [EMAIL PROTECTED] Sent: Monday, December 18, 2006 1:38 AM To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Actionscript 3 Books Millie Niss wrote: I was just looking at Joey Lott's Advanced Actionscript 3 With Design Patterns book in the store, and it looked pretty good, but it had knowledge of Actionscript 3 as a pre-requisite. I am not aware of any (print) books introducing Actionscript 3... Are there any? I'd like to start learning it (I saw that regular expressions are supported and that alone would be nice...) but I don't like the idea of learning a programming language from beta versions of Adobe's Help... Millie ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Hey Millie I used the Actionscript 3 cookbook to get startet :-) Morten Reinholdt http://www.flashorbit.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com * http://www.flashorbit.com * ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Attaching bitmap data to arbitary coords
Yeah, I think you are looking for the draw() method of BitmapData. http://livedocs.macromedia.com/flash/8/main/1950.html See the comments as well. Charles P. On 12/10/06, Martin Jonasson [EMAIL PROTECTED] wrote: This is what i use in i a project of mine: var myMatrix:Matrix = new Matrix(); myMatrix.rotate(clip._rotation * 0.0174532925199433); var translateMatrix:Matrix = new Matrix(); translateMatrix.translate(clip._x, clip._y); myMatrix.concat(translateMatrix); myBitmapData2.draw(clip, myMatrix) (this is stolen straight from my code, with nothing added to make it more understandable, but it should be rather self explanatory) Mike Mountain skrev: Consider the following, Flash 8: var w=200 var h=200 holder=this.createEmptyMovieClip(bmp1, this.getNextHighestDepth()); var bmpData1:BitmapData = new BitmapData(w, h, true, 0x); bmp1.attachBitmap(bmpData1, 2, auto, true); This will attach the bitmapdata so it's top left is situated at the reg point of the mc, how do I attach it, or later move it so the reg point of the MC is situated at any point I wish, without using nested MC's? The problem being I want to make an exact bitmap copy of the contents of an MC, which could have it reg point set anywhere - and I want the new copy to inherit the same registration point, but like I said before - without having to resort to nested MC's - surely this is possible and I'm missing something blindingly obvious? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Attaching bitmap data to arbitary coords
You can of course use copyPixels() as well. http://livedocs.macromedia.com/flash/8/main/1948.html Charles P. On 12/11/06, Charles Parcell [EMAIL PROTECTED] wrote: Yeah, I think you are looking for the draw() method of BitmapData. http://livedocs.macromedia.com/flash/8/main/1950.html See the comments as well. Charles P. On 12/10/06, Martin Jonasson [EMAIL PROTECTED] wrote: This is what i use in i a project of mine: var myMatrix:Matrix = new Matrix(); myMatrix.rotate(clip._rotation * 0.0174532925199433); var translateMatrix:Matrix = new Matrix(); translateMatrix.translate(clip._x, clip._y); myMatrix.concat(translateMatrix); myBitmapData2.draw(clip, myMatrix) (this is stolen straight from my code, with nothing added to make it more understandable, but it should be rather self explanatory) Mike Mountain skrev: Consider the following, Flash 8: var w=200 var h=200 holder=this.createEmptyMovieClip (bmp1, this.getNextHighestDepth()); var bmpData1:BitmapData = new BitmapData(w, h, true, 0x); bmp1.attachBitmap(bmpData1, 2, auto, true); This will attach the bitmapdata so it's top left is situated at the reg point of the mc, how do I attach it, or later move it so the reg point of the MC is situated at any point I wish, without using nested MC's? The problem being I want to make an exact bitmap copy of the contents of an MC, which could have it reg point set anywhere - and I want the new copy to inherit the same registration point, but like I said before - without having to resort to nested MC's - surely this is possible and I'm missing something blindingly obvious? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Book: Flash 8 reference?
I just pick this book up a week ago and am about half way through it. I have to give it two thumbs up! http://www.amazon.com/Advanced-ActionScript-3-Design-Patterns/dp/0321426568/sr=11-1/qid=1165348093/ref=sr_11_1/103-7225829-0820628 You can also get the ActionScript 3.0 Definitive Guide from as a download from the publisher's web site. You can basically buy it now and download the PDFs of the chapters as they get approved, then they will send you the book when it is done. But this is all ActionScript 3.0 stuff (but the design patterns book can be applied to AS 2.0 as well). Charles P. On 12/5/06, Micky Hulse [EMAIL PROTECTED] wrote: Micky Hulse wrote: Any suggestions would be great. Off-list replies are welcome too. :) Thanks Dan and Radley, I plan on going to bookstore tomorrow... your suggestions will save me some time poking around. :) Thanks, Cheers, M -- Wishlist: http://snipurl.com/vrs9 Switch: http://browsehappy.com/ BCC?: http://snipurl.com/w6f8 My: http://del.icio.us/mhulse ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Orientation of dinamyc text
Do you mean as in AutoSize? or Rotation? or Reversing the strings characters? or Vertical vs. Horizontal? or Something else? Charles P. On 12/5/06, Raphael ... [EMAIL PROTECTED] wrote: Hi. Somebody knows how can I chage orientation of dinamyc text using AS2 or higher? tks Djazz - Access over 1 million songs - Yahoo! Music Unlimited. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Scroll bar math question
Can I assume that you are offsetting your scroll dragger by 30 because you have arrow buttons at the top and bottom of the scrollbar? If so you need to change the +30 to -30. Otherwise you are just shifting the scroll area down rather than removing 30 from both ends. That might account for your scrolling to high. Charles P. On 11/27/06, Carl Welch [EMAIL PROTECTED] wrote: Hello All, I have a movieclip that I attach a varying number of other movieclip that are stacked vertically. I am trying to figure out some math that accounts for the varying height of the scrolled movieclip. I am having a problem with the math though. I am using something that looks like: buttonMask._y = 60+(-(this._y)/ratio); the ratio variable comes from the movieclip with the stacked (attached) movieclips DIVIDED by the height of my scroll bar. But it doesn't seem to work well. The scroller moves my movieclip too high. I don't even know how to make this sound with out sounding like an idiot Here's my code: //buttonMask is the movieclip that gets the other movieclips loaded into. //line is part of my scrollbar dragger is my little scroll knob that gets dragged dragger.onPress = function() { startDrag(dragger, true, line._x, 30, line._x, line._height+30); ratio = (buttonMask._height/line._height); this.onEnterFrame = function() { buttonMask._y = 60+(-(this._y)/ratio); /this is where I need help. }; }; dragger.onRelease = function() { dragger.stopDrag(); delete this.onEnterFrame; }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] gProject
Yeah it is a winner. That fact that you can publish multiple fla files with one button is worth it as well. Charles P. On 11/27/06, Derek Vadneau [EMAIL PROTECTED] wrote: Buy it. I don't have a lot of large projects, but I do have a lot of them and gProject has been a huge time saver. It helps organize your projects. I think some of the (seemingly) simple pieces are worth the dough. Things like exploring the directory where your project is when you need to move and manage file assets. The folder locations feature is also a time saver. I use it to include common directories for all projects so you can quickly get to frequently-used files. For OOP projects, they say it should have been part of flash. Forget OOP, just about any project can use it. Check out what others have said: http://weblogs.macromedia.com/md/archives/2006/02/gproject_a_fant.cfm http://www.flashguru.co.uk/gproject-panel-review/ http://www.feed-squirrel.com/index.cfm?evt=viewItemID=23853 http://labs.blitzagency.com/?p=7 Those are just some of the links I found through Google. Derek Vadneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Monday, November 27, 2006 10:21 PM To: Flashcoders mailing list Subject: SPAM-LOW: [Flashcoders] gProject Does anyone use gProject and if so what do you think of it? I might be planning to buy it, only I am not sure if it's any good. You can't get a limited demo either. Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] gProject
There is a file you can edit, thus allowing you to customize the template for class files. This was one of my big issues too. I will have to find it again tomorrow at work and I will reply with the answer. Charles P. On 11/27/06, Rich Rodecker [EMAIL PROTECTED] wrote: yeah i bought it, i like it. Sometimes I actually forget to use it. my main gripe is all the clutter it adds with extra comments to the classes when it auto-generates them...but that's a small gripe. On 11/27/06, Charles Parcell [EMAIL PROTECTED] wrote: Yeah it is a winner. That fact that you can publish multiple fla files with one button is worth it as well. Charles P. On 11/27/06, Derek Vadneau [EMAIL PROTECTED] wrote: Buy it. I don't have a lot of large projects, but I do have a lot of them and gProject has been a huge time saver. It helps organize your projects. I think some of the (seemingly) simple pieces are worth the dough. Things like exploring the directory where your project is when you need to move and manage file assets. The folder locations feature is also a time saver. I use it to include common directories for all projects so you can quickly get to frequently-used files. For OOP projects, they say it should have been part of flash. Forget OOP, just about any project can use it. Check out what others have said: http://weblogs.macromedia.com/md/archives/2006/02/gproject_a_fant.cfm http://www.flashguru.co.uk/gproject-panel-review/ http://www.feed-squirrel.com/index.cfm?evt=viewItemID=23853 http://labs.blitzagency.com/?p=7 Those are just some of the links I found through Google. Derek Vadneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Monday, November 27, 2006 10:21 PM To: Flashcoders mailing list Subject: SPAM-LOW: [Flashcoders] gProject Does anyone use gProject and if so what do you think of it? I might be planning to buy it, only I am not sure if it's any good. You can't get a limited demo either. Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] BitmapData size limit
It is a hard limit of object within Flash. It is similar to the hard limit of image sizes within Director as well. It has nothing to do with memory use but rather they way the app and player were programmed. Charles P. On 10/5/06, Dave Wood [EMAIL PROTECTED] wrote: Thanks for your response Micha this has to with other things. the 2880 px stuff is related to one single object, you can have as much object of that size as you want, as long as you have enough ram. I wanted to create an image object 3500 X 300 pixels which will take up about 4 Mb - but I can't sure you can't. you gave your answer in the above quoted text. your limitation is 2880 px square. and 3500 beats that. No I didn't give the answer. I can understand why 2880 X 2880 might be considered excessively big, but to have 2880 pixels as a limit for a single dimension is silly - unless there is some other reson I don't yet understand. And if another reason exists, then I want to understand what it is. For example, if I have an image object 2881 X 10 pixels, that would be only about 280 kb. Why can't I create such an object? I don't want to scale my image up because I know it will degrade. Thanks David just scale it down to 2880 and you should be fine, than you can put it in a mc and scale that one up. that should do the trick. micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Tweening ColorTransform objects?
I am going to point you to the API I was recently introduced to. Fuse Kit. http://www.mosessupposes.com/Fuse/ Charles P. On 9/23/06, Dan Rogers [EMAIL PROTECTED] wrote: Hey Flashcoders, Has anyone here attempted to tween the Flash 8 ColorTransform class? I am having some strange issues while trying to tween some ColorTransform objects using Grant Skinner's MultiTween class. Seems that whenever I tween a ColorTransform object which contains yellow (?), I get a random spectrum of colors before the tween reaches it's target value. I've posted the source and have included the AS below. I realize there are other color-tweening scripts out there, but I was trying to use the ColorTransform class to see if it could be done. Source: http://download.danro.net/flashcoders/color_tween_test.zip Thanks, -Danro code follows -- import com.gskinner.transitions.MultiTween; import flash.geom.Transform; import flash.geom.ColorTransform; import mx.transitions.easing.*; import mx.transitions.Tween; import mx.utils.Delegate; // color transform objects var originColor:ColorTransform = new ColorTransform(); var currentColor:ColorTransform = new ColorTransform(); var rollOverColor:ColorTransform = new ColorTransform(); rollOverColor.rgb = 0xFFCC00; var rollOutColor:ColorTransform = new ColorTransform(); rollOutColor.rgb = 0x0066CC; // movieclip transform var trans:Transform = new Transform(test_mc); // update color function function updateColor () { trans.colorTransform = currentColor; debug(DEBUG + trans.colorTransform); } // set vars var colorTween:Tween; var mTween:MultiTween; // rollover tween function buttonRollOver () { mTween = new MultiTween(currentColor, rollOverColor); colorTween.stop(); colorTween = new Tween(mTween, position, Regular.easeOut, 0, 1, 20); colorTween.onMotionChanged = Delegate.create(this, updateColor); debug(DEBUG - roll over ---); } // rollout tween function buttonRollOut () { mTween = new MultiTween(currentColor, rollOutColor); colorTween.stop(); colorTween = new Tween(mTween, position, Regular.easeInOut, 0, 1, 20); colorTween.onMotionChanged = Delegate.create(this, updateColor); colorTween.onMotionFinished = Delegate.create(this, reset); debug(DEBUG - roll out ---); } // reset color to original function reset () { mTween = new MultiTween(currentColor, originColor); colorTween.stop(); colorTween = new Tween(mTween, position, Regular.easeInOut, 0, 1, 30); colorTween.onMotionChanged = Delegate.create(this, updateColor); debug(DEBUG - reset ---); } // button events test_mc.onRollOut = Delegate.create(this, buttonRollOut); test_mc.onRollOver = Delegate.create(this, buttonRollOver); // debug function function debug (txt:String) { //trace(txt); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Replace MC Tween? (AS1)
I am looking to replace MC Tween which is written in AS1 and uses prototype to add methods to MovieClips. I want a version that is a class. I am aware of the Tween class that in the mx package. But it does not cover all aspects (ColorTransform for example). It also does not have all the easing options that MC Tween has, but that is less important to me. Does anyone know of such a class that is available out there? Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Replace MC Tween? (AS1)
Actually no. It simply gives some work arounds to problems when using AS2. http://hosted.zeh.com.br/mctween/as2_notes.html Thanks though. Charles P. On 9/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I believe that MC tween is AS2 now (mc_tween2.as). Check out Zeh's site... http://hosted.zeh.com.br/mctween/documentation.html Gerry I am looking to replace MC Tween which is written in AS1 and uses prototype to add methods to MovieClips. I want a version that is a class. I am aware of the Tween class that in the mx package. But it does not cover all aspects (ColorTransform for example). It also does not have all the easing options that MC Tween has, but that is less important to me. Does anyone know of such a class that is available out there? Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Component Live Preview...
setSize(width:Number, height:Number); The IDE makes a call to it. Within the setSize() I have a call to my draw() function which does all the changing and moving of MC and such. Charles P. On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote: Ya I had that - was hoping the same file being the component could be the live preview. I got it though - thanks :) On 9/21/06, Muzak [EMAIL PROTECTED] wrote: You need to add an 'Inspectable' metadate tag to the getter/setter [Inspectable] function get prop(){} function set prop(){} [Inspectable(type=String,defaultValue=value)] function get prop(){} function set prop(){} check the manual for more details: Using components - Creating components - Creating the AS class file - Adding component metadata regards, Muzak - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, September 21, 2006 7:09 PM Subject: [Flashcoders] Component Live Preview... I have a pretty simple component with inspectables to allow the setting of 2 simple strings. Flash 8 is supposed to allow for the ease of live previews with components. What do I need to put in my component class to allow updates on the Stage of the component instance to update? I've tried a couple things, even using the old xch. stuff to no avail here. I put an onUpdate in the class (just to see) and it doesn't seem to do anything. ?? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Component Live Preview...
I agree, they are not very simple or intuitive. I would love for this aspect to be cleaned up in the next version of the IDE. It is making my life difficult when I have to make these things for our artists who want to see exactly how it will look within the IDE as it will when published. You should see some of the horror layouts they have to deal with. Charles P. On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote: Live preview SWFs are wonky... its not displaying quite right in the IDE, but perfect when used as a component. Essentially the same sizing/positioning code. Oh well... On 9/21/06, Charles Parcell [EMAIL PROTECTED] wrote: setSize(width:Number, height:Number); The IDE makes a call to it. Within the setSize() I have a call to my draw() function which does all the changing and moving of MC and such. Charles P. On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote: Ya I had that - was hoping the same file being the component could be the live preview. I got it though - thanks :) On 9/21/06, Muzak [EMAIL PROTECTED] wrote: You need to add an 'Inspectable' metadate tag to the getter/setter [Inspectable] function get prop(){} function set prop(){} [Inspectable(type=String,defaultValue=value)] function get prop(){} function set prop(){} check the manual for more details: Using components - Creating components - Creating the AS class file - Adding component metadata regards, Muzak - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, September 21, 2006 7:09 PM Subject: [Flashcoders] Component Live Preview... I have a pretty simple component with inspectables to allow the setting of 2 simple strings. Flash 8 is supposed to allow for the ease of live previews with components. What do I need to put in my component class to allow updates on the Stage of the component instance to update? I've tried a couple things, even using the old xch. stuff to no avail here. I put an onUpdate in the class (just to see) and it doesn't seem to do anything. ?? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] a question of geometry
It is a great book! Plus, we have the added benifit of having access to the man here on the list! Charles P. On 9/19/06, Andreas R [EMAIL PROTECTED] wrote: Whoa, thanks for pointing me to that book. Just ordered it :) sounds like exactly what i need. - A Charles Parcell wrote: This is why Danny is The Math Man! BTW, love your book Danny. Can't wait for the next. :) http://www.amazon.com/Mathematics-Physics-Programmers-Game-Development/dp/1584503300/sr=1-1/qid=1158676544/ref=pd_bbs_1/104-0626050-4073525?ie=UTF8s=books Charles P. On 9/18/06, Andreas R [EMAIL PROTECTED] wrote: Danny Kodicek wrote: I can email an image to anyone that wants it, or you can draw it like this... I think this is what you want... Draw a point and a line vertically upwards of length R. Draw a large letter V (inverted cone) upwards from the point. Draw an arc, radius R to cut the V. Where the arc cuts the vertical draw a circle, radius r, to meet the edges of V. The edges of V are tangents. Draw radii to these tangents, making 90 degree angles with them. Mark r and R on the diagram. Now r/R = sin(A), where A is half the angle at the bottom of the V. Let's say there are n of these small circles, so that n*2*A = 360 (degrees) or n*2*A = 2*pi (radians) You can decide n and find A and then find r/R (the angles are usually in radians). You can then decide R and find r (or other way around). Each time through the loop for =n the new angle measured from the vertical in a clockwise direction is n*2*A. The place to draw each circle is x=Rsin(n*2*A) and y=Rcos(n*2*A) I enjoyed this one, so I came back to it and wrote a complete solution. Put a symbol in the library with id 'circle', then run this script: function getRingRadius(tArray:Array):Number { var tMaxError = 0.1 var tMax = 1024 var tMin = 0 do { var tCheck = (tMax + tMin) / 2 var tSum = 0 for (var i = 0; itArray.length; i++) { tSum += Math.atan2(tArray[i],tCheck) } if (tSumMath.PI) { tMin = tCheck } else { tMax = tCheck } } while (Math.abs(tSum - Math.PI)tMaxError) return tCheck } var tRadii = new Array() for (var i=0; i10 ; i++) { tRadii.push(Math.random()*20+1) } var tRingRadius = getRingRadius(tRadii) var tSquaredRadius = tRingRadius * tRingRadius var tAngle = 0 for (var i=0; i10 ; i++) { tCircle = this.attachMovie(circle, circle+i, this.getNextHighestDepth()) tCircle._width = tCircle._height = tRadii[i]*2 tThisAngle = Math.atan2(tRadii[i], tRingRadius) tAngle += tThisAngle tDistance = Math.sqrt(tRadii[i]*tRadii[i] + tSquaredRadius) tCircle._x = 200 + tDistance * Math.cos(tAngle) tCircle._y = 200 + tDistance * Math.sin(tAngle) tAngle += tThisAngle } NB: my previous script had my max and min mixed up so it didn't work. This one is correct. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com You guys are gods :) Thanks so much! My problem was solved completely by slight modifications to Danny's script. What i'd do without this list i don't know. - Andreas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http
Re: [Flashcoders] a question of geometry
This is why Danny is The Math Man! BTW, love your book Danny. Can't wait for the next. :) http://www.amazon.com/Mathematics-Physics-Programmers-Game-Development/dp/1584503300/sr=1-1/qid=1158676544/ref=pd_bbs_1/104-0626050-4073525?ie=UTF8s=books Charles P. On 9/18/06, Andreas R [EMAIL PROTECTED] wrote: Danny Kodicek wrote: I can email an image to anyone that wants it, or you can draw it like this... I think this is what you want... Draw a point and a line vertically upwards of length R. Draw a large letter V (inverted cone) upwards from the point. Draw an arc, radius R to cut the V. Where the arc cuts the vertical draw a circle, radius r, to meet the edges of V. The edges of V are tangents. Draw radii to these tangents, making 90 degree angles with them. Mark r and R on the diagram. Now r/R = sin(A), where A is half the angle at the bottom of the V. Let's say there are n of these small circles, so that n*2*A = 360 (degrees) or n*2*A = 2*pi (radians) You can decide n and find A and then find r/R (the angles are usually in radians). You can then decide R and find r (or other way around). Each time through the loop for =n the new angle measured from the vertical in a clockwise direction is n*2*A. The place to draw each circle is x=Rsin(n*2*A) and y=Rcos(n*2*A) I enjoyed this one, so I came back to it and wrote a complete solution. Put a symbol in the library with id 'circle', then run this script: function getRingRadius(tArray:Array):Number { var tMaxError = 0.1 var tMax = 1024 var tMin = 0 do { var tCheck = (tMax + tMin) / 2 var tSum = 0 for (var i = 0; itArray.length; i++) { tSum += Math.atan2(tArray[i],tCheck) } if (tSumMath.PI) { tMin = tCheck } else { tMax = tCheck } } while (Math.abs(tSum - Math.PI)tMaxError) return tCheck } var tRadii = new Array() for (var i=0; i10 ; i++) { tRadii.push(Math.random()*20+1) } var tRingRadius = getRingRadius(tRadii) var tSquaredRadius = tRingRadius * tRingRadius var tAngle = 0 for (var i=0; i10 ; i++) { tCircle = this.attachMovie(circle, circle+i, this.getNextHighestDepth()) tCircle._width = tCircle._height = tRadii[i]*2 tThisAngle = Math.atan2(tRadii[i], tRingRadius) tAngle += tThisAngle tDistance = Math.sqrt(tRadii[i]*tRadii[i] + tSquaredRadius) tCircle._x = 200 + tDistance * Math.cos(tAngle) tCircle._y = 200 + tDistance * Math.sin(tAngle) tAngle += tThisAngle } NB: my previous script had my max and min mixed up so it didn't work. This one is correct. Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com You guys are gods :) Thanks so much! My problem was solved completely by slight modifications to Danny's script. What i'd do without this list i don't know. - Andreas ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] a question of geometry
I think your problem is not possible. Here is why (hope I am able to articulate). Some basic background info: - The diameter of a circle is the distance from one edge of the circle to the furthest edge. - A line of circles edge to edge, so that their diameters are used, makes a strait line. - The radius of a circle is the distance from the center to any edge. Lets do some simple math... Diameter 1 = 10 Diameter 2 = 8 Diameter 3 = 7 Diameter 4 = 5 Thus, their sum = 30. Now lets use this as the radius of our big circle (BC). BCc = 2 * 3.14 * 30 = 188.4 (where BCc is the big circle circumference) BCd = 2 * 30 = 60 (where BCd is the big circle diameter) First lets look at placing the original circle centers on the big circle's path, so that their edges touch. It will quickly become clear that this is not going to work. 188.4 / 4 = 47.1 The sum of the original four diameters would have to equal 47.1. This is obviously not correct. Let see if we can do this by keeping all the circles inside the big circle. So, not only do we want to have all four of our original circles be touching, but their tangents need to touch the big circle as well. In addition to all of this the last circle needs to also touch the first circle. The most optimal form of this would assume that all four of our original circles have the same diameter. The sum of these circles would equal 2.4times the big circles diameter. Remember thought that this woulod be the optimal. So lets take a look at our numbers. Optimal diameter sum = 2.41 * 60 = 144.6 ** not needed info** Each unit circle's diameter = 144.6 / 4 = 36.15 So this means that the sum of our original circles has to equal at least 144.6 or greater. Our circles diameter sum = 30 which is far less than the required 144.6. See Circle Packing for optimal values. http://mathworld.wolfram.com/CirclePacking.html I hope that was somw what clear. Charles P On 9/17/06, Andreas R [EMAIL PROTECTED] wrote: i need to arrange x number of circles along a circular path, making sure they all touch their two neighbors. In this way, the path's radius is NOT given, but is rather made up from the sum of all the circles' diametres. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] grab a bitmap region?
From http://livedocs.macromedia.com/flash/8/main/1959.html * Juise said on Feb 22, 2006 at 1:34 AM : * Seems that symbol has to be bitmap - loadBitmap cannot get movieclip´s bitmap data. Charles P On 8/3/06, jcarlos [EMAIL PROTECTED] wrote: Does anyone has some links or directions about How to mark an region over loading an image into a bitmapData on the stage and copy parts of it ? I´ve tryed the simplest example from FL 8 reference manual and I didn´t get just to load the image on the stage In the manual ... import flash.display.BitmapData; var linkageId:String = libraryBitmap; var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId); var mc:MovieClip = this.createEmptyMovieClip(mc, this.getNextHighestDepth()); mc.attachBitmap(myBitmapData, this.getNextHighestDepth()); .. as loadBitmap is a static method so I must have inside a class so I did import flash.display.BitmapData; class LoadBitmap { private var _myBitmap:BitmapData ; function LoadBitmap (holder:MovieClip,linkageID:String) { trace( LoadBitmap constructor + holder ++ linkageID); // it works //_myBitmap = new BitmapData(100, 80, true, 0x); // it does not works and I get undefined to _myBitmap //_myBitmap= BitmapData.loadBitmap (linkageID); trace ( _myBitmap ) ; var mc:MovieClip = holder.createEmptyMovieClip (mc, holder.getNextHighestDepth()); mc._x = 0; mc._y = 0; mc.attachBitmap ( _myBitmap, 0); } } and instantiate it in the main timeline var loadBitmap:LoadBitmap = new LoadBitmap(this, myPhoto); Nothing happens What am I doing wrong? in time: myPhoto is there in the Library João Carlos ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 - From BitmapAsset to BitmapData?
You don't attach BitmapData, you draw it. Look at the draw function in the BitmapData class. Charles P. On 7/30/06, Sascha Balkau [EMAIL PROTECTED] wrote: Thanks a lot Jim! That was the link I was looking for! Maybe you can give me a hint on another BitmapData problem: How do I attach a BitmapData to a MovieClip in AS3? attachBitmap is no more and if I use addChild I get a Coercion failed again. Sascha When embedding the images like this I use a normal Bitmap class not a BitmapAsset. Then you can access the bitmapData property of the bitmap class. [Embed(source=image.png)] private var imageClass:Class; private var image:Bitmap = new imageClass(); private var bitmapData:BitmapData = image.bitmapData; hth Jim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SWF player...
Wow wow! What are you asking for? A SWF player is the Flash Player. I think there is terminology issue here. Perhaps you are looking for a FLV Player? One that you can just point to a FLV file and it will play, etc. If this is the case then look in your components. There is an FLV player there. Charles P. On 7/25/06, Steve Lloyd [EMAIL PROTECTED] wrote: Hi List, I am trying not to re-invent the wheel and am looking for what I call a SWF player like the one at Adobe: http://www.adobe.com/products/flash/flashpro/ All it needs to do is load in one external .swf but if it loads in more great! Anybody know of an open-source .fla file(s) that will get me close to this? Not having any luck with my Google searches yet. Thanks, -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Random numbers?
It is the difference between floor and round. Charles P. On 7/23/06, Rajat Paharia [EMAIL PROTECTED] wrote: Can someone help me understand why the randRange function below doesn't return a random distribution, but the randRange2 function does? Here's some test code. thanks, - rajat var a = [0,0,0,0,0]; var b = [0,0,0,0,0]; var x; for (var i=0; i 1000; i++) { x = randRange(1,4); a[x]++; x = randRange2(1,4); b[x]++; } trace (a: + a); trace (b: + b); // -- // Generate a random number in a range. function randRange(min, max) { var randomNum = Math.round(Math.random()*(max-min))+min; return randomNum; } // Generate a random number in a range. function randRange2(min, max) { var randomNum = min + Math.floor(Math.random() * (max + 1 - min)); return randomNum; } -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3, BitmapData and domain security
What is you put the loaded image into an empty MC and then captured the BitmapData of the MC you created? Does the security traverse the MC tree checking for foreign domains? Charles P. On 7/21/06, Paul Neave [EMAIL PROTECTED] wrote: Thanks a lot Tom, that was just what I was looking for. It looks like in Flash Player 9, if you want to load *and* manipulate an image (or even a sound) from another domain you have to be able to have access to that domain and be able to put a crossdomain policy file on that server. The weird thing is that you can load an image from any server without the need for a crossdomain policy file, but you can't use BitmapData.draw() unless you have a policy file. Also, you can load an mp3 from any other server but you can't access the mp3's id3 information without a policy file on the other server. What madness is this!? What's the reasoning behind this? Surely it can't be to do with potential 'hackers' because to get around the problem you only have to create a proxy script: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=50c96388 which any potential hacker would be able to knock up in no time. But for developers, having to create a proxy script means the data has to be redirected via your server and you have to pay for the bandwidth that uses up. I really don't understand why Flash 8 and 9 have this security feature as I don't see what extra security it provides apart from annoying developers. Paul. On 21/07/06, Tom Lee [EMAIL PROTECTED] wrote: Paul, I believe the policy file being referred to is the crossdomain.xml file. Here's a technote for you on the subject, in case you're not familiar: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213. After you get up to speed on cross-domain policy files, you'll want to check out http://livedocs.macromedia.com/labs/as3preview/langref/index.html?flash/syst em/LoaderContext.htmlflash/system/class-list.html I think the following excerpts pertains to your question: When loading images (JPEG, GIF, or PNG) instead of SWF files, there is no need to specify a SecurityDomain or an application domain, because those concepts are meaningful only for SWF files. Instead, you have only one decision to make: do you need programmatic access to the pixels of the loaded image? If so, see the checkPolicyFile property. From the checkPolicyFile documentation: Set this flag to true when you are loading an image (JPEG, GIF, or PNG) from outside the calling SWF file's own domain, and you expect to need access to the content of that image from ActionScript. Examples of accessing image content include referencing the Loader.content property to obtain a Bitmap object, and calling the BitmapData.draw() method to obtain a copy of the loaded image's pixels Hope that helps! -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Neave Sent: Friday, July 21, 2006 9:06 AM To: Flashcoders Subject: [Flashcoders] AS3, BitmapData and domain security Hi group, I've only just discovered that in Flash 8 you can't .draw() a loaded image into a BitmapData object if the image was loaded from another domain. I've search about and found you can .draw() a SWF which uses System.security.allowDomain but there's no way to .draw() an image JPG, GIF, PNG etc when loaded across domains. This is very annoying, but apparently ...this will be fixed in FP9; you will be able to use policy files to permit such things. said Deneb Meketa: http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html Can someone explain how to use the policy file to permit .draw()ing cross-domain in AS3/FP9? Thanks buckets, Paul. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software
Re: [Flashcoders] scale9grid how to
Here are my thoughts. Based on the image you passed on in one of your previous postings, it looks like you are building a drop down list component. I would assume that you wanted slice9 so you could scale the component in the X direction for longer strings. Is this a correct assumption? You might want to break your image into three (3) columns. Col 1 would be an image from the left edge of the image to just right of the first black line. The second would be a single pixel column between the left and right black lines. The third column would be from just to the left of the right black line to the right edge of the image. With these three graphics you can build a X scaled component of any width. Simply replicate the single pixel column to create a text area the size you need. Use the BitmapData class to build the image and simply dump the resulting image in to a MC. This is but one example of the power held by imaging code new to Flash 8 ( copyPixels() for example ) Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Book recommendations for AS2 and game development
Sounds like you need books on OOP rather than ActipnScript. You are not going to find a book on OOP with ActionScript at the moment. Rather you are going to have to branch out a bit. Here are some books that I would suggest. At the least they will get you looking in the right direction. Object Design: Roles, Responsibilities, and Collaborations http://www.amazon.com/gp/product/0201379430/sr=1-2/qid=1152976161/ref=sr_1_2/103-7225829-0820628?ie=UTF8s=books * *Object-Oriented Analysis and Design : Understanding System Development with UML 2.0 http://www.amazon.com/gp/product/0470092408/sr=1-1/qid=1152976161/ref=sr_1_1/103-7225829-0820628?ie=UTF8s=books These will then lead you into Design Patterns Design Patterns: Elements of Reusable Object-Oriented Software* * http://www.amazon.com/gp/product/0201633612/sr=1-1/qid=1152977206/ref=pd_bbs_1/103-7225829-0820628?ie=UTF8s=books * * Head First Design Patterns http://www.amazon.com/gp/product/0596007124/sr=1-2/qid=1152977206/ref=pd_bbs_2/103-7225829-0820628?ie=UTF8s=books Design Patterns Explained : A New Perspective on Object-Oriented Design http://www.amazon.com/gp/product/0321247140/sr=1-3/qid=1152977206/ref=pd_bbs_3/103-7225829-0820628?ie=UTF8s=books Personally, I found the Head First Design Patterns book to be the most useful. Even though it uses Java as the language to show its examples, those examples are very simple to understand and translate. Understanding the different ways to structure your classes and extend them is huge. Thus patterns are a great place to learn OOP. Charles P. On 7/14/06, Paul Steven [EMAIL PROTECTED] wrote: Anyone recommend a good book on game development that uses AS2 and classes for development? I have several flash game development books (Macromedia Flash MX 2004 Game Development by Glen Rhodes, and Flash MX Game Design Demystified by Jobe Makar) plus I have just got Essential Actionscript 2.0 by Colin Moock. I am keen to learn the best way to structure a game using classes as I have just started writing my first game using Flash 8 and AS2 and I am finding it a lot different from how I previously done things in AS1 with prototypes. It seems like I cannot just refer to movie clips in classes that easily. Anyway any recommendations much appreciated. Thanks Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 Reference Library PDF?
Any word on the PDF John? While I have found the HTML version, it is not very printer friendly at all (and neither is the one on livedocs). A PDF version would be greatly appreciated. After all you guys are Adobe now and PDF is part of your thing. I am really surprised that it wasn't released with Flex. Charles P. On 7/3/06, John Dowdell [EMAIL PROTECTED] wrote: Charles Parcell wrote: Now that Flash Player 9 is officially released, does anyone know if there is a PDF of the AS3 Reference Library? While I know it is on LiveDocs, I like to thumb through actual paper. I'm not sure yet, Charles. First I checked with search term 'actionscript 3' filetype:pdf site:adobe.com, without results. I then checked cubicles over in the Flash section of the building, but with the holiday and the big ship it's pretty quiet there today. If such a resource existed today, then I'd expect to see it linked here: http://www.adobe.com/devnet/actionscript/ I'd suspect a PDF version is on the schedule, but let me try nailing down detail later on in this week, when people who took the short holiday are back on duty. Deal? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Dynamic access of top-level variables in AS3
or what about stage[myVar] Charles P. On 7/11/06, Charles Parcell [EMAIL PROTECTED] wrote: this[myVar] doesn't work?? Charles P. On 7/11/06, Chris McFadyen aka Grayson Carlyle [EMAIL PROTECTED] wrote: Maybe I'm missing something, but I don't see how I can dynamically reference variables passed via a GET string into the swf using this. Hello :) in AS3 you use directly variables in global when you use a new .as ! package { static globalVariable = {} ; // your in topLevel !!! public class MainClass() { // first code in your Application // load your xml and use your global variable !!! } } EKA+ :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 faster ??
What data types did you use?? int or Number? Charles P. On 7/10/06, Cédric Néhémie [EMAIL PROTECTED] wrote: Hi, Here some benchs I've made during the Beta 2, comparison between AS2's and AS3's basics operations. All have been mades on 10 iterations. AS2: addition (5+12) : 370 ms subtract (5-12) : 365 ms multiply (5x12) : 351 ms divide (5/12) : 375 ms concat : 471 ms round (16.87956) : 346 ms square (2) : 395 ms creating objects with {x:50,y:100} : 1560 ms creating objects with new : 1734 ms creating arrays with [50,60,70] : 1834 ms creating arrays with new : 2127 ms AS3 : addition (5+12) : 4 ms subtract (5-12) : 6 ms multiply (5x12) : 6 ms divide (5/12) : 7 ms concat : 63 ms concat with StringBuilder : 12 ms round (16.87956) : 25 ms square (2) : 24 ms creating objects with {x:50,y:100} : 89 ms creating objects with new : 70 ms creating arrays with [50,60,70] : 90 ms creating arrays with new : 300 ms Something cool is that the new keyword is much faster on AS3 when creating objects, whereas it's the inverse in AS3. Cédric Andreas Rønning wrote: Hardly benchmarks, but you can get a quick comparison in flashplayer 9: http://andreas.rayon.no/AS2.swf Press the 3-key on your keyboard to load the most complex system, observe the BREAKNECK SPEED at which Flash player 8 handles it. http://andreas.rayon.no/AS3.swf I rest my case :) - Andreas Nick Weekes wrote: Andreas, you got any links to your benchmarking? Id be interested to see them (Im not planning on migrating to AS3 just yet). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 10 July 2006 14:59 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 faster ?? I did an l-system implementation in AS2 recently. In FP8 i could only do simple systems with a couple of recursions before the player choked, and playback was slow as well (i animated the growth with perlin noise for a wind effect). Porting to AS3 let me quadruple the l-system complexity, still get instantaneous results and far, far better playback speed. Not hard numbers, i know, but pretty mindblowing for me to watch as a developer. AS3 doesn't wrap AS2, this is important to remember. AS2 was pretty much AS1 with knobs on, AS3 is a new language to learn (albeit not a tough one to learn if you're used to AS2). - Andreas neo binedell wrote: Of course it will be faster only if you port the code over to AS3 (otherwise it will still use the old AS2/1 VM1). I posted about the 3D engine I wrote and the speed increase I got when I converted it to AS3 a few days ago so you can check that out as an example of just how much faster it is ;p ~neo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte Sent: 06 July 2006 05:47 PM To: Flashcoders mailing list Subject: [Flashcoders] AS3 faster ?? Hi people, they say that AS3 is 10 times faster than AS2 but what does that really means ? Does that mean that my movies will play faster even if I have a few dozens movieclips with graphics flying all over the screen? Or does it just mean that my .swf will be compiling 10 times faster? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 faster ??
Could you supply the code you tested with please. Charles P. On 7/10/06, Cédric Néhémie [EMAIL PROTECTED] wrote: Hi, Here some benchs I've made during the Beta 2, comparison between AS2's and AS3's basics operations. All have been mades on 10 iterations. AS2: addition (5+12) : 370 ms subtract (5-12) : 365 ms multiply (5x12) : 351 ms divide (5/12) : 375 ms concat : 471 ms round (16.87956) : 346 ms square (2) : 395 ms creating objects with {x:50,y:100} : 1560 ms creating objects with new : 1734 ms creating arrays with [50,60,70] : 1834 ms creating arrays with new : 2127 ms AS3 : addition (5+12) : 4 ms subtract (5-12) : 6 ms multiply (5x12) : 6 ms divide (5/12) : 7 ms concat : 63 ms concat with StringBuilder : 12 ms round (16.87956) : 25 ms square (2) : 24 ms creating objects with {x:50,y:100} : 89 ms creating objects with new : 70 ms creating arrays with [50,60,70] : 90 ms creating arrays with new : 300 ms Something cool is that the new keyword is much faster on AS3 when creating objects, whereas it's the inverse in AS3. Cédric Andreas Rønning wrote: Hardly benchmarks, but you can get a quick comparison in flashplayer 9: http://andreas.rayon.no/AS2.swf Press the 3-key on your keyboard to load the most complex system, observe the BREAKNECK SPEED at which Flash player 8 handles it. http://andreas.rayon.no/AS3.swf I rest my case :) - Andreas Nick Weekes wrote: Andreas, you got any links to your benchmarking? Id be interested to see them (Im not planning on migrating to AS3 just yet). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 10 July 2006 14:59 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 faster ?? I did an l-system implementation in AS2 recently. In FP8 i could only do simple systems with a couple of recursions before the player choked, and playback was slow as well (i animated the growth with perlin noise for a wind effect). Porting to AS3 let me quadruple the l-system complexity, still get instantaneous results and far, far better playback speed. Not hard numbers, i know, but pretty mindblowing for me to watch as a developer. AS3 doesn't wrap AS2, this is important to remember. AS2 was pretty much AS1 with knobs on, AS3 is a new language to learn (albeit not a tough one to learn if you're used to AS2). - Andreas neo binedell wrote: Of course it will be faster only if you port the code over to AS3 (otherwise it will still use the old AS2/1 VM1). I posted about the 3D engine I wrote and the speed increase I got when I converted it to AS3 a few days ago so you can check that out as an example of just how much faster it is ;p ~neo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Matte Sent: 06 July 2006 05:47 PM To: Flashcoders mailing list Subject: [Flashcoders] AS3 faster ?? Hi people, they say that AS3 is 10 times faster than AS2 but what does that really means ? Does that mean that my movies will play faster even if I have a few dozens movieclips with graphics flying all over the screen? Or does it just mean that my .swf will be compiling 10 times faster? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 Reference Library PDF?
Now that Flash Player 9 is officially released, does anyone know if there is a PDF of the AS3 Reference Library? While I know it is on LiveDocs, I like to thumb through actual paper. Thanks, Charles P. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com