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.
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
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
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:
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]
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
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
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);
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,
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]
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]
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
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
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
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
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.
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
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
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?
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
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
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
://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
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());
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,
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
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
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
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
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
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
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
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]
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;
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
:[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
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
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
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
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
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
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
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
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
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
, 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
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
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.
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
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
][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
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
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
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]
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
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 =
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) {
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
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
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
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
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
62 matches
Mail list logo