Re: [Flashcoders] Firefox popup blocker and flash 9

2008-05-29 Thread Dan Wade
Turning on popup blocker shouldn't block user initiated clicks that call a
js function to open a new window. Or, popup blocker should allow for a
simple getURL(url, _blank). I'm finding these calls are being blocked
some cases in Firefox on PC's with flash player 9.

-d


On 5/28/08 4:46 PM, Robert Leisle [EMAIL PROTECTED] wrote:

 This is probably not what your client wants to hear but the question has to
 be asked. Isn't Firefox popup blocker there for a reason? When blocking is
 active there is a message when a popup is attempted. Users have the choice
 to block or not, or to white-list your popups. I recommend allowing them
 that choice.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade
 Sent: Wednesday, May 28, 2008 4:22 PM
 To: Flash Coders List
 Subject: [Flashcoders] Firefox popup blocker and flash 9
 
 I'm having problems with Fireox blocking my popup windows. I've tried
 everything I can think of. It seems to happen on Windows running Firefox but
 I can't replicate the issue on all machines I've tested(it works on most
 machines but not all).
 
 Here is the class I'm using:
 
 package {
 
 import flash.external.ExternalInterface;
 
 public class URLUtil{
 
 protected static const WINDOW_OPEN_FUNCTION : String =
 window.open;
 
 public static function openWindow(url : String, window : String =
 _blank, features : String = ) : void {
 ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window,
 features);
 }
 
 }
 
 }
 
 
 //being called this way
 function recholder1Release(event:MouseEvent) {
 URLUtil.openWindow(res1link);
 }
 
 
 Any ideas?
 
 TIA,
 
 -D
 
 ___
 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] Firefox popup blocker and flash 9

2008-05-28 Thread Dan Wade
I'm having problems with Fireox blocking my popup windows. I've tried
everything I can think of. It seems to happen on Windows running Firefox but
I can't replicate the issue on all machines I've tested(it works on most
machines but not all).

Here is the class I'm using:

package {

import flash.external.ExternalInterface;

public class URLUtil{

protected static const WINDOW_OPEN_FUNCTION : String =
window.open;

public static function openWindow(url : String, window : String =
_blank, features : String = ) : void {
ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window,
features);
}

}

}


//being called this way
function recholder1Release(event:MouseEvent) {
URLUtil.openWindow(res1link);
}


Any ideas?

TIA,

-D

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flipping Effect...

2007-07-11 Thread Dan Wade
Hello,

Looking to create this effect: http://www.element79.com
I've been using AnimationPackage to do programmatic flips and scales
But sadly I can't get the smooth effect you get using the timeline.
Anybody know of any animation tutorials on this. I'm tempted to do it in
After Effects and import into flash.

TIA,
-Dan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Asfunction inside an dynamic xml file...

2007-05-10 Thread Dan Wade
Hello,

After my xml is generated I have a node:

para2![CDATA[p align=centerblah blah blah, a
href=asfunction:testing,1RSVP today!/a/b/font/p]]/para2

I have a htmlEnabled text field which I populate with the above node, but I
can't get the testing() function to fire using asfunction.
Is the syntax correct here or am I missing something?

Tia,

Dan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Asfunction inside an dynamic xml file...

2007-05-10 Thread Dan Wade
Disregard this question, I'm forgetting that my text field is wrapped in a
movieclip. Sorry.

-Dan


On 5/10/07 12:07 PM, Dan Wade [EMAIL PROTECTED] wrote:

 Hello,
 
 After my xml is generated I have a node:
 
 para2![CDATA[p align=centerblah blah blah, a
 href=asfunction:testing,1RSVP today!/a/b/font/p]]/para2
 
 I have a htmlEnabled text field which I populate with the above node, but I
 can't get the testing() function to fire using asfunction.
 Is the syntax correct here or am I missing something?
 
 Tia,
 
 Dan
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Bar Codes

2006-07-20 Thread Dan Wade
Hello,

Does anybody have experience with generating barcodes. From what I've read
it's as easy as embedding a barcode font and voila. But I can't match up to
the example I have from the client.

Any help or direction appreciated.

Thanks,

-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] NetStream bytesTotal / bytesLoaded

2006-06-05 Thread Dan Wade

Hello,

Trying to access bytesTotal and bytesLoaded for streaming .flv.

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(movieHost);
var ns:NetStream = new NetStream(connection_nc);
vid.attachVideo(ns);
ns.play(movieTitle);

this.onEnterFrame = function() {
trace(ns.bytesTotal);
trace(ns.bytesLoaded);
}

both come up 0?

video plays fine. But i'm trying to build a percent bar.
we used flix for encoding.
tia,

-Dan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Video object and RTMP...

2006-05-17 Thread Dan Wade
Hello,

I'm trying to build a simple vid player using the Video Object. I'm using a
streaming flv from RTMP server. If I use one of the flash 7/8 vid components
the flv plays fine but if I use:

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
vid.attachVideo(stream_ns);
stream_ns.play(rtmp://path to my .flv);

I get an error opening URL?


Tia,

-d

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Video object and RTMP...

2006-05-17 Thread Dan Wade
Thanks for reply.
You got me thinking
I changed the 2 lines you mentioned


connection_nc.connect(rtmp:PATH TO MY HOST); //path to video hosting
stream_ns.play(VIDEO NAME); //actual video name (without .flv)

Thanks!

-Dan

On 5/17/06 4:28 PM, Marlon Harrison [EMAIL PROTECTED] wrote:

 If I remember right, this is incorrect:
 
 connection_nc.connect(null);
 
 connection_nc.connect(); should be somethign different whe you're
 using a straming server.  null is only for progessive download-encoded
 flv's.
 
 Also, the ns.play() command for streaming cannot have the .flv at the
 end.  I think your code is for progessive flv playback. I may be wrong
 but I remember something like that being an issue for me once.
 
 On 5/17/06, Dan Wade [EMAIL PROTECTED] wrote:
 Hello,
 
 I'm trying to build a simple vid player using the Video Object. I'm using a
 streaming flv from RTMP server. If I use one of the flash 7/8 vid components
 the flv plays fine but if I use:
 
 var connection_nc:NetConnection = new NetConnection();
 connection_nc.connect(null);
 var stream_ns:NetStream = new NetStream(connection_nc);
 vid.attachVideo(stream_ns);
 stream_ns.play(rtmp://path to my .flv);
 
 I get an error opening URL?
 
 
 Tia,
 
 -d
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] .flv plays on mac but not on pc...

2006-03-23 Thread Dan Wade
Hi,

I've built a flash demo which incorporates .flv files and the flvPlayBack
component. It works fine on Mac and not on a PC. I need  to transfer to PC
for someone to demo. I tried zipping all files then tranfering but still no
luck? Any ideas?

TIA,

-dan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] .flv plays on mac but not on pc...

2006-03-23 Thread Dan Wade
Should explain myself better, when I play demo on a pc everything works but
the .flvs.

-d


On 3/23/06 12:10 PM, Dan Wade [EMAIL PROTECTED] wrote:

 Hi,
 
 I've built a flash demo which incorporates .flv files and the flvPlayBack
 component. It works fine on Mac and not on a PC. I need  to transfer to PC
 for someone to demo. I tried zipping all files then tranfering but still no
 luck? Any ideas?
 
 TIA,
 
 -dan
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] .flv plays on mac but not on pc...

2006-03-23 Thread Dan Wade
Ok,

Figured it out. I was copying the demo folder to pc desktop. The paths to
.flv's must get wonky. I moved the folder down into c: and it worked.

-dan


On 3/23/06 12:15 PM, Dan Wade [EMAIL PROTECTED] wrote:

 Should explain myself better, when I play demo on a pc everything works but
 the .flvs.
 
 -d
 
 
 On 3/23/06 12:10 PM, Dan Wade [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I've built a flash demo which incorporates .flv files and the flvPlayBack
 component. It works fine on Mac and not on a PC. I need  to transfer to PC
 for someone to demo. I tried zipping all files then tranfering but still no
 luck? Any ideas?
 
 TIA,
 
 -dan
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flvplayback and cuepoints.

2006-03-01 Thread Dan Wade
Hello,

I have 2 .avi files which I encoded to .flv using flash 8.  Now, all I want
to do is fire an function when each video completes. Sounds easy enough. So
I figure I'll use the complete event that gets fired from the flv
component. This only works on 1 of the .flv's. The other one refuses to fire
this off so I figure I'll use a cuePoint on this one.

So I'm using this code:

var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
trace(Cue point name:  + eventObject.info.name);
}
vid1PlayBack_cmp.addEventListener(cuePoint, listenerObject);

I first created the cuepoint event inside the movie when I was encoding --
did not work. Then I tried using the component parameter window and setting
up the cuepoint there. Didn't work.

What am I doing wrong

Is there another workaround that I could do. I simply want to start up the
main timeline again when the video ends.

Tia,

-Dan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FLVPlayback complete event not firing.

2006-01-18 Thread Dan Wade
Hello,

I'm using the flvPlayback component. Then adding listener:

vidPlayBack_cmp.complete = function( evt:Object ):Void {
this._visible = false;
}
vidPlayBack_cmp.addEventListener(complete);


Simple enough. But the event never fires. Any ideas/experience with this?
I'm thinking the actual .flv file has something that flash does not like.


Tia,

-Dan





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Attaching combobox inside of class

2005-11-23 Thread Dan Wade
I get a combobox that looks like a blank textfield using function below:
   private function buildCombo() {
//create page combobox used to toggle between pages
var pageToggler_cb = target.createClassObject(mx.controls.ComboBox,
pageSelector, target.getNextHighestDepth());
pageToggler_cb.dataProvider = [hello, there, sailor];
}
}

It seems like the component is currupted but if I do a simple test in
another .fla:
var combo_cb = this.createClassObject(mx.controls.ComboBox, combo, 1);
combo_cb.dataProvider = [hello, there];

It works?

Any ideas?

Tia

-dan 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] TWIPS

2005-11-14 Thread Dan Wade


Hi,

i need to convert twips to pixels.
There are 1140 twips per inch.
Do i now need to divide 1440 by DPI (72 or 96)
to get ratio. Do I need to establish a target DPI

please help

TIA

-Dan

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders