Re: [Flashcoders] Stage instances, nested clips frames (AS3)
hi, this old as3 feature has upset so many people that, as far as I remember, this has been fixed in flash player 10. Meanwhile, you have to resort to tricks, sorry I don't know which one is the best. This one seems to be what you suggested: http://www.lecrabe.net/blog/index.php?post/2008/08/05/41-as3-gotoandstop-gotoandplay-issue Here senocular suggests listening ADDED event from a parent node: (because ADDED bubbles ;)) http://www.kirupa.com/forum/showthread.php?t=247040 Olivier jonathan howe a écrit : Hello, I've got a situation where animators hand me a clip that has a bunch of frame labels, each representing an animation sequence. At each frame label, I've got labelled MovieClips inside the clip. So, for example, on each frame I have a clip called character_mc, talkbubble_mc, hitarea_mc. The reason for the setup like this is that the animators position the key clips in different ways depending on the state of the character (walking, running, etc.). They like it all in one clip so they can make sure the transitions between the states are smooth. So, the problem I have is that in AS3, I'll tell the parent clip to go to a frame, and the value of character_mc will return null ... sometimes. This never used to happen in AS2; it always seemed that as soon as I executed gotoAndStop on a parent clip, the stage instances of that parent clip were available to me on the very next line of code. [OR, perhaps I was fooled into thinking this because of AS2's permissive ways (i.e. I was actually calling operations on a null instance)?] What I find strange is that character_mc is not null the line before the gotoAndStop execution. Almost as if the parent clip is in a halfway state ... So my question is, how can I make sure that the instances on the stage are initialized, defined and ready to access? Is there a way to force this? Do I have to create a deferred part of the code and add an ENTER_FRAME event every time I want to access the clip? Or to get away from this, do I really have to convert all of the animators' clips into a structure that doesn't rely on the parent clip's timeline? -jonathan -- Olivier Besson (gludion) - (33 1) 44 64 78 99 http://.gludion.com http://blog.gludion.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] ComboBox + Custom Cursor , AS3
Yeh - this might not work - I already have a similar structure, and as the ComboBox adds the List to the stage. I tried to find a 'lockRoot' type of solution for AS3 - but no joy there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joel Stransky Sent: 12 November 2008 23:03 To: Flash Coders List Subject: Re: [Flashcoders] ComboBox + Custom Cursor , AS3 This might be a bit cumbersome but less processor intensive. Instead of using MOUSE_MOVE, create two Sprites on the stage. One as a content pane and other as a custom cursor pane. Then add all content including the combo box to the content pane and the cursor to the cursor pane. I can't say for sure if the combo box will still display on top but may be worth a shot if you're big on freeing up resources. On Wed, Nov 12, 2008 at 5:47 PM, karim beyrouti [EMAIL PROTECTED] wrote: Perfect - thank you ! it seems a little odd that the ComboBox adds the List to the stage and not one of its own children. Maybe memory/resource managment. h. On 12 Nov 2008, at 16:26, Keith Reinfeld wrote: Karim, Try adding the following line of code to your MOUSE_MOVE event listener function: stage.addChildAt(customCursor, stage.numChildren); Of course, you must substitute your custom cursor's instance name for 'customCursor'. HTH Regards, -Keith http://keithreinfeld.home.comcast.net ___ 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 -- --Joel ___ 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] XML transformation
Hi, I have a load of data loaded from a server as XML which is essentially a flat list. Nodes in the list have a child node defining a target and many nodes have the same target. list nodetarget1/targetdatablah1/data/node nodetarget1/targetdatablah2/data/node nodetarget2/targetdatablah3/data/node nodetarget3/targetdatablah4/data/node nodetarget1/targetdatablah5/data/node /list I want to re-arrange this list into a tree structure to group the nodes by target and use as a data provider to a tree control. tree target id=1 datablah1/data datablah2/data datablah5/data /target target id=2 datablah3/data /target target id=3 datablah4/data /target /tree The list can have large numbers of entries - in the order of 1000's - are there sneaky / fast ways of manipulating the list into my tree structure? Thanks Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Stage instances, nested clips frames (AS3)
Great links, Olivier! One of the additional oddities called out in the second link: if i trace the number of children i get 1 still, but if i do getChildAt(0), it traces null on the first frame That is something I noticed myself but forgot to include in my link. Really amazing! I am going to give the CustomWait static helper a shot. Can anyone confirm for me that it's fixed (sorry changed) in FP10? -jonathan On Thu, Nov 13, 2008 at 11:14 AM, Olivier Besson [EMAIL PROTECTED] wrote: hi, this old as3 feature has upset so many people that, as far as I remember, this has been fixed in flash player 10. Meanwhile, you have to resort to tricks, sorry I don't know which one is the best. This one seems to be what you suggested: http://www.lecrabe.net/blog/index.php?post/2008/08/05/41-as3-gotoandstop-gotoandplay-issue Here senocular suggests listening ADDED event from a parent node: (because ADDED bubbles ;)) http://www.kirupa.com/forum/showthread.php?t=247040 Olivier jonathan howe a écrit : Hello, I've got a situation where animators hand me a clip that has a bunch of frame labels, each representing an animation sequence. At each frame label, I've got labelled MovieClips inside the clip. So, for example, on each frame I have a clip called character_mc, talkbubble_mc, hitarea_mc. The reason for the setup like this is that the animators position the key clips in different ways depending on the state of the character (walking, running, etc.). They like it all in one clip so they can make sure the transitions between the states are smooth. So, the problem I have is that in AS3, I'll tell the parent clip to go to a frame, and the value of character_mc will return null ... sometimes. This never used to happen in AS2; it always seemed that as soon as I executed gotoAndStop on a parent clip, the stage instances of that parent clip were available to me on the very next line of code. [OR, perhaps I was fooled into thinking this because of AS2's permissive ways (i.e. I was actually calling operations on a null instance)?] What I find strange is that character_mc is not null the line before the gotoAndStop execution. Almost as if the parent clip is in a halfway state ... So my question is, how can I make sure that the instances on the stage are initialized, defined and ready to access? Is there a way to force this? Do I have to create a deferred part of the code and add an ENTER_FRAME event every time I want to access the clip? Or to get away from this, do I really have to convert all of the animators' clips into a structure that doesn't rely on the parent clip's timeline? -jonathan -- Olivier Besson (gludion) - (33 1) 44 64 78 99 http://.gludion.com http://blog.gludion.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Drawing BitmapData - thinner lines?
Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 - Cross Browser Issues
Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? SJM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing BitmapData - thinner lines?
that lessrain example is crazy good. Not sure about the thickness thing - are you drawing the rule with a thickness of 0 and not 1? On Thu, Nov 13, 2008 at 9:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML transformation
The list can have large numbers of entries - in the order of 1000's Do it on the server.. making sure the data structure is as you want it to be. Why one would use xml with 1000's of entries is beyond me though :) regards, Muzak - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:22 PM Subject: [Flashcoders] XML transformation Hi, I have a load of data loaded from a server as XML which is essentially a flat list. Nodes in the list have a child node defining a target and many nodes have the same target. list nodetarget1/targetdatablah1/data/node nodetarget1/targetdatablah2/data/node nodetarget2/targetdatablah3/data/node nodetarget3/targetdatablah4/data/node nodetarget1/targetdatablah5/data/node /list I want to re-arrange this list into a tree structure to group the nodes by target and use as a data provider to a tree control. tree target id=1 datablah1/data datablah2/data datablah5/data /target target id=2 datablah3/data /target target id=3 datablah4/data /target /tree The list can have large numbers of entries - in the order of 1000's - are there sneaky / fast ways of manipulating the list into my tree structure? Thanks Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 - Cross Browser Issues
Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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] AS3 - Cross Browser Issues
I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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 - Cross Browser Issues
Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] targeting an event listner to a button inside a movieclip?
First time posting on this list, hope y'all can help with this one, it should be easy, but having gone through what seems to be every possible permutation, I can't get it right. in the main movie, there's a button named upperoffice, and the event listner correctly triggers the displayinfobox function to send the movieclip infoboxmc to a named frame... the code in frame 1 of the main movie: upperoffice.addEventListener(MouseEvent.CLICK, displayinfobox); function displayinfobox(event:MouseEvent):void { infoboxmc.gotoAndStop(mainoffice); } That works as expected. Now, there's a button in the infoboxmc movieclip that I'd like to have send the movieclip to another named frame, I expect that I need to have the event listener point to the button in the movieclip, some thing like infoboxmc.closethat.addEventListener(MouseEvent.CLICK, closeinfobox); function closeinfobox(event:MouseEvent):void { infoboxmc.gotoAndStop(blank); } but that does not work I get something like: TypeError: Error #1009: Cannot access a property or method of a null object reference. at interactivecampmap1_fla::MainTimeline/frame1() this should be pretty simple, but I can't come up with a path that correctly targets the button inside the movieclip, can anyone point me in the correct direction? Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing BitmapData - thinner lines?
Make sure you line is draw as a Hairline and not a thickness of 1. Or if you draw the line dynamically (in code) then make sure to set the line style to no scale. Like this: shape.graphics.lineStyle(1, 0x00, 1, *false*, LineScaleMode.NONE); Steve On Thu, Nov 13, 2008 at 7:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ 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 transformation
Here's a my quick and dirty stab at it, may or may not be what you looking for: function transformXML(node:XML):XML { if (node.name() == target) { [EMAIL PROTECTED]id]=node.text(); node.setChildren(node.parent()..*.(name()==data)); } if (node.name() == node) { node.setName(tree); } var n:int=0; var cnode:XML; while (n node.children().length()) { cnode=node.children()[n]; if (cnode.name() == data node.name() != target) { delete node.children()[cnode.childIndex()]; continue; } transformXML(cnode) n++; } return node; } -- Keith H -- www.keith-hair.net Glen Pike wrote: Hi, I have a load of data loaded from a server as XML which is essentially a flat list. Nodes in the list have a child node defining a target and many nodes have the same target. list nodetarget1/targetdatablah1/data/node nodetarget1/targetdatablah2/data/node nodetarget2/targetdatablah3/data/node nodetarget3/targetdatablah4/data/node nodetarget1/targetdatablah5/data/node /list I want to re-arrange this list into a tree structure to group the nodes by target and use as a data provider to a tree control. tree target id=1 datablah1/data datablah2/data datablah5/data /target target id=2 datablah3/data /target target id=3 datablah4/data /target /tree The list can have large numbers of entries - in the order of 1000's - are there sneaky / fast ways of manipulating the list into my tree structure? Thanks Glen ___ 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 - Cross Browser Issues
You can always get a stand alone version of IE6 here. http://browsers.evolt.org/?ie/32bit/standalone In my tests: IE6 7 - no blue or white pattern image shows up FF - just the blue image shows up Chrome - just the blue image shows up attached is the image I tried. On Thu, Nov 13, 2008 at 10:23 AM, Glen Pike [EMAIL PROTECTED]wrote: I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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 -- --Joel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML transformation
This should work: private function rearrengeXML(original:XML):XML { var rearrenged:XML = new XML(tree /); for each (var node:XML in original.node){ if(rearrenged.target.(@id == node.target).length()){ rearrenged.target.(@id == node.target).appendChild(node.data) } else { rearrenged.appendChild(target id={node.target}{node.data}/target); } } return rearrenged; } Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Hi, I have a load of data loaded from a server as XML which is essentially a flat list. Nodes in the list have a child node defining a target and many nodes have the same target. list nodetarget1/targetdatablah1/data/node nodetarget1/targetdatablah2/data/node nodetarget2/targetdatablah3/data/node nodetarget3/targetdatablah4/data/node nodetarget1/targetdatablah5/data/node /list I want to re-arrange this list into a tree structure to group the nodes by target and use as a data provider to a tree control. tree target id=1 datablah1/data datablah2/data datablah5/data /target target id=2 datablah3/data /target target id=3 datablah4/data /target /tree The list can have large numbers of entries - in the order of 1000's - are there sneaky / fast ways of manipulating the list into my tree structure? Thanks Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 - Cross Browser Issues
Maybe a Flash 10 issue? I'm still using FP9. Paul - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 3:23 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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] AS3 - Cross Browser Issues
Hey Glen I just cant understand why now after months of development this problem has occurred! It was working fine untill a week or so ago! - Original Message - From: Glen Pike To: Flash Coders List Sent: Thursday, November 13, 2008 3:23 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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] AS3 - Cross Browser Issues
The white image is directly underneath the blue image, you will have ot click and drag the image to see the white one! I have IE 5, 5.5, 6 7 and ive tested on all of them with no trouble! FF, Chrome Opera all work fine for me too! What version of flash player are you guys running? im on 10,0,2,54 - Original Message - From: Joel Stransky To: Flash Coders List Sent: Thursday, November 13, 2008 4:19 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues You can always get a stand alone version of IE6 here. http://browsers.evolt.org/?ie/32bit/standalone In my tests: IE6 7 - no blue or white pattern image shows up FF - just the blue image shows up Chrome - just the blue image shows up attached is the image I tried. On Thu, Nov 13, 2008 at 10:23 AM, Glen Pike [EMAIL PROTECTED]wrote: I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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 -- --Joel -- ___ 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 transformation
Hi, Cool thanks for the help guys: Currently looking at XML vs RecordSet / AMF, but I will still need to parse some XML methinks and the transforms look a lot nicer than my hack! Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 - Cross Browser Issues
All good for FP 9,0,124,0 Paul - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 4:37 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues The white image is directly underneath the blue image, you will have ot click and drag the image to see the white one! I have IE 5, 5.5, 6 7 and ive tested on all of them with no trouble! FF, Chrome Opera all work fine for me too! What version of flash player are you guys running? im on 10,0,2,54 - Original Message - From: Joel Stransky To: Flash Coders List Sent: Thursday, November 13, 2008 4:19 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues You can always get a stand alone version of IE6 here. http://browsers.evolt.org/?ie/32bit/standalone In my tests: IE6 7 - no blue or white pattern image shows up FF - just the blue image shows up Chrome - just the blue image shows up attached is the image I tried. On Thu, Nov 13, 2008 at 10:23 AM, Glen Pike [EMAIL PROTECTED]wrote: I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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 -- --Joel -- ___ 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] AS3 - Cross Browser Issues
WIN 9,0,124,0 debug Still does not work in IE. IE6 does throw an alert to continue loading the content of this page. On Thu, Nov 13, 2008 at 11:57 AM, Paul Andrews [EMAIL PROTECTED] wrote: All good for FP 9,0,124,0 Paul - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 4:37 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues The white image is directly underneath the blue image, you will have ot click and drag the image to see the white one! I have IE 5, 5.5, 6 7 and ive tested on all of them with no trouble! FF, Chrome Opera all work fine for me too! What version of flash player are you guys running? im on 10,0,2,54 - Original Message - From: Joel Stransky To: Flash Coders List Sent: Thursday, November 13, 2008 4:19 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues You can always get a stand alone version of IE6 here. http://browsers.evolt.org/?ie/32bit/standalone In my tests: IE6 7 - no blue or white pattern image shows up FF - just the blue image shows up Chrome - just the blue image shows up attached is the image I tried. On Thu, Nov 13, 2008 at 10:23 AM, Glen Pike [EMAIL PROTECTED] wrote: I was okay too - I would possibly consider client stupidity / ineptitude at this point and maybe diplomatically walk through the problem with the client. There could be a host of problems - the type of image being sent, the browser used, the network, etc. For dev work, I would recommend testing on IE, at least 7 if not 6 where possible. The percentage of users is still massive so should be considered. Glen FlashDev wrote: Thanks Paul, i cannot recreate the problem either! I dont know what to do! - Original Message - From: Paul Andrews To: Flash Coders List Sent: Thursday, November 13, 2008 2:56 PM Subject: Re: [Flashcoders] AS3 - Cross Browser Issues Works for me exactly as you describe in both FF2.0 and IE 7.0 - Original Message - From: FlashDev [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 2:26 PM Subject: [Flashcoders] AS3 - Cross Browser Issues Hi Guys, Im having a wired problem with a flash project ive been wroking on for some time now. The application works fine on my localhost for me but will not work properly when the client views my localhost. http://flashdev.dnsalias.org:8081/PartyDelights/pd/ Basically, when the flash loads click the 'Photo Tools' tab then click upload am image. Select an image from your PC (dont worry its wont get uploaded its just to simulate an upload). Once this has been done you should see a blue image under the word 'type' and a white/pattern image under the blue one. This is what my client can not see! It also has issues between firefox and internet explorer (apparently as i cannot test it) Anyone have any ideas on why this would be hapening? 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 ___ 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 -- --Joel -- ___ 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 -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Fwd: Reasonable Expectations (might be off topic)
I have recently completed a project for a client that involved a heavy video component (by their request). I went to the nines on this one with a streaming server from akamai to help with the video load time. The main swf file weights in at 96K. The sub swfs that load in are about 50K. The video streams from the server. The original version contained bandwidth detection to supply video, etc. The client elected never to launch the project because they couldn't get it to work on a couple of their employees internal machines. I had it tested on about 200 computers all over the country before delivering without any problems. The client only tested about 3 computers at one facility and said it didn't work. I went to their place and tested myself and it worked on 10 machines. The ones that weren't working were IBM thinkpads running a 1 ghz celeron processor with 512MB of RAM. That's the only thing that I can think of that is caused the hiccup. Their internet connection came back at almost T1 speed but they still had issues with the video. Is it reasonable that it was the computer that was the barrier or am I missing something? They are now in a don't want to pay mode and I'm trying to show them that it was a problem on their end since I could never recreate the problem except on those few machines? Thanks and sorry if this is OT. I can post elsewhere it need be. I just thought that you guys have dealt with this on a wide scale with the scope of your projects and could shed some light on what i might have overlooked. P.S. I've delivered at least 4 other websites with the same backbone, same streaming server, etc. this year and not one of the other clients has had any issue. Thanks again, -- Bo Parker Principal Thinq Design Kinetiq HD 650 W Vickery Suite 130 Fort Worth, Texas 76104 (817) 332-4700 p www.thinqdifferent.com www.kinetiqhd.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fwd: Reasonable Expectations (might be off topic)
Bo Parker wrote: I have recently completed a project for a client that involved a heavy video component (by their request). [snip] The ones that weren't working were IBM thinkpads running a 1 ghz celeron processor with 512MB of RAM. That's the only thing that I can think of that is caused the hiccup. According to the Flash Player system requirements[1], the minimum recommended config for stanard or hi-def video playback is a Pentium 4 2.33 GHz. Surely they understand system requirements? I think you have some ground to stand on, especially if they requested Flash and video. I can only speculate - and it's a totally unfair judgment - but the first thing that comes to mind is they're looking to cut costs. [1] http://www.adobe.com/products/flashplayer/systemreqs/ -Jim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Fwd: Reasonable Expectations (might be off topic)
The client elected never to launch the project because they couldn't get it to work on a couple of their employees internal machines. What do you mean with couldn't get it to work? Some time ago we launched an all video website (for a movie) and we had some serious issues getting it to play fluently on (older) macs (but not outdated). After alot of testing we figured out that the vp6 codec at 30fps was the cullprit. When the same video was encoded at 15fps, everything went fine. regards, Muzak - Original Message - From: Bo Parker [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, November 13, 2008 7:04 PM Subject: [Flashcoders] Fwd: Reasonable Expectations (might be off topic) I have recently completed a project for a client that involved a heavy video component (by their request). I went to the nines on this one with a streaming server from akamai to help with the video load time. The main swf file weights in at 96K. The sub swfs that load in are about 50K. The video streams from the server. The original version contained bandwidth detection to supply video, etc. The client elected never to launch the project because they couldn't get it to work on a couple of their employees internal machines. I had it tested on about 200 computers all over the country before delivering without any problems. The client only tested about 3 computers at one facility and said it didn't work. I went to their place and tested myself and it worked on 10 machines. The ones that weren't working were IBM thinkpads running a 1 ghz celeron processor with 512MB of RAM. That's the only thing that I can think of that is caused the hiccup. Their internet connection came back at almost T1 speed but they still had issues with the video. Is it reasonable that it was the computer that was the barrier or am I missing something? They are now in a don't want to pay mode and I'm trying to show them that it was a problem on their end since I could never recreate the problem except on those few machines? Thanks and sorry if this is OT. I can post elsewhere it need be. I just thought that you guys have dealt with this on a wide scale with the scope of your projects and could shed some light on what i might have overlooked. P.S. I've delivered at least 4 other websites with the same backbone, same streaming server, etc. this year and not one of the other clients has had any issue. Thanks again, -- Bo Parker ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing BitmapData - thinner lines?
In lineStyle(), set the pixelHinting param to true. On Thu, Nov 13, 2008 at 10:43 AM, Steve Mathews [EMAIL PROTECTED] wrote: Make sure you line is draw as a Hairline and not a thickness of 1. Or if you draw the line dynamically (in code) then make sure to set the line style to no scale. Like this: shape.graphics.lineStyle(1, 0x00, 1, *false*, LineScaleMode.NONE); Steve On Thu, Nov 13, 2008 at 7:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only my drawn lines are a bit chunky and thick. ( see http://img227.imageshack.us/img227/118/exampleyu5.jpg ) How can I make the lines a bit thinner and more 'organic'? I know it's possible... I checked out some other drawing examples on: http://www.lessrain.com/projects/luis/algorithm/liverender/ http://blog.andre-michelle.com/2008/fur-like-renderings/#comments I'm copying a drawn line from the library by the way, and then draw it to a bitmapdata (bitmap smoothing = true) thnx in advance! ___ 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 -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] How much would you charge?
What is a fair price for a simple photo gallery, in AS3, that loads the photo data from an XML file? I said between $280 to $350; given the hours it would take me, plus some contingency time. Did I under quote? over quote? what do you think? Still new to this independent stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] targeting an event listner to a button inside a movieclip?
Michael, Fix 1 (more like Issue 1) is probably the issue you're facing: http://curtismorley.com/2007/08/15/flash-cs3-flex-error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/ I've made similar tests that scripts just don't work because the objects are not there yet even though you're supposed to be on that frame already. There might be better fixes, but you could try a gotoAndPlay instead to mainoffice and add a stop() to the next frame and have your EventListener code there. - Daniel - On Thu, Nov 13, 2008 at 11:52 PM, Michael Knauf [EMAIL PROTECTED]wrote: First time posting on this list, hope y'all can help with this one, it should be easy, but having gone through what seems to be every possible permutation, I can't get it right. in the main movie, there's a button named upperoffice, and the event listner correctly triggers the displayinfobox function to send the movieclip infoboxmc to a named frame... the code in frame 1 of the main movie: upperoffice.addEventListener(MouseEvent.CLICK, displayinfobox); function displayinfobox(event:MouseEvent):void { infoboxmc.gotoAndStop(mainoffice); } That works as expected. Now, there's a button in the infoboxmc movieclip that I'd like to have send the movieclip to another named frame, I expect that I need to have the event listener point to the button in the movieclip, some thing like infoboxmc.closethat.addEventListener(MouseEvent.CLICK, closeinfobox); function closeinfobox(event:MouseEvent):void { infoboxmc.gotoAndStop(blank); } but that does not work I get something like: TypeError: Error #1009: Cannot access a property or method of a null object reference. at interactivecampmap1_fla::MainTimeline/frame1() this should be pretty simple, but I can't come up with a path that correctly targets the button inside the movieclip, can anyone point me in the correct direction? Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Thanks Best regards, Daniel Boey ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] targeting an event listner to a button inside a movieclip?
Michael, (It slipped my mind, this) OR - you could use ADDED_TO_STAGE EventListener in that frame, and have a function wrap around your button listener code. Should do the trick. - Daniel - On Fri, Nov 14, 2008 at 10:16 AM, Daniel Boey [EMAIL PROTECTED] wrote: Michael, Fix 1 (more like Issue 1) is probably the issue you're facing: http://curtismorley.com/2007/08/15/flash-cs3-flex-error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/ I've made similar tests that scripts just don't work because the objects are not there yet even though you're supposed to be on that frame already. There might be better fixes, but you could try a gotoAndPlay instead to mainoffice and add a stop() to the next frame and have your EventListener code there. - Daniel - On Thu, Nov 13, 2008 at 11:52 PM, Michael Knauf [EMAIL PROTECTED]wrote: First time posting on this list, hope y'all can help with this one, it should be easy, but having gone through what seems to be every possible permutation, I can't get it right. in the main movie, there's a button named upperoffice, and the event listner correctly triggers the displayinfobox function to send the movieclip infoboxmc to a named frame... the code in frame 1 of the main movie: upperoffice.addEventListener(MouseEvent.CLICK, displayinfobox); function displayinfobox(event:MouseEvent):void { infoboxmc.gotoAndStop(mainoffice); } That works as expected. Now, there's a button in the infoboxmc movieclip that I'd like to have send the movieclip to another named frame, I expect that I need to have the event listener point to the button in the movieclip, some thing like infoboxmc.closethat.addEventListener(MouseEvent.CLICK, closeinfobox); function closeinfobox(event:MouseEvent):void { infoboxmc.gotoAndStop(blank); } but that does not work I get something like: TypeError: Error #1009: Cannot access a property or method of a null object reference. at interactivecampmap1_fla::MainTimeline/frame1() this should be pretty simple, but I can't come up with a path that correctly targets the button inside the movieclip, can anyone point me in the correct direction? Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Thanks Best regards, Daniel Boey -- Thanks Best regards, Daniel Boey ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How much would you charge?
Anthony Pace schrieb: What is a fair price for a simple photo gallery, in AS3, that loads the photo data from an XML file? I said between $280 to $350; given the hours it would take me, plus some contingency time. Did I under quote? over quote? what do you think? Still new to this independent stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders depends a littlebit how professional you gonna build this in terms of visual appearance but thats a normal price for that. I just offered pretty much the same but with the feature that the client can upload his files in a given folder on the server and flash gets all the files via php script, so there is no need for maintaining a xml file. the pictures will be shown in a gridwall 3x4 and blend independendly = 290€ (might be a bit underestimated) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How much would you charge?
Hi, depends on whether you are writing it from scratch or not. Seeing the huge amount of foto galleries already outthere including open sourced components etc you could save some time by just using one of those. Then it's just implementation time x your hourly rate. greetz JC On Fri, Nov 14, 2008 at 4:02 AM, dr.ache [EMAIL PROTECTED] wrote: Anthony Pace schrieb: What is a fair price for a simple photo gallery, in AS3, that loads the photo data from an XML file? I said between $280 to $350; given the hours it would take me, plus some contingency time. Did I under quote? over quote? what do you think? Still new to this independent stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders depends a littlebit how professional you gonna build this in terms of visual appearance but thats a normal price for that. I just offered pretty much the same but with the feature that the client can upload his files in a given folder on the server and flash gets all the files via php script, so there is no need for maintaining a xml file. the pictures will be shown in a gridwall 3x4 and blend independendly = 290€ (might be a bit underestimated) ___ 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 much would you charge?
Also depends where you are located. In the Netherlands we ask as much as 60 to 90 /hour. But then your coding speed counts in too. I think there are a lot of simple viewers out there like (randompick): http://theflashblog.com/?p=225 http://www.flashmagazine.com/tutorials/detail/as3_photo_gallery/ ... So that might be profitable to ;) dr.ache wrote: Anthony Pace schrieb: What is a fair price for a simple photo gallery, in AS3, that loads the photo data from an XML file? I said between $280 to $350; given the hours it would take me, plus some contingency time. Did I under quote? over quote? what do you think? Still new to this independent stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders depends a littlebit how professional you gonna build this in terms of visual appearance but thats a normal price for that. I just offered pretty much the same but with the feature that the client can upload his files in a given folder on the server and flash gets all the files via php script, so there is no need for maintaining a xml file. the pictures will be shown in a gridwall 3x4 and blend independendly = 290€ (might be a bit underestimated) ___ 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 much would you charge?
Good point. I'd recommend using SlideShowPro. It's cheap ($29), looks slick, and you'll be done in no time - your client will be none the wiser and you'll be $350 richer. http://slideshowpro.net/ Cheers, -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] On Nov 13, 2008, at 10:25 PM, Hans Wichman wrote: Hi, depends on whether you are writing it from scratch or not. Seeing the huge amount of foto galleries already outthere including open sourced components etc you could save some time by just using one of those. Then it's just implementation time x your hourly rate. greetz JC On Fri, Nov 14, 2008 at 4:02 AM, dr.ache [EMAIL PROTECTED] wrote: Anthony Pace schrieb: What is a fair price for a simple photo gallery, in AS3, that loads the photo data from an XML file? I said between $280 to $350; given the hours it would take me, plus some contingency time. Did I under quote? over quote? what do you think? Still new to this independent stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders depends a littlebit how professional you gonna build this in terms of visual appearance but thats a normal price for that. I just offered pretty much the same but with the feature that the client can upload his files in a given folder on the server and flash gets all the files via php script, so there is no need for maintaining a xml file. the pictures will be shown in a gridwall 3x4 and blend independendly = 290€ (might be a bit underestimated) ___ 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