Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors
Hi, I did not use AIR because I was doing a DVD / CDROM project and projector works out of the box. Without lots of reading and extra work, I could not have got AIR working and I am not sure it could autorun standalone off a CDROM. If it can, the documentation / marketing needs to be a bit more clear on this. Glen Nate Beck wrote: Just out of curiosity... Why are you deploying your application as a stand-alone projector when you could deploy it as an Adobe AIR application? On Mon, Feb 16, 2009 at 2:03 PM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, I don't think that updating the FP updates the IDE one normally - I have never worked out how to do this, even with Kewbee's Plugin Switcher. Not wishing to sound too cynical, but if everyone upgrades their FP so easily, then content creators will have to keep up and they are the one's who have to shell out for the Adobe products, so maybe that's the reason behind this -or maybe it's the rush to keep the IDE on a high calorie diet of new features rather than concentrating on keeping it trim and mean by fixing the important things that it might be nice to get fixed. I guess I am just bitter because I have not had a chance to play with CS4 yet :( Glen jonathan howe wrote: Well, it doesn't disprove my theory - that is the packaged version prior to the security patch. The version of projectors that my IDE now creates is 9.0.151.0 So, the mystery remains. Anyone with the unpatched version: Test your fullscreen projectors in Vista. Anyone with the patched version: Test your fullscreen (if it's called outside a button event and is invoked by stage.displayState) to make sure it actually works Mystery #2: why doesn't the Adobe Updater apply the patches to the Players/ directory if this is such an important security fix? -jonathan (Glen, I think I beat your test score by 0.0.106. Booyah.) On Mon, Feb 16, 2009 at 2:06 PM, Glen Pike postmas...@glenpike.co.uk wrote: My IDE published to 9.0.45.0 for that projector. HTH Glen jonathan howe wrote: Glen, thanks for the response. As an interesting (?) complication to this matter, I recently installed the new versions of the players to CS3 Professional IDE: http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659sliceId=2 Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN; command worked but full screen was completely black on Vista. After I updated, fullscreen wasn't black but the fullscreen didn't work anymore. Did adobe sneak in more stringent security? If so, why does my fscommand work? Glen, would you mind telling me what player version shows up when you export a projector from your IDE? -jonathan On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike postmas...@glenpike.co.uk wrote: Hi, I have no problem with this when publishing a projector from CS3: this.stage.displayState = StageDisplayState.FULL_SCREEN; The projector I created is just a shell that loads in another SWF containing the App. But I did run into problems with trying to make a non-projector SWF go full screen without using fscommand - (we were running flash player from the command line in Linux because we are compiling the SWF on Windows and it is virtually impossible to create a projector when you are running the system without a desktop manager.) I think keeping fingers crossed that fscommand does not get deprecated would be a good thing because there are cases where this would cause serious problems :) Glen jonathan howe wrote: Hello, According to docs Full-screen mode is always permitted in the stand-alone player or in a projector file. Yet I get a SecurityError: Error #2152 when I call stage.displayState = StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when I use the old fscommand method of going fullscreen. For projectors, shouldn't the mouseevent-click security requirement be waived in order to automatically go fullscreen? Why would it work with fscommand but not the official way, displayState? Anyone do this regularly who has a hint? Should I just be glad fscommand works? -jonathan -- 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 -- 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors
That's what I thought - projector runs, AIR requires installing. I don't want that possible barrier to use - why should I have to install something to run a CDROM??? Ian Thomas wrote: It can autorun off a CD-ROM, but not standalone - you can package your app with the AIR installer, but the AIR app (and your app) will install themselves on your user's computer. Ian On Tue, Feb 17, 2009 at 9:33 AM, Glen Pike g...@engineeredarts.co.uk wrote: Hi, I did not use AIR because I was doing a DVD / CDROM project and projector works out of the box. Without lots of reading and extra work, I could not have got AIR working and I am not sure it could autorun standalone off a CDROM. If it can, the documentation / marketing needs to be a bit more clear on this. Glen Nate Beck wrote: Just out of curiosity... Why are you deploying your application as a stand-alone projector when you could deploy it as an Adobe AIR application? On Mon, Feb 16, 2009 at 2:03 PM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, I don't think that updating the FP updates the IDE one normally - I have never worked out how to do this, even with Kewbee's Plugin Switcher. Not wishing to sound too cynical, but if everyone upgrades their FP so easily, then content creators will have to keep up and they are the one's who have to shell out for the Adobe products, so maybe that's the reason behind this -or maybe it's the rush to keep the IDE on a high calorie diet of new features rather than concentrating on keeping it trim and mean by fixing the important things that it might be nice to get fixed. I guess I am just bitter because I have not had a chance to play with CS4 yet :( Glen jonathan howe wrote: Well, it doesn't disprove my theory - that is the packaged version prior to the security patch. The version of projectors that my IDE now creates is 9.0.151.0 So, the mystery remains. Anyone with the unpatched version: Test your fullscreen projectors in Vista. Anyone with the patched version: Test your fullscreen (if it's called outside a button event and is invoked by stage.displayState) to make sure it actually works Mystery #2: why doesn't the Adobe Updater apply the patches to the Players/ directory if this is such an important security fix? -jonathan (Glen, I think I beat your test score by 0.0.106. Booyah.) On Mon, Feb 16, 2009 at 2:06 PM, Glen Pike postmas...@glenpike.co.uk wrote: My IDE published to 9.0.45.0 for that projector. HTH Glen jonathan howe wrote: Glen, thanks for the response. As an interesting (?) complication to this matter, I recently installed the new versions of the players to CS3 Professional IDE: http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659sliceId=2 Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN; command worked but full screen was completely black on Vista. After I updated, fullscreen wasn't black but the fullscreen didn't work anymore. Did adobe sneak in more stringent security? If so, why does my fscommand work? Glen, would you mind telling me what player version shows up when you export a projector from your IDE? -jonathan On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike postmas...@glenpike.co.uk wrote: Hi, I have no problem with this when publishing a projector from CS3: this.stage.displayState = StageDisplayState.FULL_SCREEN; The projector I created is just a shell that loads in another SWF containing the App. But I did run into problems with trying to make a non-projector SWF go full screen without using fscommand - (we were running flash player from the command line in Linux because we are compiling the SWF on Windows and it is virtually impossible to create a projector when you are running the system without a desktop manager.) I think keeping fingers crossed that fscommand does not get deprecated would be a good thing because there are cases where this would cause serious problems :) Glen jonathan howe wrote: Hello, According to docs Full-screen mode is always permitted in the stand-alone player or in a projector file. Yet I get a SecurityError: Error #2152 when I call stage.displayState = StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when I use the old fscommand method of going fullscreen. For projectors, shouldn't the mouseevent-click security requirement be waived in order to automatically go fullscreen? Why would it work with fscommand but not the official way, displayState? Anyone do this regularly who has a hint? Should I just be glad fscommand works? -jonathan -- 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
Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors
It can autorun off a CD-ROM, but not standalone - you can package your app with the AIR installer, but the AIR app (and your app) will install themselves on your user's computer. Ian On Tue, Feb 17, 2009 at 9:33 AM, Glen Pike g...@engineeredarts.co.uk wrote: Hi, I did not use AIR because I was doing a DVD / CDROM project and projector works out of the box. Without lots of reading and extra work, I could not have got AIR working and I am not sure it could autorun standalone off a CDROM. If it can, the documentation / marketing needs to be a bit more clear on this. Glen Nate Beck wrote: Just out of curiosity... Why are you deploying your application as a stand-alone projector when you could deploy it as an Adobe AIR application? On Mon, Feb 16, 2009 at 2:03 PM, Glen Pike postmas...@glenpike.co.ukwrote: Hi, I don't think that updating the FP updates the IDE one normally - I have never worked out how to do this, even with Kewbee's Plugin Switcher. Not wishing to sound too cynical, but if everyone upgrades their FP so easily, then content creators will have to keep up and they are the one's who have to shell out for the Adobe products, so maybe that's the reason behind this -or maybe it's the rush to keep the IDE on a high calorie diet of new features rather than concentrating on keeping it trim and mean by fixing the important things that it might be nice to get fixed. I guess I am just bitter because I have not had a chance to play with CS4 yet :( Glen jonathan howe wrote: Well, it doesn't disprove my theory - that is the packaged version prior to the security patch. The version of projectors that my IDE now creates is 9.0.151.0 So, the mystery remains. Anyone with the unpatched version: Test your fullscreen projectors in Vista. Anyone with the patched version: Test your fullscreen (if it's called outside a button event and is invoked by stage.displayState) to make sure it actually works Mystery #2: why doesn't the Adobe Updater apply the patches to the Players/ directory if this is such an important security fix? -jonathan (Glen, I think I beat your test score by 0.0.106. Booyah.) On Mon, Feb 16, 2009 at 2:06 PM, Glen Pike postmas...@glenpike.co.uk wrote: My IDE published to 9.0.45.0 for that projector. HTH Glen jonathan howe wrote: Glen, thanks for the response. As an interesting (?) complication to this matter, I recently installed the new versions of the players to CS3 Professional IDE: http://kb.adobe.com/selfservice/viewContent.do?externalId=b62ce659sliceId=2 Before I updated, the stage.displayState = StageDisplayState.FULL_SCREEN; command worked but full screen was completely black on Vista. After I updated, fullscreen wasn't black but the fullscreen didn't work anymore. Did adobe sneak in more stringent security? If so, why does my fscommand work? Glen, would you mind telling me what player version shows up when you export a projector from your IDE? -jonathan On Sun, Feb 15, 2009 at 6:43 PM, Glen Pike postmas...@glenpike.co.uk wrote: Hi, I have no problem with this when publishing a projector from CS3: this.stage.displayState = StageDisplayState.FULL_SCREEN; The projector I created is just a shell that loads in another SWF containing the App. But I did run into problems with trying to make a non-projector SWF go full screen without using fscommand - (we were running flash player from the command line in Linux because we are compiling the SWF on Windows and it is virtually impossible to create a projector when you are running the system without a desktop manager.) I think keeping fingers crossed that fscommand does not get deprecated would be a good thing because there are cases where this would cause serious problems :) Glen jonathan howe wrote: Hello, According to docs Full-screen mode is always permitted in the stand-alone player or in a projector file. Yet I get a SecurityError: Error #2152 when I call stage.displayState = StageDisplayState.FULL_SCREEN; from a projector. But I don't get it when I use the old fscommand method of going fullscreen. For projectors, shouldn't the mouseevent-click security requirement be waived in order to automatically go fullscreen? Why would it work with fscommand but not the official way, displayState? Anyone do this regularly who has a hint? Should I just be glad fscommand works? -jonathan -- 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 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors
Yup - makes sense to me. :-) Projectors are there for a reason. :-) Ian On Tue, Feb 17, 2009 at 9:47 AM, Glen Pike g...@engineeredarts.co.uk wrote: That's what I thought - projector runs, AIR requires installing. I don't want that possible barrier to use - why should I have to install something to run a CDROM??? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] LoadVars problem
Hi guys I'm having problems with a LoadVars object. I need to POST some variables to an external script and pass the result to an xml object so I'm using a LoadVars object with the LoadVars.sendAndLoad() method to send out the information and to recieve the response. The problem I'm having is that, when LoadVars constructs the POST variables, it automatically escapes all of the punctuation and spaces. This is not normally a problem (in fact, i'd say it was desired) but the 3rd party have asked that I send them the variables unescaped. this is my loadvars code (once the form has been verified): var _loadVars:LoadVars = new LoadVars(); _loadVars.user = itfName.text; _loadVars.title = itfReviewTitle.text; _loadVars.reviewtext = itfReview.text; _loadVars.rating = _nRatingChosen; _loadVars.recommend = mcTickBox.isTicked; _xmlResult = new XML(); _xmlResult.onLoad = Delegate.create(this, loadVarsOnLoad); _loadVars.sendAndLoad(_sSubmitUrl, _xmlResult, POST); the send POST string looks like this: recommend=falserating=2reviewtext=This%20is%20a%20test%2E%20Do%20not%20adjust%20your%20set%2E%0Dtitle=Flash%20Review%20Number%20user=Allandtsubmit=trueapiversion=2%2E1 and I'd like it to look like this recommend=falserating=2reviewtext=This is a test. Do not adjust your set.title=Flash Review Number user=Allandtsubmit=trueapiversion=2.1 is there any way i can turn off the urlencode for the variable or manually create the string to send (without it encoding) or will i have to write a javascript function to send the variables? thanks alz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Text Engine
Hi, Quick question about the new text engine in Flash 10... I am using the simple text engine rather than the full on text layout framework, but can anyone tell me how I set the alignment of a TextElement / TextBlock / TextLine??? Thanks.. Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Text Engine
Hello Glen, Assuming you have a TextFlow instance called 'myTextFlow), you can tweak the paragraphFormat property: var paragraphFormat = new ParagraphFormat(myTextFlow.paragraphFormat); paragraphFormat.textAlign = right; // left, center, justify, start, end (start/end is useful for RTL + LTR multi language applications) myTextFlow.paragraphFormat = paragraphFormat; myTextFlow.flowComposer.updateAllContainers(); This applies the new paragraphFormat.align property to your whole textFlow object (ie: all the text). hth, Cedric Hi, Quick question about the new text engine in Flash 10... I am using the simple text engine rather than the full on text layout framework, but can anyone tell me how I set the alignment of a TextElement / TextBlock / TextLine??? 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] Flash Text Engine
Hi, I am using the flash.text.engine classes not the flashx.textLayout ones. All I want to do is put some text into the equivalent of a button text field and have it aligned to the right if my text is in Arabic - I don't need all the extra Text Layout Framework stuff for this (hopefully). Glen Cedric Muller wrote: Hello Glen, Assuming you have a TextFlow instance called 'myTextFlow), you can tweak the paragraphFormat property: var paragraphFormat = new ParagraphFormat(myTextFlow.paragraphFormat); paragraphFormat.textAlign = right; // left, center, justify, start, end (start/end is useful for RTL + LTR multi language applications) myTextFlow.paragraphFormat = paragraphFormat; myTextFlow.flowComposer.updateAllContainers(); This applies the new paragraphFormat.align property to your whole textFlow object (ie: all the text). hth, Cedric Hi, Quick question about the new text engine in Flash 10... I am using the simple text engine rather than the full on text layout framework, but can anyone tell me how I set the alignment of a TextElement / TextBlock / TextLine??? 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Text Engine
oops, I misread your question, sorry. Regarding a TextLineFactory (ie: the simple text engine): a) you can directly pass the paragraphFormat attributes to the 'createTextLinesFromString' http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/factory/ TextLineFactory.html#createTextLinesFromString() b) you can pass the TextFlow instance if you create your text line from a textflow object (createTextLinesFromTextFlow) http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/factory/ TextLineFactory.html#createTextLinesFromTextFlow() - API docs: http://livedocs.adobe.com/labs/textlayout/ And I'd like to recommend you to read this white paper (pdf) http://download.macromedia.com/pub/labs/textlayout/ textlayout_flashcomponent_overview.pdf It *seems* hard to grab, but when you read it everything gets clearer. Btw, I need to read it again :) hth, Cedric Hello Glen, Assuming you have a TextFlow instance called 'myTextFlow), you can tweak the paragraphFormat property: var paragraphFormat = new ParagraphFormat(myTextFlow.paragraphFormat); paragraphFormat.textAlign = right; // left, center, justify, start, end (start/end is useful for RTL + LTR multi language applications) myTextFlow.paragraphFormat = paragraphFormat; myTextFlow.flowComposer.updateAllContainers(); This applies the new paragraphFormat.align property to your whole textFlow object (ie: all the text). hth, Cedric Hi, Quick question about the new text engine in Flash 10... I am using the simple text engine rather than the full on text layout framework, but can anyone tell me how I set the alignment of a TextElement / TextBlock / TextLine??? 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Text Engine
ok, ok, then I am totally offroads, once again :D sorry Glen :( oops, I misread your question, sorry. Regarding a TextLineFactory (ie: the simple text engine): a) you can directly pass the paragraphFormat attributes to the 'createTextLinesFromString' http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/ factory/TextLineFactory.html#createTextLinesFromString() b) you can pass the TextFlow instance if you create your text line from a textflow object (createTextLinesFromTextFlow) http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/ factory/TextLineFactory.html#createTextLinesFromTextFlow() - API docs: http://livedocs.adobe.com/labs/textlayout/ And I'd like to recommend you to read this white paper (pdf) http://download.macromedia.com/pub/labs/textlayout/ textlayout_flashcomponent_overview.pdf It *seems* hard to grab, but when you read it everything gets clearer. Btw, I need to read it again :) hth, Cedric Hello Glen, Assuming you have a TextFlow instance called 'myTextFlow), you can tweak the paragraphFormat property: var paragraphFormat = new ParagraphFormat (myTextFlow.paragraphFormat); paragraphFormat.textAlign = right; // left, center, justify, start, end (start/end is useful for RTL + LTR multi language applications) myTextFlow.paragraphFormat = paragraphFormat; myTextFlow.flowComposer.updateAllContainers(); This applies the new paragraphFormat.align property to your whole textFlow object (ie: all the text). hth, Cedric Hi, Quick question about the new text engine in Flash 10... I am using the simple text engine rather than the full on text layout framework, but can anyone tell me how I set the alignment of a TextElement / TextBlock / TextLine??? Thanks.. Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Frame-based tween solution
Hi, Does the TweenLite let you listen for timer events? You could implement your own counter and trigger your anims in a listener - crude, but hey... Glen Weyert de Boer wrote: Hello, I am currently working on a job where I need to convert a timeline-based animation to ActionScript only. The project is for Flash Lite 2.1 meaning ActionScript 2. I am currently using TweenLite for tween animations which seems to work fine. Only I am having a question regarding the timeline animation and how to get it converted to runtime tweens. As you might know TweenLite supports specifying a delay, the amount of time to wait, before the tween starts. The animation has a few fadeins of items in the following manner: Element 1: start Element 2 and 3: after 3 frames Element 4: after 6 frames (from start) Anyone know a good way to do this using some tween class? My first trials of using 1/30 * 3=0.09s as a delay wasn't successful. Thanks in advance. Yours, Weyert de Boer ___ 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] Frame-based tween solution
Hello, I am currently working on a job where I need to convert a timeline-based animation to ActionScript only. The project is for Flash Lite 2.1 meaning ActionScript 2. I am currently using TweenLite for tween animations which seems to work fine. Only I am having a question regarding the timeline animation and how to get it converted to runtime tweens. As you might know TweenLite supports specifying a delay, the amount of time to wait, before the tween starts. The animation has a few fadeins of items in the following manner: Element 1: start Element 2 and 3: after 3 frames Element 4: after 6 frames (from start) Anyone know a good way to do this using some tween class? My first trials of using 1/30 * 3=0.09s as a delay wasn't successful. Thanks in advance. Yours, Weyert de Boer ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Frame-based tween solution
- Original Message - From: Weyert de Boer w...@innerfuse.biz To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 17, 2009 1:12 PM Subject: [Flashcoders] Frame-based tween solution Hello, I am currently working on a job where I need to convert a timeline-based animation to ActionScript only. The project is for Flash Lite 2.1 meaning ActionScript 2. I am currently using TweenLite for tween animations which seems to work fine. Only I am having a question regarding the timeline animation and how to get it converted to runtime tweens. As you might know TweenLite supports specifying a delay, the amount of time to wait, before the tween starts. The animation has a few fadeins of items in the following manner: Element 1: start Element 2 and 3: after 3 frames Element 4: after 6 frames (from start) Anyone know a good way to do this using some tween class? My first trials of using 1/30 * 3=0.09s as a delay wasn't successful. That's a bit vague. In which way wasn't it successful? Presumably you're getting rid of the timeline animation to try and save a few K. Paul Thanks in advance. Yours, Weyert de Boer ___ 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] Frame-based tween solution
That's a bit vague. In which way wasn't it successful? Well, the problem is that I have a simple timeline animation Presumably you're getting rid of the timeline animation to try and save a few K. Mainly moving it to ActionScript to make it more dynamic to support more or less menu items in the animation/design instead of hard-coded elements. Now I could also make it all static and only update the text fields within the movieclip to support multilanguages. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Frame-based tween solution
- Original Message - From: Weyert de Boer w...@innerfuse.biz To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 17, 2009 1:50 PM Subject: Re: [Flashcoders] Frame-based tween solution That's a bit vague. In which way wasn't it successful? Well, the problem is that I have a simple timeline animation I still don't follow why there is a problem. If it's that the tweens don't start completely in sync, you could easily use enterframe to launch the tweens on specific frames. Considering your example is only a few frames long and very few objects, it would work very well. Paul Presumably you're getting rid of the timeline animation to try and save a few K. Mainly moving it to ActionScript to make it more dynamic to support more or less menu items in the animation/design instead of hard-coded elements. Now I could also make it all static and only update the text fields within the movieclip to support multilanguages. ___ 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] Re: LoadVars problem
hey all don't need an answer on this as the issue has resolved itself (and i suspect that the answer is that there is no answer) thanks anyway a Hi guys I'm having problems with a LoadVars object. I need to POST some variables to an external script and pass the result to an xml object so I'm using a LoadVars object with the LoadVars.sendAndLoad() method to send out the information and to recieve the response. The problem I'm having is that, when LoadVars constructs the POST variables, it automatically escapes all of the punctuation and spaces. This is not normally a problem (in fact, i'd say it was desired) but the 3rd party have asked that I send them the variables unescaped. var _loadVars:LoadVars = new LoadVars(); _loadVars.user = itfName.text; _loadVars.title = itfReviewTitle.text; _loadVars.reviewtext = itfReview.text; _loadVars.rating = _nRatingChosen; _loadVars.recommend = mcTickBox.isTicked; _xmlResult = new XML(); _xmlResult.onLoad = Delegate.create(this, loadVarsOnLoad); _loadVars.sendAndLoad(_sSubmitUrl, _xmlResult, POST); ... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Fullscreen mode w/ Windows Projectors
Ah, now it makes sense, I was just unable to figure out where you would use a projector in place of an AIR app now-a-days. But that makes total sense. On Tue, Feb 17, 2009 at 2:00 AM, Ian Thomas i...@eirias.net wrote: Yup - makes sense to me. :-) Projectors are there for a reason. :-) Ian On Tue, Feb 17, 2009 at 9:47 AM, Glen Pike g...@engineeredarts.co.uk wrote: That's what I thought - projector runs, AIR requires installing. I don't want that possible barrier to use - why should I have to install something to run a CDROM??? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cheers, Nate http://blog.natebeck.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] How to set a TextFormat to the label of a TileList component
Hi List, Can anyone help me how to set a TextFormat to the label of a TileList component? TIA Cor ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FDT SVN + Code Assist
In Flex Builder, you can go into the Flex Navigator window (the tree-layout project-contents window), select a directory (like .svn), right-click it, choose properties from the resulting menu, then check the box which says derived. Once you do that, I believe it will recognize that files in the directory and below are not source. I don't know for sure that this will solve your particular problem, but it works for me to keep unwanted stuff out of the Open Resource dialog (bound to C-x C-f with Emacs keybindings, I don't know how to get to it otherwise. :-) I expect it will keep that stuff out of autocomplete and other code hinting. Downside is that there's no way to give Flex Builder a pattern to apply across your whole project tree, you have to manually go through the tree and click it for each directory you want to mark. Dave On Sat, Feb 14, 2009 at 9:33 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Thanks for the reply - i have set the filter to ignore .svn files, however that does not seem to filter the folders from the code hinting... - karim On 14 Feb 2009, at 17:24, ekameleon wrote: Hello :) in eclipse in the FlashExplorer panel in the top right menu of the panel you must choose the item filters and select the .svn files. PS : you use Subclipse ? for me the best solution in eclipse to work with SVN EKA + :) 2009/2/14 Karim Beyrouti ka...@kurst.co.uk Hello All, I am using eclipse SVN with FDT - and for the most part it really works a treat. However, I am getting all the SVN paths appearing in my code hinting. Do you know a way to get code assist to ignore svn paths? Regards Karim ___ 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] RE: How to set a TextFormat to the label of a TileList
1. TileList uses the ImageCell cellrenderer so. 2. Grab a copy of this from the component source and rename the file, the class, and constructor function to something like TileCell. 3. Remove the fl.controls.listClasses from the package name and place it in your project source. 4. Add import flash.text.TextFormat; to your import statements in the TileCell.as file. 5. Create a variable in the file. Ie. protected var myTextFormat:TextFormat; 6. In the constructor instantiate the new format ie. myTextFormat=new TextFormat(); myTextFormat.font=Univers 55; myTextFormat.color=0xff; etcetera. 7. Go to the listData setter function and at the beginning add setStyle(textFormat, myTextFormat); 8. Finally on your tileList change the cellRenderer ie. myTileList.setStyle(cellRenderer, TileCell); 9. Enjoy! cheers, Craig Bowman ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: How to set a TextFormat to the label of a TileList
Stop email in me please On Feb 17, 2009 12:27 PM, Craig Bowman bowm...@shaw.ca wrote: 1. TileList uses the ImageCell cellrenderer so. 2. Grab a copy of this from the component source and rename the file, the class, and constructor function to something like TileCell. 3. Remove the fl.controls.listClasses from the package name and place it in your project source. 4. Add import flash.text.TextFormat; to your import statements in the TileCell.as file. 5. Create a variable in the file. Ie. protected var myTextFormat:TextFormat; 6. In the constructor instantiate the new format ie. myTextFormat=new TextFormat(); myTextFormat.font=Univers 55; myTextFormat.color=0xff; etcetera. 7. Go to the listData setter function and at the beginning add setStyle(textFormat, myTextFormat); 8. Finally on your tileList change the cellRenderer ie. myTileList.setStyle(cellRenderer, TileCell); 9. Enjoy! cheers, Craig Bowman ___ 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] RE: How to set a TextFormat to the label of a TileList
Bernice - visit http://chattyfig.figleaf.com/mailman/listinfo/flashcoders If you want to unsubscribe... bernice guerrero wrote: Stop email in me please On Feb 17, 2009 12:27 PM, Craig Bowman bowm...@shaw.ca wrote: 1. TileList uses the ImageCell cellrenderer so. 2. Grab a copy of this from the component source and rename the file, the class, and constructor function to something like TileCell. 3. Remove the fl.controls.listClasses from the package name and place it in your project source. 4. Add import flash.text.TextFormat; to your import statements in the TileCell.as file. 5. Create a variable in the file. Ie. protected var myTextFormat:TextFormat; 6. In the constructor instantiate the new format ie. myTextFormat=new TextFormat(); myTextFormat.font=Univers 55; myTextFormat.color=0xff; etcetera. 7. Go to the listData setter function and at the beginning add setStyle(textFormat, myTextFormat); 8. Finally on your tileList change the cellRenderer ie. myTileList.setStyle(cellRenderer, TileCell); 9. Enjoy! cheers, Craig Bowman ___ 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 -- 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
Re: [Flashcoders] flash exe files proxy ports.
the crossdomain.xml missing was the problem. after we uploaded it worked like a charm, *THANK YOU* - Original Message - From: Glen Pike g...@engineeredarts.co.uk To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 11, 2009 12:25 PM Subject: Re: [Flashcoders] flash exe files proxy ports. Hi, We have a linux equivalent of a Flash exe requesting files from http://127.0.0.1 which does not work without the crossdomain file, so I am guessing it may apply. This just says what is allowed to load content from your server. You may still have to publish the Flash exe with Access Network Only for the Local Playback Security settings - this will allow that Flash SWF to request things from the webserver. It's 2 things really, except you cannot use the crossdomain file to restrict access to only allow your desktop application unless you have a fixed IP address(es) Glen Rodrigo Augusto Guerra wrote: hi, thanks for the reply. Today I don't have this file in my root domain, but I can put it.allowing all connections like: ?xml version=”1.0″? cross-domain-policy allow-access-from domain=”*” / /cross-domain-policy my doubt is does this crossdomain apply when the content is beeing loaded by an flash exe from your desktop or only when you have flashes in different domains but both uploaded in a server? - Original Message - From: Glen Pike g...@engineeredarts.co.uk To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 11, 2009 11:01 AM Subject: Re: [Flashcoders] flash exe files proxy ports. Hi, The IDE usually does not place the restriction on you - it's just when you publish that you may get sandboxed. Also, make sure that you have a crossdomain.xml in the root of your webserver - google crossdomain.xml for examples or look in the IDE help for this. Glen Rodrigo Augusto Guerra wrote: hi glen, Unfortunately, I can't confirm which is the settings now (i don't have the fla here). when running from the flash IDE I can access everything, does this means that it is network access? if I put in local settings would I be able to access the content from flash IDE ? if not my settings is 'network access'. rodrigo. - Original Message - From: Glen Pike g...@engineeredarts.co.uk To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 11, 2009 9:34 AM Subject: Re: [Flashcoders] flash exe files proxy ports. Hi, I think you may have a problem with Local access vs Network access - check your publish settings. Glen Rodrigo Augusto Guerra wrote: Hi all, I'm having problems with an flash I did and exported to EXE. The exe is executed locally and loads some content (images, xml, swf) from specific sites let' s say http://www.foo.com/a.swf http://www.foo.com/a.jpg http://www.foo.com/folder1/a.xml the problem is that the communication is bloked at the proxy. As far as I know when you execute a flash exe flie some of the sandbox security dosen't apply, since you are clicking on an exe file and should know the risks of doing that. I need to know if the content is loaded thru port 80, or 8080 (an internet common port not blocked by proxies by default), or if it uses som less comom port (which?) thanks, rodrigo. ___ 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] Javascript Flash resizing
Have you guys had experience with dynamic resizing of the flash via Javascript in order to use the browser scrollbar to scroll, eg with http://swffit.millermedeiros.com/ or something similar? any recommendations? thx, .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RTL...
please update if it worked, I can test reading Arabic if you want :) On Tue, Feb 17, 2009 at 12:20 AM, Glen Pike postmas...@glenpike.co.ukwrote: Hmm, Need to mull that one over a bit and get my head around the logic... - need to test tomorrow, cheers. Glen Weyert de Boer wrote: I normally put the textfield in the movieclip and then flip this movieclip with like _xscale=-100. Easiest solution and people who are able to read Arabic say it's correct. ___ 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] AS3 NetStream onPlayStatus and IOError
Hi there, Just doing some tests loading flv dynamically and there's something I don't quite get. From the reference: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#play() If the video file can't be found, the netStatus event is dispatched Indeed the onPlayEvent gets called with NetStream.Play.StreamNotFound, but then when and why is the IOError dispatched? Now, from that very same method, a little bit later when talking about the parameters: The location of the video file to play, as a URLRequest object or a string But when I try to use an URLRequest object instead of a string, nothing works. And I was trying to use the URLRequest instead of a simple string just to test if I could get the IOError dispatched. BTW, the first comment on that page seems to be getting the same problem with the URLRequest as I get. Tests seem to be consistent in IE and FF, running from the local system or from a server. Cheers, Juan -- Juan Delgado - Zárate http://zarate.tv http://blog.zarate.tv ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Javascript Flash resizing
Javascript and flash can do some interesting things together. I built a flash gallery that would load up images and depending on how much space it needed, resize the div the flash was sitting in so browser scroll-bars came into effect if necessary. Then, when a certain image is displayed large, scrolling in the browser would move the large image inside the flash so it's always centred within the browser window. Here's my javascript, the flash should be simple to work out: script type=text/javascript if (window.addEventListener) { window.addEventListener('scroll',scrollingDetector,false); window.addEventListener('resize',resizeDetector,false); } else if (document.addEventListener) { document.addEventListener('scroll',scrollingDetector,false); document.addEventListener('resize',resizeDetector,false); } function scrollingDetector() { var scrollY; if (navigator.appName == Microsoft Internet Explorer) { scrollY = document.body.scrollTop; } else { scrollY = window.pageYOffset; } getFlashMovie(excl).setScrollY(scrollY); } function resizeDetector() { var height; if (navigator.appName == Microsoft Internet Explorer) { height = documentbody.offsetHeight; } else { height = window.innerHeight; } getFlashMovie(excl).setHeight(height); } function runFirst() { scrollingDetector(); resizeDetector(); } function getFlashMovie(movieName) { var isIE = navigator.appName.indexOf(Microsoft) != -1; return (isIE) ? window[movieName] : document[movieName]; } function setFlashHeight(newH) { gid = document.getElementById(flashHolder); //gid.style.width = 965px; gid.style.height = newH +px; } /script 2009/2/18 Matt S. mattsp...@gmail.com Have you guys had experience with dynamic resizing of the flash via Javascript in order to use the browser scrollbar to scroll, eg with http://swffit.millermedeiros.com/ or something similar? any recommendations? thx, .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- The Random Lines My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders