[Flashcoders] FLV issues on Mac PC

2007-08-07 Thread Holth, Daniel C.
Hello, We're creating a training CD-Rom that uses multiple swfs and FLVs. One of the requirements is that the CD-Rom work both on a Mac and PC. We're having some difficulties getting the FLVs to play on the Mac. The problem seems to stem from differences in how the Mac (Safari?) pull FLVs.

RE: [Flashcoders] [Solved] getURL with doc doesn't work in IE

2007-07-26 Thread Holth, Daniel C.
Removed _blank from the getURL and its working now. Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: Thursday, July 26, 2007 6:18 AM To: flashcoders@chattyfig.figleaf.com Subject

[Flashcoders] getURL with doc doesn't work in IE

2007-07-26 Thread Holth, Daniel C.
Hello, I have the following code in an onRelease event of a button: getURL(systems_breakdown_notes.doc,_blank); In FireFox the document opens fine, but in IE it gives a page error: Action canceled : Internet Explorer was unable to link to the Web page you requested. The page might be

RE: [Flashcoders] Drawing API

2007-07-25 Thread Holth, Daniel C.
They don't give code, but you may want to check out: http://www.adobe.com/designcenter/gallery/swf/index.html#u_sContent=odop od Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent:

RE: [Flashcoders] ComboBoxV2 Preloader problem

2007-07-24 Thread Holth, Daniel C.
Perfect! Solved my problem! Thanks. Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Tuesday, July 24, 2007 4:02 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders]

RE: [Flashcoders] How to determine when an externally loaded swf hasended playing.

2007-07-24 Thread Holth, Daniel C.
Are these timeline based swfs, or single frame, or movieclips within movieclips? Or won't you know? You could create an onEnterFrame event that continually checks the swf's _currentframe compared to _totalframes. When they are equal, it has reached the end. If it's a single frame or

[Flashcoders] ComboBoxV2 Preloader problem

2007-07-23 Thread Holth, Daniel C.
Hello, We have a main_preloader.swf that loads our main_app.swf. The main_app.swf has a ComboBox V2 component. When main_app.swf is run by itself, it works beautifully, but when its loaded into the main_preloader.swf the ComboBox is broken. It highlights when clicked, but won't open or do

RE: [Flashcoders] least to greatest

2007-07-06 Thread Holth, Daniel C.
The array class in Flash has a sort numeric (least to greatest) feature: var myArray:Array = new Array(); myArray.push(5); myArray.push(1); myArray.push(65); myArray.push(3); myArray.push(56); myArray.push(9); myArray.push(-2); myArray.push(44); myArray.push(7); myArray.push(8);

RE: [Flashcoders] scrollpane woes

2007-07-02 Thread Holth, Daniel C.
This seems to be working fine for me, unless I'm missing something... I copied your code into its own layer on frame one. I then dropped the ScrollPane component into my library. Created a new MovieClip, exported it for ActionScript and gave it an identifier of mcEventText. When I run the swf,

RE: [Flashcoders] AS3.0 and C++

2007-06-04 Thread Holth, Daniel C.
You may want to explore Apollo. It allows for RIAs to be developed for the desktop. http://labs.adobe.com/technologies/apollo/ Another option would be asking around on flexcoders. http://tech.groups.yahoo.com/group/flexcoders/ ~D.C. Holth -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Q:Dynamically change blend mode

2007-05-23 Thread Holth, Daniel C.
movieClip.blendMode = [mode] blendMode (MovieClip.blendMode property) http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp .htm?context=LiveDocs_Partsfile=2444.html Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] splitting the list?

2007-05-16 Thread Holth, Daniel C.
This topic, or at least one very similar, was just brought up earlier this week. See subject: [Flashcoders] Motion to combine coders and newbies. I personally think many of the questions being posted here probably belong in FlashNewbies, and not enough people know about that list. I know I'm

RE: [Flashcoders] AS3 KeyboardEvent Oddity [cross-post alert]

2007-05-15 Thread Holth, Daniel C.
Just curious, what operating system are you on? WASD are so often used as 'direction' keys, I'm wondering if there could be something in the accessibility options of the OS that is making it react this way... Just a thought. Daniel Holth I.S. Programmer x5217 || J401 -Original

RE: [Flashcoders] Motion to combine coders and newbies.

2007-05-14 Thread Holth, Daniel C.
I wasn't even aware of Flash Newbies before finding FlashCoders. I'm sure I posted a few questions here that were better suited for Flash Newbies. I think it's a publicity problem more than anything - when I did a Google search to find flash help, I don't think I ever got an archived version of

[Flashcoders] Animating Character Movement

2007-05-04 Thread Holth, Daniel C.
Hello, I'm working on an project where the user uses the arrows keys to move a guy in a kayak left and right across the screen. I have 6 total animations set up: Paddling Left, Idle Facing Left, Turning Left to Right, Paddling Right, Idle Facing Right, and Turning Right To Left. I've never

RE: [Flashcoders] Blue effect via scripting

2007-05-03 Thread Holth, Daniel C.
Xian, I'm assuming you want to tint a movie clip to blue or cause a blue glow? You could try my EasyTween class which supports filters and color tinting. http://blog.dcholth.com/?p=23 Or Jack Doyle has also posted his TweenFilterLite class to the list as well.

RE: [Flashcoders] Blur effect via action scripting

2007-05-03 Thread Holth, Daniel C.
Xian, Both of these classes support blurring. My EasyTween class: http://blog.dcholth.com/?p=23 Or Jack Doyle's TweenFilterLite: http://www.greensock.com/ActionScript/TweenFilterLite Hope that helps! ~DC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [Flashcoders] browser security aggrevations (rant alert)

2007-04-24 Thread Holth, Daniel C.
Andreas, Are you testing on a webserver or locally? I rarely get errors from using ExternalInterface or getURL calls when testing online... Flash security is horrible to work with locally (hard-drive, CD-ROM, etc) and it can be a real nuisance to have to always upload your files to the

RE: [Flashcoders] Flash Simulation freezing Problem

2007-04-23 Thread Holth, Daniel C.
Ritesh, Its difficult to debug without any code samples. If you can provide some, it may help. From my understanding there are multiple buttons in the shell, and ALL of them cause the application to freeze when clicked. Is this correct? If it is a specific button, what is it supposed to do?

RE: [Flashcoders] Little OT - USB drive autorun?

2007-04-13 Thread Holth, Daniel C.
Despite the fact I haven't been entirely happy with software, I was going to suggest using AutoRun Typhoon III, but it doesn't look like it would necessarily solve your problem. Does AutoRun work with USB drives? http://www.typhoonsoftware.com/forum/topic.asp?TOPIC_ID=17 Basically it says you

RE: [Flashcoders] Flash and needed computer specs

2007-04-10 Thread Holth, Daniel C.
I use a PC here at work and a Mac at home. I'm very partial to Macs, although I'd have to recommend you wait until Flash CS3 is released. Despite my love of Macs, I'll admit that I find working in Flash almost painfully slow on my Intel Mac because its still running in Rosetta. (Running Flex

RE: [Flashcoders] basic flash games development issues

2007-04-09 Thread Holth, Daniel C.
We've built some applications for CD, and have run into 'security sandbox' issues. They were very frustrating. The DVD will be considered 'local content', and you can read about the issues here: http://www.adobe.com/products/flashplayer/articles/localcontent/ When you begin testing your

RE: [Flashcoders] basic flash games development issues

2007-04-09 Thread Holth, Daniel C.
://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html Read the FlashPlayerTrust configuration files part. regards, Muzak - Original Message - From: Holth, Daniel C. [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 09, 2007 3:17 PM Subject: RE: [Flashcoders

RE: [Flashcoders] re: createTextField

2007-04-06 Thread Holth, Daniel C.
TextFields don't have onRollOver events, but MovieClips do. So you'll need to first create a MovieClip (like in your first question) and then create the textField in it. Heres some example code: var myMovieClip:MovieClip = this.createEmptyMovieClip(myMovieClip_mc, this.getNextHighestDepth());

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Holth, Daniel C.
If you check the Preferences in Flash 8, there is a 'Warnings' section and you can turn on Warn on save for Macromedia Flash MX 2004 compatibility Is that what your looking for? -DC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ChrisRM Sent: Monday,

RE: [Flashcoders] Flash controling Z with div layers

2007-03-28 Thread Holth, Daniel C.
Just FYI, be careful when messing with Flash's wmode. My understanding is that if you switch it from its default, the Flash Player no longer does the rendering, and is instead done by the browser. This can lead to some unpredictable results and performance on various browsers and operating

RE: [Flashcoders] Tile a vector Graphic symbol across stagehorizontally?

2007-03-24 Thread Holth, Daniel C.
This may not be the best solution, but it'll get the job done: // originalTile is a MovieClip on your stage you want to tile. // Reference the stage var r = this; // Number of tiles so far var i:Number = 0; // So while they are still on the stage while(i * originalTile_mc._width

RE: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Holth, Daniel C.
Regarding the test, I think it would be more useful to have people specify whether or not they are on an Intel or an original Mac. I have definitely noticed performance improvements since upgrading to my Intel, but I'm not sure if its only because of the faster processor, if the Flash Player

RE: [Flashcoders] ColorMatrix

2007-02-28 Thread Holth, Daniel C.
Hi Misa, My EasyTween class has functionality to tween color tints the way you're wanting. A description of use is found here: http://blog.dcholth.com/2007/02/23/easytween-explained/ And you can download the EasyTween.as file here: http://blog.dcholth.com/downloads/ The only problem with

RE: [Flashcoders] Subscription problems

2007-02-28 Thread Holth, Daniel C.
As a temporary solution, why don't you just set up a rule/filter/smart folder that moves anything with the word [Flashcoders] in the subject line directly into the trash or another folder? -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chanda

RE: [Flashcoders] Skewing MovieClip??

2007-02-28 Thread Holth, Daniel C.
As far as I can figure, skewing isn't available in flash right now... Adjusting the yScale will change the dimensions of a movieclip, for example (Hope my ASCII drawings work!) ___ | | |___| Becomes _ | | |_| When you reduce the _yScale. Skewing horizontally would be adjusting the x

RE: [Flashcoders] MovieClipLoader woes

2007-02-27 Thread Holth, Daniel C.
Have you tried listening for the onLoadError event in the MCL class to see if any errors are output? Also, is it that specific swf, or does it not load the third swf every time, regardless of the swf? (does order matter?) -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders]problem with embeded fonts

2007-02-19 Thread Holth, Daniel C.
Are you using bold or italic text? Using bold and italics with embedded font can make the text not visible if it changes. I believe it can be done, but I haven't spent the time researching it... Just been easier to not use bold. -Dan -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Holth, Daniel C.
Here is your code modified to use the EventDispatcher: import mx.events.EventDispatcher; // import the event dispatcher class com.boa.projects.iqrcgenerator.components.AdminData{ public var addEventListener:Function; // Set the functions public var removeEventListener:Function;

RE: [Flashcoders] (no subject)

2007-02-16 Thread Holth, Daniel C.
You need to keep track of the previous x value and compare that to the new x value. The simplest way to achieve this is an onEnterFrame function (although note this is the least efficient way). For example try putting a movie clip called ball_mc on your stage and add this code to the first

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Holth, Daniel C.
:[EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: Friday, February 16, 2007 10:36 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Events for custom classes? Here is your code modified to use the EventDispatcher: import mx.events.EventDispatcher; // import the event dispatcher class

RE: [Flashcoders] AS2 Question

2007-02-15 Thread Holth, Daniel C.
Where you declare a variable will determine the scope of the variable, that is, how long that variable stays in memory for use and from where it can be accessed. In your first class, the variables declared above the function can be accessed in other parts of the class. In your second class the

[Flashcoders] Coding Standards: Use of Get/Set

2007-02-13 Thread Holth, Daniel C.
I was wondering what people's thoughts were on the use of get and set functions. I personally have felt that creating functions such as: public function get theLetterA(){ return a; } so the user can simply call someObject.theLetterA are confusing because the user doesn't know if they

[Flashcoders] Detecting Rollover w/o onRollOver

2007-02-06 Thread Holth, Daniel C.
It seems like in many of the projects I'm doing I need to have simultaneous onRollOver events. For example, a small movie clip with additional buttons needs to enlarge when the mouse is over it so the user can clearly click the buttons. However, when the user mouses over a button, flash no

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-31 Thread Holth, Daniel C.
I've actually been reading through Head First Design Patterns, and think it's a great book! It uses a lot of example code but they are well thought out and clearly demonstrate the uses of the patterns. Granted, many of their examples are doing ridiculous things like simulating the actions of

RE: [Flashcoders] Q:Converting colored artwork to flash vector

2007-01-23 Thread Holth, Daniel C.
If you have Adobe Creative Suite CS2, you could set up an automation script in Illustrator to convert them all using LiveTrace and exporting them as a SWF. If you only have flash, there might be a way to write a JSFL script that will convert them automatically. May not be any faster, but at

[Flashcoders] Getting Frames Per Second

2007-01-23 Thread Holth, Daniel C.
So I feel like this should be obvious, but is there built in functionality in Flash 8 to get the FPS of the currently running SWF? If there isn't, does anyone have some code snippets that do it? I tried setting intervals to check how many frames have passsed since the last check, but that

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Holth, Daniel C.
The post below about converting graphics to vectors got me thinking and I wanted to see how using bitmap cache, vectors, filters, images, etc effected the frame rate. I can obviously see when the frame rate slows down, but it'd be nice to have some actual numbers with it. I'd also like to

RE: [Flashcoders] Running Flash Application on a local network

2007-01-22 Thread Holth, Daniel C.
If the application is running locally, are the XML files still pulled from external websites? Is it only the XML that isn't loading? If so, how are you loading the XML? ~Daniel Holth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of vipin chandran

RE: [Flashcoders] advantages of EventDispatcher over AsBroadcaster

2007-01-19 Thread Holth, Daniel C.
After your post I spent most of this morning researching and debating converting a lot of my code to use the EventDispatcher instead of broadcastMessage. I like a lot of what it has to offer, but have a question... I have a function in one class that displays how many more movieclips the user

RE: [Flashcoders] advantages of EventDispatcher over AsBroadcaster

2007-01-19 Thread Holth, Daniel C.
, Daniel C. [EMAIL PROTECTED] wrote: After your post I spent most of this morning researching and debating converting a lot of my code to use the EventDispatcher instead of broadcastMessage. I like a lot of what it has to offer, but have a question... I have a function in one class

RE: [Flashcoders] Procedure for Reporting/Confirming Flash bugstoAdobe?

2006-12-19 Thread Holth, Daniel C.
Maybe I'm missing something, but I don't see any of the newly acquired Macromedia products listed in the bug report. The bug I would like to report is this: If I create a SWF file with any dimensions smaller than 214x214 the 'Settings' option is disabled when I open the right-click

RE: [Flashcoders] AS2 OOP Class Structure for simple pong type game

2006-12-13 Thread Holth, Daniel C.
I would make the ball responsible for checking if it collides with the paddle because the ball's behavior/state will change - not the paddle's, nor does the state of the 'game' really change. An alternative would be to create a CollissionControler.as that does all your hit testing for you.

RE: [Flashcoders] AS2 OOP Class Structure for simple pong type game

2006-12-13 Thread Holth, Daniel C.
vBall_Object = new Ball(mcReference, ball_mc, 100, 160, 240, mcPaddle); Thanks Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: 13 December 2006 14:14 To: Flashcoders mailing list Subject: RE: [Flashcoders] AS2 OOP Class

RE: [Flashcoders] AS2 OOP Class Structure for simple pong type game

2006-12-13 Thread Holth, Daniel C.
each test for collsion. This might be a performance improvement over testing every object in the system all the time. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: Wednesday, December 13, 2006 9

RE: [Flashcoders] AS2 OOP Class Structure for simple pong type game

2006-12-13 Thread Holth, Daniel C.
][numTileRow] == 1) { // Destroy Brick } Hopefully this makes sense. I have just written this code off the top of my head so haven't implemented it in the game yet -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: 13

RE: [Flashcoders] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Holth, Daniel C.
Mike, I've used the built in scrollPane and UIScrollBars a few times, but found fairly easy to use, but exceedingly complicated to customize. If you don't mind the default look of the ScrollPane I'd suggest using. Though bare in mind they can add considerable file size to your swf. I'd

[Flashcoders] Detect Security Settings

2006-12-05 Thread Holth, Daniel C.
Is there a way to detect a user's global security settings? As in, if they have 'Always Allow' or 'Always Ask' checked. Is there a way to change these settings without being connected to the internet? We are developing an application that runs off a CD and our users are getting errors that

RE: [Flashcoders] Book: Flash 8 reference?

2006-12-04 Thread Holth, Daniel C.
The single best book I've gotten has been The Flash 8 Actionscript Bible by Lott and Reinhardt. -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Micky Hulse Sent: Monday, December 04, 2006 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders]

[Flashcoders] Open PDF in Acrobat

2006-11-29 Thread Holth, Daniel C.
We are developing an application that opens a series of PDF files that are to be used for presentations. When the PDFs are opened in Acrobat there is functionality to display as full screen, but when opened in a browser this is disabled. We cannot seem to get an URL to the files to work

RE: [Flashcoders] Run init function of MCL loaded Clip

2006-11-17 Thread Holth, Daniel C.
How would you recommend I pass it the variable then? I'd prefer not to have to hard code a path from the loaded swf to 'r' and would prefer not to have to change all the loaded swfs to go find 'r' since many of them have been compiled. Also, isn't the code __mclListener.onLoadInit =

[Flashcoders] Run init function of MCL loaded Clip

2006-11-16 Thread Holth, Daniel C.
I have an object that uses a movieclip loader to load a swf into a holder movieclip on the stage. The mcl code in the loading object looks like this: __mclListener = new Object(); __mcl = new MovieClipLoader(); var r = this; __mclListener.onLoadStart = function(target_mc:MovieClip) {

RE: [Flashcoders] Gradients (not a coding question)

2006-11-15 Thread Holth, Daniel C.
I'm not familiar with Illustrator's Make Compound Object feature, but you could try bringing the text in as an image, doing a very high quality 'trace bitmap' then filling the new vector graphic with a gradient. -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] Is it possible to expand work area in flash?

2006-11-13 Thread Holth, Daniel C.
André, You can drag the various parts of the Flash application to all different sizes and locations, as well as move menus and coding areas around too. If you want to see more of your stage you can zoom in and out with the magnifying tool, or minimize windows you aren't using. Otherwise if

RE: [Flashcoders] new inquiry - pulsating drop shadows in mac os

2006-11-13 Thread Holth, Daniel C.
Hi Cathrine, I have never noticed this on my Mac. Are you on an Intel Mac? Flash player 9 now runs natively on Intel Macs, but previous versions of the player do not. I'm wondering if it is a performance issue with Rosetta. I'm not on my Mac now, but will play around with a bit when I get

[Flashcoders] List Component - Custom Display Settings

2006-11-10 Thread Holth, Daniel C.
Hello, I'm developing an application that simulations an e-mail application, similar to Outlook. I'd like to use the List Component to hold all the e-mails and have unread e-mails bold, e-mails that need follow up in red, and completed e-mails as plain text. I have been reading through some

[Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Holth, Daniel C.
Hello, We are building Flash application that will be run off a CD and would like to have a button that closes the browser the Flash application is running in. We keep getting security errors that 'main.swf' is trying to communicate with 'index.html'. I know that I can personally set these