Re: [Flashcoders] help: XfactorStudio XPATH

2006-05-23 Thread Mark Llobrera
Julian-

I found out a few weeks ago that the Xfactor Studio XPATH classes were
broken when compiling to Flash 8. Compiling to flash 6 and 7 was ok, but not
8.

-Mark

On 5/23/06 11:23 AM, julian atienza [EMAIL PROTECTED] wrote:

 :(

Sorry. About replies...

1) Bernard Visscher. I posted the sentence bad. I
 didn't toUpperCase
like literal.

take this literal example if u prefer:
  var
 strXPATH:String 
 =
//Localidades/Localidad[contains(upper-case(fichaLocalidad),' +
TESTING
 PHRASE + ')];

But no good results anyway...
  
2)Joeri van Oostveen.
 Macromedia implementation of XPath have less
functions and functionally.
 That's because
I'm using XFactor Studio implementation. No contains
 function. f.e.

3)Merrill, Jason. I didn't understood your mssage.

Thanks
 anyway :(

Nobody knows the upper-case of XPATH for Xfactor Studio and how can
 i
use it Thanks

 ___
 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] Testing ExternalInterface on Windows for me.

2006-04-18 Thread Mark Llobrera
Ryan:

When testing locally with Windows/IE, you can set allowScriptAccess to 'always' 
- it'll save you having to upload to a server.

Aaron:
I was stalled with ExternalInterface myself yesterday; I had the hardest time 
getting it to work on the Windows/IE combo. The included samples from 
Macromedia didn't work, and several others on the web didn't work either. Other 
browsers (Firefox, Safari/Firefox on the Mac) worked fine.  Since I was using 
flashobject to embed the swf, I wandered over to Geoff Stearns's blog and found 
this example: http://blog.deconcept.com/code/externalinterface.html. I 
eventually ended up taking that html (since it worked on Win/IE) and using it 
as the basis for my html page, just so I could figure out what was wrong. I 
found two things different between my page that didn't work and the deconcept 
example:

If you look at the code on that page the reference to the flash movie isn't 
initialized until the entire page is loaded. That would be the first place I 
would look.

The second thing I learned yesterday (and this is where it starts to devolve 
into voodoo) is that the order of items on the page matters greatly (but 
seemingly only on Win/IE). I was calling a flash movie from a javascript 
function triggered by a form button 
(http://www.dirtystylus.com/sandbox/feedroom/filebrowser/file_browser.html - an 
attempt to feed an flv on a local filesystem to a video object). When the form 
was placed before embedding the swf, it didn't work on Win/IE. As soon as I 
moved the form after the embedded swf in the html code, it worked. Extremely 
weird.

-Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
Potter
Sent: Tuesday, April 18, 2006 3:19 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Testing ExternalInterface on Windows for me.


I get the same as you.  I looked at the external interface code that I
have and the only difference I can see is I have swLiveConnect set to
true but I don't think that is it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Smith
Sent: Tuesday, April 18, 2006 12:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for me.

Yes I tried it out on yours and my server. works just fine. Now have  
a look at this. on Firefox and IE: ( http://www.smithaaronlee.net/ 
jstest/ImgScrollerTEST.html )

It works in firefox like it should. But in IE it doesn't work  
completely.  I'm having troubles figuring out what is wrong in IE, IE  
throws errors when you click on a step button. Just viewsource to see  
the JS.

this is what it is supposed to do:

when you click a 'step' button it reloads different thumbnails in the  
scroller piece. when you click on a thumbnail it communicates through  
js to the other flash piece to load a larger img.



On Apr 18, 2006, at 11:29 AM, Ryan Potter wrote:

 I tested it and it works.  It is the testing locally issue.  Here is
 your code on a server:

 http://www.thoughtwillrise.com/flash/exttest/



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
 Smith
 Sent: Tuesday, April 18, 2006 12:22 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for  
 me.

 ok, yeah I wonder if thats the issue (local). I was just testing it
 locally. I'll try it on a server.




 On Apr 18, 2006, at 11:17 AM, Ryan Potter wrote:

 Did you upload it to a server and test it or just do it locally?

 It doesn't work for me if it is local but it works like a champ when
 uploaded and I am on windows too.

 I will look at your source.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
 Smith
 Sent: Tuesday, April 18, 2006 12:12 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Testing ExternalInterface on Windows for me.

 I am at work right now. And we only have one windows machine. We are
 using some ExternalInterface functionality in one of our projects.
 It's not working on out windows machine. It doesn't work in either
 Firefox or Internet Explorer. It works fine in every browser on MAC.

 I've been doing some testing to figure out what it was. And could not
 figure it out. So I created an even smaller test. There is two lines
 of code in the fla that calls an ExternalInterface call to a js
 method that just displays an alert. Even that doesnt work.

 If someone could take a quick look at my src files. Test it on IE and
 Firefox Windows. And let me know if it works. If it does work for
 others it means we have a problem with our win machine.

 here is a zip ( www.smithaaronlee.net/ExtIntTest.zip ) file with the
 src (fla, swf, html) . just open it up and look at the test.html file
 in firefox and IE. it should just pop up an alert right away.

 I would really appreciate someone doing this. it will only take a  
 sec.


 thanks,
 smith

 

RE: [Flashcoders] SSL and Flash in IE6

2006-02-14 Thread Mark Llobrera
Bob-

You may want to check this posting: http://www.blog.lessrain.com/?p=276. As I 
understand it, if the server is returning no-cache headers for the data you're 
trying to load it may fail in IE. I say may because I've only run into this 
problem when loading XML data over SSL in IE, not a plain .txt file. Something 
tells me your problem may be related, however.

-Mark 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
Leisle
Sent: Tuesday, February 14, 2006 2:40 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] SSL and Flash in IE6


Hello group,

I've run searches in the archives, google and other groups and am unable 
to find a cause for this:
I've built a very simple Flash MX (6) test swf file, uploaded it to an 
http server. Its only task is to load a small data file (.txt) from 
another server (same domain) through https, using a LoadVars, and 
display the data in a text field.

When running the test, I'm also using a packet sniffer tool and can see 
that the data is retrieved back to my machine, but it is not getting to 
the Flash player. My test swf indicates that the data was not received.

This happens in the Flash 6, 7, and 8 players, only in Internet 
Explorer. The data load works as expected in Netscape and Firefox, in 
all players. If I retrieve the data through unencripted http, the test 
works fine in IE also. It only fails in IE when the data is transfered 
via https.

I've tweaked IE security and privacy settings. I've added https://; to 
the codebase and pluginspage params in the html. I've added 
secure='false' to the crossdomain.xml. I've submitted it to the 
Macromedia bug report site.

Any insite would be greatly appreciated!

Cheers!

~
Bob Leisle 
Headsprout Software  Engineering
http://www.headsprout.com
Where kids learn to read!


___
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] End of flv playback event

2005-11-16 Thread Mark Llobrera
If you're not dealing with a live stream, you generally have to check for the 
Netstream.Play.Stop *and* Netstream.Buffer.Empty events. Simply checking for 
the Netstream.Play.Stop can give unwanted results, especially if you set a 
large buffer value for streams - if you set the buffer to 5 seconds, for 
instance, the Stop event will fire 5 seconds before the stream ends, because 
that's how much time is set in the buffer.

You can use a boolean to determine whether the Buffer.Empty is fired because 
the end is reached, or if it's just plain buffering. Something like:

ns.onStatus = function (info) {
if (info.code == Netstream.Play.Stop) {
this.stopped = true;
} else if (info.code == Netstream.Buffer.Empty) {
if (this.stopped) {
// do something here, stream has reached end
} else {
// stream is buffering
}
} else if (Netstream.Buffer.Full) {
// playing
}
}

-Mark

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Duncan
Reid
Sent: Wednesday, November 16, 2005 1:05 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] End of flv playback event


Agreed, I have only seen the NetStream.Play.Stop fire at the end of an FLV.
I recall reading, i think here, that this wasn't always the case but i could
never find another time it fired other than at the end of an FLV... It seems
as though when the video needs to buffer and catch up it will stop but only
an Empty code gets sent, if you pause the flv manually it doesn't seem to
send a Play.Stop message.

So I've been using the Play.Stop to tell me when the video is done and
haven't had any problems with it. I would be interested to know if that's
not proper though.

A rough breakdown of the onStatus handler could be something like:

ns.onStatus = Delegate.create(this,function(info:Object) {
if (info.code == NetStream.Play.Stop){
//playback has stopped or what i think is the end of the movie
}
else if (info.code == NetStream.Buffer.Empty){
/* Data is not being received quickly enough to fill the buffer. Data flow
will be interrupted until the buffer refills,
at which time a NetStream.Buffer.Full message will be sent and the stream
will begin playing again. */
}
else if (info.code == NetStream.Buffer.Full){
//The buffer is full and the stream will begin playing.
}
else if (info.code == NetStream.Play.Start){
//Playback has started
}
else if (info.code == NetStream.Play.StreamNotFound){
//The FLV passed to the play() method can't be found, show error
}
}
);


Dunc


On 11/16/05, Jordan L. Chilcott [EMAIL PROTECTED]
wrote:

 Why not add a listener object to the onStatus event of your
 NetStream. It will inform you when the playback has stopped. You can
 take action from there.

 jord

 On Nov 16, 2005, at 10:39 AM, Marlon Harrison wrote:

  Is there any special trick to accurately getting an end of flv
  playback event?

 --
 Jordan L. Chilcott, President
 Interactivity Unlimited
 Guelph, Ontario
 -
 Tel: (519) 837-1879
 eFax: (253) 276-8631

 mailto:[EMAIL PROTECTED]
 http://www.interactivityunlimited.com
 iChat/AIM: j1chilcott

 Author: Building Web Sites with Macromedia Studio MX
 Author: Building Dynamic Web Sites with Macromedia Studio MX
 Author: Flash Professional 8: Training From the Source


 ___
 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