Hi Martin!
I tried and nothing new ... (spent the whole evening trying to
understand)
actually, all of these are on the same domain, so NO security
restriction should arise ...
then this works when published to flash player 6 format,
hence meaning this is some funky 7 and/or 8 constraints
Hi Bruno,
import mycustompackage.MyCustomClass;
var myCustomMC:MyCustomClass = MyCustomClass ( this.attachMovieClip (
customMCSymbol, myCustomMC, depth, initObj) );
or you may use JViewCreator - http://www.j3r.com/
___
Flashcoders mailing list
Thanks a lot for all your answers, Martin, Grant and Campbell,
So I got a additional step: I have a domain problem now...
the response.setHeader didn't change anything at the beginning, but may
help to go further. the proxy, we tried to build one yesterday, but not
enough time...so thanks for
can anyone tell me.How to use DispatchEvent in AS2.0 class.
Iike to to dispath an event from one class to another class which will have
addEventListener to handle the event.
Can anyone give a small example and explanation.
Regards.
S.Hidayath
___
Static text published for Flash Player 8 does not appear on Flash
Player 7(Flash TechNote)
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=144b4be2
_
Howard Nager wrote:
Are you trying to publish a somewhat backwards compatible flash movie? All the bells and whistles when viewed
Look at Grant Skinner article on using EventDispatcher:
http://www.gskinner.com/blog/archives/23.html
Basically you can use EventDispatcher in three ways.
Here are a simple example:
// create an Action instance
var action:Action = new Action();
// create the listeners
var
Hello elibol,
Perhaps, you could use scaling BitmapData instance to the size of 1
pixel. The color of that pixel should be the mean color value of all
pixels in scaled BitmapData instance.
I would like to ask if anyone already have some sort method that
calculates which colour in a rectangle
Oh yes and it is actually a bit har d to tell you where exactly things may fall
apart:)
1. make sure that the crossdomain file responds on both http and https. Makes
sure that the secure attribute is set to false
allow-access-from domain=domainA secure=false /
2. If you have a swf on http
You did try without the ' around always...should have been:
param name=allowScriptAccess value=allways
You probably already noticed that :)
That would be my guess but your right in your assumptions though.
What about creating a basic sample does that work for you?
How are you loading swfB into
Yes I already corrected around always (allways) ;)
I am loading using an absolute path (http://www.mydomain/anyDir/
myLoadedFile.swf)
and of course, no https ... so this is something very percise, but I
cannot seem to get the concept...sigh
my resolution for today: as I lost 1/2 day
Hello coders,
FlashDevelop is an opensource lighweight smart Flash development
environment (AS, XML, HTML/PHP, CSS, JS), created by Flash coders to
be easily used with your Flash IDE or as a seemlessly integrated
MTASC+SWFMILL solution.
The team is proud to announce the new beta8 release, with
Thanks a lot, Martin!
I don't call a swf from antoher, I will have a project on a http:1024
server and will call webservices on another server, on https:8443. The
next version will have a Flash Media Server between the 2 others.
We've finally found the problem !! it works now but there's still
Because changing protocol, port or server makes flash thinks its crossing
domains :)
So you still have a crossdomain issue and need to be aware of possible
inSecuredomain issues!
1.Go back and try http to http on different servers! If it works crossdomain
issues should be ok
2. If step 1
Ok, thank you very much Martin Baltzer
We will have first to connect the application to the webservices as ths
ws calls run, and after this we'll try your method.
I just didn't understand why you set the allow-access-from tag to
false? it concerns the caller? Will this false value allow the
Yes exactly
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand
Sendt: 12. januar 2006 14:25
Til: Flashcoders mailing list
Emne: Re: SV: SV: SV: [Flashcoders] certificate
Ok, thank you very much Martin Baltzer
We will have first to connect the
Hi,
I wonder what is the best way to capture a key-is-up event if several
keys are pressed at once. For example if I press and hold left then
press spacebar and release it onKeyUp won't fire till I release left key
Thanks in advance!
16:31, 12.01.2006
--
Michael Antares Klishin,
Email:
Rajat Paharia [EMAIL PROTECTED] wrote:
I use this function (think I got it from Darron Schall's blog) to do a
deep
copy. I had the same experience as Jesse with mx.utils.ObjectCopy not
working correctly...
ok ... and ?
either the mx.utils.ObjectCopy or the function you pasted CopyObject
have
Superb!
I thank all of you for your help!
Martin Baltzer a écrit :
Yes exactly
-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand
Sendt: 12. januar 2006 14:25
Til: Flashcoders mailing list
Emne: Re: SV: SV: SV: [Flashcoders] certificate
Thanks for info and new release Phillipe.
It's really great develop IDE.
The only thing I miss comparing to PrimalScript (that I've been using before
I've got known FlashDevelop ) is creating project from existing directory.
Oleg.
On 1/12/06, Philippe [EMAIL PROTECTED] wrote:
Hello coders,
yeah its a sollution, but a baaad habit to get into.
On 1/11/06, Andreas Weber [EMAIL PROTECTED] wrote:
Thanks Derek - that's it!
Not typing the dataprovider as XML allows to publish for Player 7:
import mx.controls.Tree;
class Test{
function Test(){
// Published
The only thing I miss comparing to PrimalScript (that I've been using before
I've got known FlashDevelop ) is creating project from existing directory.
It is actually possible to do that:
just create an empty project in an existing directory.
___
Question #1:
I'd like to set some kind of priority for content, sound etc. so
if, say, there's a need to download important content, less
important content won't start loading?
Note: I know about queues, but need smth different.
Question #2:
Is there a way to stop
I am having a problem with adding a text field to an attached movieClip
through a class construct using composition.
For example:
class Tab {
public var label_txt:TextField;
public var tab_fmt:TextFormat;
public function Tab(name:String, target:MovieClip, depth:Number,
x:Number,
One issue I had with internet exploder was the first time I did an https call
instead of hitting the server I was asking it to hit, it went to the windows
update site to see if there were any updates due, I still haven't figured out
why it did this, and this was looking at the http traffic
Did you make sure the cross domain file is in the root folder ?
Grant.
- Original Message -
From: PR Durand [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: 1/12/06 4:37 AM
Subject: Re: SV: [Flashcoders] certificate
Thanks a lot for all your
You will need to use a separate function say :
Public function applyText(name:String, target:MovieClip, depth:Number,
x:Number, y:Number){
tab_mc = target.attachMovie(Tab, name, depth);
}
Don't forget if you are attaching this class to the library symbol, the
first time it is used will
What does a dollar sign do at the beginning of a variable in Flash?
Anything? like Stage.$blah = rar;
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
looks like you need to make tab_mc a member variable of the class.
then if you are having problems try tracing tab_mc as soon as its
created, as well as the other parameters that you are passing in. Make
sure they all have the correct values.
Martin
Dennis Hart wrote:
I am having a
Actually I just tried it and it worked:
class Tab {
public var label_txt:TextField;
public var tab_fmt:TextFormat;
public var tab_mc;
public function Tab(name:String, target:MovieClip,
depth:Number,x:Number, y:Number) {
tab_mc = target.attachMovie(Tab, name, depth);
In the light of longer compilation times and the hours wasted with issues
like this...
Shouldn't we consider the claim that strict-typing cuts down developement
time as one of those completely unfounded urban legends?
;-)
mx.controls.treeclasses.TreeDataProvider
Sounds great, but I still don't
In todays flash player yes but with advent of AS3 the compiler will
require it to maximize engine efficiency. I suppose you could argue
that the compiler could make those judgment calls on the fly but in many
cases it can't and won't which bloats the end result (memory
allocation/hash tables).
Thanx, Grant
The problem is now resolved, I've posted the explaination a little bit
earlier...
The crossdomain file was not in the real root folder, and there was a
port problem.
Many thanks for your help
PR
[EMAIL PROTECTED] a écrit :
Did you make sure the cross domain file is in the root
Is there a commonly used design pattern to solve the issue of a
message prompt/window which needs to act differently depending on the
message it shows.
For example,
the message might be that didnt work, do you want to try again with
two buttons, Ok and Cancel
or
the message might be well done,
Nothing in particular - just a style of naming vars. I don't do it
because it looks too much like PHP and I get disoriented.
I recall seeing this technique used to distinguish public from private
vars, but I think it went out of favor when AS2 came out.
On 1/12/06, Ryan Luce [EMAIL PROTECTED]
have you looked into the mx.controls.Alert class?
On 1/11/06, Keith Salisbury [EMAIL PROTECTED] wrote:
Is there a commonly used design pattern to solve the issue of a
message prompt/window which needs to act differently depending on the
message it shows.
For example,
the message might be
Recently we were trying to debug an MX2004 fla that had components with
bindings. We found out about the mistake you never make twice: copying and
pasting such a binded component, but that's another story.
While looking into it using the debugger, we found an object called __junk. In
that
I wonder what is the best way to capture a key-is-up event if several
keys are pressed at once. For example if I press and hold left then
press spacebar and release it onKeyUp won't fire till I release left key
I always used Key.isDown() which works fine.
Have you tested that you can't detect
Thanks for your help gentlemen.
I reread the code that I entered when I started this thread and realized
that I did overlook the critical public var tab_mc; in this email, however
I did in fact have it in my Tab.as file declared as - private var
tab_mc:MovieClip; - I don't think it would have
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis
Hart
Sent: Thursday, January 12, 2006 11:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Adding Texfield to MovieClip via Composition
Class
Thanks for your help gentlemen.
I reread
Contact me off list and I will send you the Fla as files I used.
cheers
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis
Hart
Sent: Thursday, January 12, 2006 11:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Adding Texfield to
Hi list
I've already posted this problem, and you have answered me, but the
problem is back, and I did what you told me.
I've got my core class : Core.as containing this
import myProjetPath.proxy.CommandManager;
class Core
{
private var oCM:CommandManager
[...]
function Core()
{
I've also seen people use $ for string variables. As far as
Actionscript is concerned, it's just a style of coding, really.
Jason Merrill | E-Learning Solutions | icfconsulting.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On
Michael,
The only way I can suggest at the moment is onEnterFrame/interval
function checking which keys are still pressed.
When key is pressed (onKeyDown), you can write it's name/code into
array and check just this array later.
There's a nice Guy Watson's code at proto.layer51.com that Returns
Thanks for your answer, Ramon.
I was thinking of writing such class myself...
But, in fact, I need some different solution rather than superb loading
queue :-).
Maybe I'll try to delete sound object which is downloading the mp3
track, - what do you think ?
Yes, it's the most common case in this
Well I've installed the Flash Lite 2.0 and one of the more
interesting parts is the long list
of possible Test Devices. Now it shows you the Nokia ones which are
on the website,
but greyed out there are also about 15 different phone manufacturers
and a long list of phones, including
even some
I warned you it ight fail silently with a cast (a failed cast always returns
a null) . the cleanest sollution is to extend xmlNode implement that
interface and proxy those methods defined on the interface to the xmlNode
methods. this might seem like a fair bit more work, but down the line it
makes
Hello,
I am currently look at Mettaliq's MCom components at
http://www.metaliq.com/mcom/
Any recommendations for other 3rd Party Data aware components? Thanks.
-d
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
I create a playlist which is an array of tracks. Each track has a
title, an id, an artist, and a URL. Magically, when I set my List
Component's dataProvider to playlist, it shows all the titles. But
the real miracle is that when I click on a title all the track
properties corresponding to
Sander wrote:
Think further. For years the Flash plugin on Mac has been a joke,
partly due to the fact the market is too small to optimize the code
further for a small platform.
For what it's worth, each of the prior few Player versions has had
specific extra investment in optimization for
Anyone?
Does such a list exist?
Thanks,
Joseph
Joseph Balderson wrote:
I've been looking for several days now, and I cannot seem to find a bug
fix list for the v2 components that ship with flash 8 anywhwere. I keep
seeing references that the standard v2 components have had certain bugs
I just went through this. Here's my code. It's a function that accesses
a stylesheet, so it's got a little more than you need, but I hope it
will help:
function initDrawBg(theTarg)
{
var gradient_color_1 =
convertColor(_root.defaultStyleSheet.getStyle('.gradient_color_1').color);
var
I am working on a very clean rendition of the Suckerfish CSS drop down
menu, but am getting a flicker when the menu is over a flash file in
Safari. Does anyone have a fix for DHTML over flash?
Sincerely,
Man Salazar
Web Programmer, Academy of Art University
) [EMAIL PROTECTED]
At 12:07 PM 1/12/2006 -0500, you wrote:
can any one toss me links to the latest and greatest a* pathfinding
examples that
are easy to implement? Much appreciated.
If memory serves, Jobe Makar has an implementation in his 'Flash MX Game
Design Demystified' book. I think this question may
I don't use the List component that much, but I'd imagine it is the same
functionality as the DataGrid... Each row is an object with a bunch of
properties, but only the properties that there are columns for get
displayed.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
The majority of Non-Nokia devices listed are Japanese handsets with
FL1.1 or FL1.0 preinstalled.
- All the phones that could be supported using the current technology
once distribution deals
with the manufacturers are sorted out
No - any phones there are because the deals have already
Hi Cedric,
I recently had the same problem and the reason was because I was using the
IP (hidden in the html object tag) to launch the app from the server, but
the domain name to load the other SWF - so the security sandbox considered
this a different domain of course.
This happened because the
How are you trying to do it?
Ade
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason
Lutes
Sent: 12 January 2006 04:17
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Interactive SWF in a Scroll Pane
Is there a way to allow the contents of
You might need to scope things differently and build an engine in the loaded
SWF to capture events from the outside.
Also, there is a .content or .contentPath or something that serves as a
reference to the item loaded into the pane...
On 1/11/06, Jason Lutes [EMAIL PROTECTED] wrote:
Is there a
How can you use flex components in a flash project?
Brookd
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
On Jan 12, 2006, at 12:34 PM, Robert Chyko wrote:
I don't use the List component that much, but I'd imagine it is the
same
functionality as the DataGrid... Each row is an object with a bunch of
properties, but only the properties that there are columns for get
displayed.
In fact, you can
As far as I know:
If you mean Flex 1, legally speaking, I don't think licensing would
allow you to unless deployed to a location where you have a license.
You can work out the legal details over the phone - the sales people are
pretty good and very responsive. Technically, the Flex server will
Hey guys I have like 200 wmv files that I would love to feed into flash
but they are wmv's! Is it possible to get these into flash? Is the is
google is doing also to an extent?
Corban Baxter | rich media designer |
www.funimation.com http://www.funimation.com/
Try FFMPEG
Fabio Sonnati
http://flashvideo.progettosinergia.com
- Original Message -
From: Corban Baxter [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 12, 2006 9:24 PM
Subject: [Flashcoders] OT: wmv to flv?
Hey guys I have like 200 wmv files that I
Good stuff thanks.
Corban Baxter | rich media designer | www.funimation.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fabio Sonnati
Sent: Thursday, January 12, 2006 2:29 PM
To: Flashcoders mailing list
Subject: Re:
I know that JD, Tinic has had many details on his blog as well. It's
just that, when I compare heavy multimedia tasks on mac and PC, the
difference has never been as big as it has in comparing Flash releases.
Sorry for the Off Topic folks.
For what it's worth, each of the prior few Player
either
container_mc.messageText.text = messageDisplay();
or
public function get displayGreeting():String {
if (now == afternoon) {
message = Disco Rules;
} else {
message = Samba Rules;
}
}
On
Whats the problem?
Hi,
The code would be helpful :)
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private var stageHeight:Number = 300;
Thanks for your help. Fixed it
On Jan 12, 2006, at 2:39 PM, Johannes Nel wrote:
public function get displayGreeting():String {
if (now == afternoon) {
message = Disco Rules;
} else {
message = Samba Rules;
forgot the return statement in there
nction get displayGreeting():String {
if (now == afternoon) {
return message = Disco Rules;
} else {
return message = Samba Rules;
}
On 1/12/06, Andy Johnston [EMAIL
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private var stageHeight:Number = 300;
private var stageWidth:Number = 300;
private static var textFieldDepth:Number = 0;
private var messageFormat:TextFormat;
public var now:String =
rutbum. s
if (now == afternoon) {
return Disco Rules;
} else {
return Samba Rules;
}
On 1/12/06, Johannes Nel [EMAIL PROTECTED] wrote:
forgot the return statement in there
nction get displayGreeting():String {
You have to return the value of message:
private function displayGreeting()
{
if (now == afternoon) {
message = Disco Rules;
} else {
message = Samba Rules;
}
return
I just called Adobe Australia Customer support. Apparently it is not
possible to purchase the Flash Lite Player outside of the US.
Maybe it would be a good idea to a make a product accessible worldwide
before advertising it on the website ...
-Original Message-
From: [EMAIL PROTECTED]
The following returned undefined:
/**
A Simple hello class
that assigns a custom
message to a text field
based upon time of day.
**/
class com.bushidodeep.Hello {
private var width:Number;
private var height:Number;
private var stageHeight:Number = 300;
private var
Is there a way to step back and forth through animations in Fuse?
I created a simple animation (code below) to test this. I am new to
Fuse.
Problem:
I am trying to make it so that I can click a button (the two lower
clips) and launch an animation action in fuse.
So far I can't
I am using php and 10.4.4 with flash player 8.5
but it has never worked on any version of flash player 8 on 10.4.1
upwards with php
never used cold fusion (too expensive)
I adjusted my code to use the onProgress rather than the onOpen -
continues to work like a charm on pc
but does not show
I would email Moses about that.
On Jan 12, 2006, at 7:29 PM, Ryan Potter wrote:
Is there a way to step back and forth through animations in Fuse?
I created a simple animation (code below) to test this. I am new to
Fuse.
Problem:
I am trying to make it so that I can click a button
onSoundComplete does not seem to be firing. I've noticed others have
had the same issue. Has anyone come up w/ a solution?
Thanks,
L
GorillaPop - Connecting People Through Music
http://www.gorillapop.com/
I am getting the following exception when I attempt tor run a JSFL
script in Flash 8:
--Output Panel in Flash IDE---
Updating MyCustomComponent in library.
At line 68 of file C:\\apps\crtlash\BuildSupport.jsfl:
Exception thrown in native function.
It works just fine with me. Before I start, I make sure I fill up the
TLEN of all the songs. I use TLEN for another reason but that's the
only thing I can think of that I do to all my files.
It might work.
Goodluck
On 1/13/06, Lance Massey [EMAIL PROTECTED] wrote:
onSoundComplete does not
I have a spider which streams files from all over, so I don't have
the option of modifying the id3... :(
My dodgy work around:
var pos_timer = setInterval(checkPlayTime, 1000, theMP3);
function checkPlayTime(s1:Sound){
curPos = s1.duration-s1.position;
if (curPos200) {
No problem :)
I tried deleting the host movieclip, deleting the movieclip loader,
unloading the movie that contains the movieclip loader. Somehow it
transfers the actual loading to the root movieclip.
If ever, you could have a separate embedded Flash movie in the website
and you can make the
I would email Moses about that
and maybe skip the WTF part... :-)
Jim Kremens
On 1/12/06, Gerry Creighton [EMAIL PROTECTED] wrote:
I would email Moses about that.
On Jan 12, 2006, at 7:29 PM, Ryan Potter wrote:
Is there a way to step back and forth through animations in Fuse?
I
Ryan,
Your code works only if you drag-and-drop an instance of the Fuse
Component on Stage. You'd better ask Moses about that behaviour...
Regards,
Julien.
Ryan Potter a écrit :
Is there a way to step back and forth through animations in Fuse?
I created a simple animation (code below)
84 matches
Mail list logo