[flexcoders] Re: Streaming Video to Flex

2008-09-05 Thread Phil Heinz
Thanks Nathan. Problem is, camera is not attached to computer with the
Flex app. I want one of 10 Flex apps around the Intranet to be able to
attach to any camera's stream, and I don't want to use FMS. I have
looked high and low and can't find a camera that puts out FLV. And
from what I gather from Flex, streaming can only be done from an FMS
source or some other software that supports RTMP. Any thoughts?

Thanks, Phil

--- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote:

   You can attach a camera to Flex and stream video - I'm sure your 
 camera is quite a bit more sophisticated than your typical webcam though
 
 Livedocs: http://livedocs.adobe.com/flex/3/html/help.html?
 content=Working_with_Video_18.html
 
 Hope this helps! :D
 
 --- In flexcoders@yahoogroups.com, Phil Heinz phil@ wrote:
 
  Hi everyone,
  
  Can Flex 3 VideoDisplay or any other component display LIVE streaming
  video from any other format than FLV? We are trying to go straight to
  the camera from Flex. Many cameras will stream motion JPEG or MPEG4
  for instance.
  
  Second question - does anyone know of a camera that streams FLV?
  
  Thanks!
  Phil
 





[flexcoders] Streaming Video to Flex

2008-09-04 Thread Phil Heinz
Hi everyone,

Can Flex 3 VideoDisplay or any other component display LIVE streaming
video from any other format than FLV? We are trying to go straight to
the camera from Flex. Many cameras will stream motion JPEG or MPEG4
for instance.

Second question - does anyone know of a camera that streams FLV?

Thanks!
Phil



[flexcoders] URLRequest using local cache but I don't want it to.

2008-05-09 Thread Phil Heinz
Hi everyone,

I have a Flex 2 Loader component that I pass a URLRequest to the load
method. We have an issue that the SWF we're trying to load via http
sometimes comes up with a 304 error from IIS. The problem is, no data
is returned and I don't get the SWF. I've tried inserting
Pragma-no-cache and Cache-Control-no-cache as requestHeaders,
but I can't seem to get around the problem. We're seeing that most
loads work fine, but occasionally IIS will report 304 and I don't get
the SWF.

Any ideas? Thanks!!! Phil



[flexcoders] List ItemRenderer and variableRowHeight

2008-02-26 Thread Phil Heinz
I have a List component with a custom item renderer. The List is set
to variableRowHeight=true.

In the renderer is a regular TextArea component that I want to grow in
size vertically for the longer data strings.

My problem is I don't quite understand how to automate the process of
sizing the TextArea and then the renderer height from the
TextArea.textHeight property.

I can successfully do it manually, attaching a click event to the
TextArea, that calls the following function in the renderer:

private function updateHeight(ev:MouseEvent):void {
 ev.target.height = ev.target.textHeight + 5;
 this.height = ev.target.y + ev.target.height + 25;
}

This perfectly sizes each item when I click on them. 

The problem is I can't get it to function properly when I try to size
them from an event representing the item's creation. I have tried
sizing on the following events:

1) renderer creationComplete and added events
2) in the data setter override function for the renderer

No matter what I try to do, automated sizing produces incorrect
results. I am sure I just don't understand - not the first time!!!

Thanks for any help!!!
Phil



[flexcoders] DateFormatter and Date Timezone Issue

2008-02-26 Thread Phil Heinz
To illustrate this issue, I have the following application:

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=init()
mx:Script
![CDATA[
private var _date:Date;

private function init():void {
_date = new Date();
f1.text = _date.toString();
f2.text = df.format(_date);
}
]]
/mx:Script
mx:DateFormatter id=df formatString=MM/DD/YY HH:NN /
mx:VBox
mx:Text id=f1 /
mx:Text id=f2 /
/mx:VBox
/mx:Application

The output in the two fields shows:

Tue Feb 26 16:16:32 GMT-0800 2008
02/26/08 17:16

Why does the date.toString show correct time, but the formatted date
shows GMT-0700 instead? Don't they both use the client timezone?

This is a pretty simple example, I would expect both outputs would be
the same time (clients timezone).

Any ideas?
Thanks, Phil



[flexcoders] Re: DateFormatter and Date Timezone Issue

2008-02-26 Thread Phil Heinz
Thanks Doug - that was it. Sometimes you just can't see it even when
the answer is staring you in the face on the help page!

Thanks again, Phil



[flexcoders] DataService.createItem problem

2008-02-21 Thread Phil Heinz
Hi everyone,
I have a DataService component that is working fine for the fill and
sync operations. My problem is that when I try to use createItem to
add a record, I get this error:

[RPC Fault faultString=Missing identity properties: recid
faultCode=Local.Call.Failed faultDetail=null]

I am using createItem like this:

var newIssue:ProjectIssue = new ProjectIssue();
newIssue.fld1 = xyz;
.
.
projectIssuesDS.createItem(newIssue);

I do not populate the recid field (since that is filled in on the
server after the new id value is added by the db.) I tried making it 0
for the createItem, but that makes no difference.

The ProjectIssue class' first field is recid so I don't know how the
newIssue could be missing that. All fields in ProjectIssue are public.
Here is the ProjectIssue.as (DTO):

package dto
{
[Managed]
[RemoteClass(alias=inteliseapm.ProjectIssue)]
public class ProjectIssue
{
public var recid:int;
public var projid:int;
public var projstatusid:int;
public var opened:Date;
public var closed:Date;
public var reportedby:String;
public var enteredby:int;
public var location:String;
public var shipyardcat:Boolean;
public var equipcat:Boolean;
public var softwarecat:Boolean;
public var productioncat:Boolean;
public var upgradecat:Boolean;
public var infocat:Boolean;
public var severity:int;
public var tags:String;
public var surveysent:Boolean;
public var surveyrcvd:Boolean;  
public var surveyemail:String;
public var issuesummary:String;
public var vesselname:String;

public function ProjectIssue()
{
}
}
}

Any ideas? Thanks!!!



[flexcoders] Problem installing Java Development Tools

2008-02-11 Thread Phil Heinz
Hi everyone,

I have stand-alone FB2 installed on Vista and when I select Help /
Software Updates / Find and Install, I get an error that says
Requested operation cannot be performed because it would invalidate
the current configuration. See details...

Details states: Platform configuration has been modified outside this
program. A restart is recommended.

Restart of FB2 doesn't work
Restart of Machine doesn't work
Re-install of FB2 doesn't work

I would be grateful for any thoughts or ideas!

Thanks,
Phil



[flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-08 Thread Phil Heinz
Hi Muzak,

Do you know of any way to apply the same logic, but as a MovieClip
instead of a Bitmap? I have a swf that loads in a SWFLoader and I want
to take the content of that loader (as a MovieClip) and duplicate it
so I can put it in the display list in other areas of my application
at the same time. The content of the SWFLoader needs to remain vector
so it can be zoomed effectively.

duplicateMovieClip doesn't exist any more and any attempt to assign
the completed content of one SWFLoader to another's source (so it
doesn't have to load it via http) removes that content from the first
component before moving it to the other.

Thanks for any insight you might have!

Phil



[flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-08 Thread Phil Heinz
Muzak,

Thanks so much for your examples. I have it working using the
ByteArray method. I couldn't use the MovieClip example because it
still is moving a single copy from Loader to Loader, but with the
ByteArray, I can make multiple Loaders load the same ByteArray, and
they are separate unique instances.

Thanks again!

Phil



RE: [flexcoders] Re: DuplicateMovieClip functionality in Flex 2

2007-11-07 Thread Phil Heinz
Mark, Thanks for the reply.
I was under the impression that AddChild would simply put the object on the
display list, not duplicate it. My goal is to load the swf(movieclip) once
then duplicate it so it can be put on the display list at multiple places in
the app. Any ideas on that? Thanks.
 

 

Phil Heinz
Director of Systems Development

 InteliSea Logo http://www.intelisea.com/images/isLogo-rgb.gif 
InteliSea LLC 
601 Wald Irvine, CA  92618  
USA 
+1 949 450 9961
+1 916 768 0828 cell 

intelisea.com http://www.intelisea.com/ 

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee.  Access to this email by anyone
else is unauthorized.  If you are not the intended recipient, any
disclosure, copying, distribution or action taken or omitted based upon
reliance thereon is prohibited and may be unlawful.



 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Wednesday, November 07, 2007 12:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DuplicateMovieClip functionality in Flex 2



you can create a Flex component from Flash 9 and that would help 
with the bandwidth. If you need to duplicate it, you'll have to 
use addChild(ship). It's addChild in AS3 so it's that way in 
Flash as well as Flex.

Mark

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com,
philheinz [EMAIL PROTECTED] wrote:

 Hi all - I am loading a ship diagram (flash 9 swf) into a 
SWFLoader. I
 would like to duplicate that clip for use on multiple screens 
within
 our InteliSea application. Currently all SWFLoaders are loading 
over
 http individually which is a COLOSSAL waste of time and bandwidth.
 
 I can get the loaded content into a MovieClip object, but how do I
 then duplicate it to apply to other SWFLoaders?
 
 AS2-3 Migration guide says duplicateMovieClip has been Replaced by
 new MovieClip class constructor function. I like to think of 
myself
 as fairly smart, but that description doesn't do it for me. I guess
 I'm not as smart as I thought.
 
 Any help would be much appreciated. Thanks! Phil




 
isLogo-rgb.gif