Embed JWPlayer in webpage using flex.
How to embed JWPlayer in webpage using flex...
You could use the autoplay="false" tag but it will still allow the file to download in the background. No server savings in that method.
Better method: Use a "Poster movie".
The link to your source movie will not begin downloading until a visitor clicks on the poster.mov file.
One of my pages as an example:
http://homepage.mac.com/kkirkster/B/
A different issue has come up in the last few weeks that involves the page code tags for PC users running Internet Explorer and the new M$ security update:
http://developer.apple.com/internet/ieembedprep.html
The embed tag is dead (by itself) as it doesn't even allow PC IE users to view QT content. The "better" object and embed (nested) still will work but, again, PC visitors using IE (about 80% of browser use) may see a pop-up message alerting them to ActiveX content in your page. Nothing makes them flee from your site quicker than an alert they don't understand.
Similar Messages
-
Embed QT in webpage without preload
Hi,
I would like to put a QT movie on a webpage using the <embed> tag. How can I tell the movie not to preload before the user press "play" on the control panel?
It's to prevent my server getting too busy.You could use the autoplay="false" tag but it will still allow the file to download in the background. No server savings in that method.
Better method: Use a "Poster movie".
The link to your source movie will not begin downloading until a visitor clicks on the poster.mov file.
One of my pages as an example:
http://homepage.mac.com/kkirkster/B/
A different issue has come up in the last few weeks that involves the page code tags for PC users running Internet Explorer and the new M$ security update:
http://developer.apple.com/internet/ieembedprep.html
The embed tag is dead (by itself) as it doesn't even allow PC IE users to view QT content. The "better" object and embed (nested) still will work but, again, PC visitors using IE (about 80% of browser use) may see a pop-up message alerting them to ActiveX content in your page. Nothing makes them flee from your site quicker than an alert they don't understand. -
Using Flex 2 for dynamic creation of a Flex 2 application at runtime
We're looking to replace our existing end-user development
environment and believe Flex 2 may be able to satisfy our
requirements. However, without spending a month trialing the
product I thought some existing user(s) could suggest (based on
personal experience) whether we'd be straining Flex 2 in expecting
it to be able to provide dynamic runtine generation and execution
of an application based on the meta-data associated with each
component. The generation of each component includes automatic form
and code generation, with end-user tailoring facilities to maintain
the meta-data (tabs, fields (visibility, location, business rules,
actions, validation etc.), display format, drill-down, work-flow
etc.), for use in the next instantiation of each conponent.I know of at least one of our customers (not sure if I can
say which) is doing this. They use Flex to compose MXML files and
then send that to a server. The server than compiles that into a
SWF.
So it is possible, just a lot of work. -
User console redirection webpage uses unnecessary browser sniffing
User console redirection webpage uses unnecessary browser sniffing
https://ps.palmws.com/palmcsext/console/
That user console redirection webpage has this piece of JavaScript that uses unnecessary browser sniffing:
<script type="text/javascript" language="javascript">
function checkBrowser()
var agt=navigator.userAgent.toLowerCase();
var is_mac = (agt.indexOf("mac")!=-1);
var is_ie = (agt.indexOf("msie")!= -1);
var is_opera = (agt.indexOf("opera")!= -1);
var is_firefox = (agt.indexOf("firefox")!= -1);
var is_window = (agt.indexOf("window")!= -1);
var is_safari = (agt.indexOf("safari")!= -1);
if (is_window) {
if (is_firefox || is_ie || is_safari) {
window.location = "/palmcsext/console/pages/LoginPage.iface";
} else {
window.location = "/palmcsext/console/notfound/notfound.html";
} else if (is_mac) {
window.location = "/palmcsext/console/pages/LoginPage.iface";
} else {
window.location = "/palmcsext/console/pages/LoginPage.iface";
</script>
The browser sniffing is pretty harmful. Remove it.
Just simply change the script to:
window.location = "/palmcsext/console/pages/LoginPage.iface";XP1 wrote:
If you look at the logic, even unsupported browsers will pass the test.
The if statements only check for supported browsers running on Windows or Mac OSes. If the user is using a different OS, regardless of supported or unsupported browser, the webpage will still redirect correctly.
The script doesn't do a good job of checking for supported browsers either. The user can set a custom user agent, and the code can't rely on the user agent string.
Checking for browser support should be done by feature detection, not by user agent string checking.
If the user sets a custom user agent string or uses a browser with which the code works, then it harms the user.
The concept of the web is that it should work everywhere. Blocking browsers not only harms the user but also harms the web.
If the code is written to web standards, the webpage should work in all modern browsers.
Thus, it is pointless, inefficient, and unnecessary to have those if statements there.
Like I said, the code can be simplified by just using 1 line:
window.location = "/palmcsext/console/pages/LoginPage.iface";
I have asked for more specifics here to find out why that logic is in place. Not saying I can post back anything, but I have asked.
And unless I'm reading it wrong, the check for unsupported browsers (so anything NOT firefox, ie or safari) only happens if you're running windows. If you're on Mac or some other OS, it directs to the working page. I have asked about that, too. -
Problem in creating client side PDF with image using flex and AlivePD
I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
Thanks in advance
AtishayI am having a similar and more serious problem. It takes a
long time to execute, but even attaching a small image balloons the
pdf to 6MB plus. After a few images it gets up to 20MB. These are
100k jpeg files being attached. The resulting PDF is too large to
email or process effectively. Does anyone know how to reduce
size/processing? -
We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
For AIR : I tried the thread Re: AIR and PDF showing/silent printingHey CodeMonkey & Ross,
Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
Thanks guys,
Lox -
How to find Mobile device OS name and version using Flex?
is there anyway to get device information like OS name and version using flex 4.5.1 or 4.6 SDK. i am developing a project in Flex which needs to identify the end user mobile platform like Android, iOS.. and its version like Android means 2.1,2.2,etc..
Anyone can help me on this?I don't know that there is a proprietary driver. In fact, I'm sure there isn't because I never installed one. I figured there was some code file somewhere that dealt with keyboards. Yes, I have dealt with the developer, they say to tell Apple there is a problem. I have been putting it off and waiting to update since 10.6.3, so the problem is getting a little old. Do I even know there is a problem? I'm not sure what this means. I do know that when I update my operating system past 10.6.2 my keyboard no longer works, and I have to use a stock Apple keyboard to run a time machine reinstall. Why else would I be going through this?
-
To load a pdf file in popup window using flex
Hi All,
Can anyone send me the code for loading pdf file in a popup
window using flex.
Regards,
Dharmatry this action script
var pdfUrl:URLRequest = new URLRequest("assets/file.pdf");
navigateToURL(pdfUrl,"_blank"); -
Please help me, I need to use Flex with CF
Hi everyone,
I am starting to retract my brain from an intense 2 days to
figure out how to use Flex with Coldfusion. I am using Coldfusion 8
Beta (this part is good, don't need help for CF itself). I am also
using Flex Builder 2 (with chart but this not the topic). I
installed FDS 2.5 before to install ColdFusion 8 but I think CF8
have is own FDS or something like that... anyway, it might help to
mention it!
Well, I tried HTTPService, RemoteObject, WebSer vice -
NOTHING WORKS!!! Argh! Did I mention I spent 2 days? ;-)))
Well, I start with the basic: a login form with an email (as
a username) and a password to be validated. I have a CFC to do the
validation and return a simple message (string): "OK' when it is
valid and a custom message when it is not valid; depending if it is
the password and/or the email which is not valid.
I always got an error. Since the error is different depending
of the method I use, I will explain the latest method I used in
this message and try to concentrate on that method specifically!
The method is WebService and here is the error:
faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail: 'Error: [IOErrorEvent type="ioError"
bubbles:false cancelable=false eventPhase=2
text="Error #2032: Stream Error .
URL=http://localhost:8501/iDashboard/login.cfc"].
URL: http://localhost:8501/iDashboard/login.cfc'
Any help will be very useful!!!
Thank'sCyber,
This may be what you are looking for. It worked well for me.
Flex is sweet, but with the number of people confused about setup
with CF they sure aren't making any friends.
Flex/ColdFusion
setup -
Hi,
I don't know if anybody will be able to help. I use a company to create software for me. They have been using Flex to create a menu system that runs in the Air application. The software was running fine when using Air 1.5. However, since the update to 2.0 there are now issues with the software.
Are the coding practices of the company I am using wrong? Should they be designing with Air 2.0 in mind?
Obviously i understand that this isn't an issue with Adobe. But I am concerned that this company will not tell me the whole truth and if this would be better solved using legal advice?
I appreciate any help you can give.
Thanks!Hi,
Sorry your running into problems with Voddler. There aren't any known issues with AIR on Danish XP systems. Have you tried contacting Voddler to see what they have to say?
Chris -
Feedback on impementing second horizontal axis using Flex 2.0.1
I am attempting to use the concept of a second horizontal
axis using Flex 2.0. It is not clear to me if it is supported by
the Flex 2.0.1 sdk although livedocs does provide an example using
secondVerticalAxis. A snippet of my code is attached with this
message. At runtime, the second series does not display. Any
feedback about usage of the component would be greatly appreciated.
Thanks.>>That data base is fine for a development environment.
Thanks edbrendel.
So, since I am able to run Apache 2.2 as I want to, would I
be better of to use MySQL 5 or MS SQL Express if I want it to be
largely development, but also for my own stuff (my galleries etc.)
actually running pages served to the web?
I know of the technotes, a couple of them (incl. the MySQL
note on installing V. 5 as a datasource and all that), but never
saw that one...so thanks very much. I've manually added the Apache
2.2 file line in httpd.conf and added the file in the config area,
which always worked in the past with XP Pro and XP64...hope it does
with 2003 I had 2003 server when I first started playing, it was a
nightmare, I hope now that I've bought everything I can wrap my
head around it!). I just make sure I don't try to configure CF
until after manually adding the files, and changing the Apache
config file and restarting. Then I go into the administrator for
the first time.
Shawn -
Audio/Video Streaming without FMS using FLEX 2
Hello guys,
i want to develop a video conferencing application in flex 2
without using flex media server. I want to know the possibilities
of it and if possible some tutorials and examples.
Thanks.
Nehal.Some thinks that where helpful for me:
http://coenraets.com/viewarticle.jsp?articleId=98
http://flash-communications.net/technotes/fms2/flex2FMS/index.html
NOTE: Only try and attach the Video and start the publishing
of the video after you have a successful NetConnection. -
Manipulating XML file using flex 2.0
Hi,
how to add contents in to xml file using flex 2.0, ie i
actually wants to write data in to a xml file, so that data to be
appended at the end of the file.
KumarYou can't! Well, at least Flex cannot do this. All Flex can
do is send this data -- any data -- to the server and it's up to
you how you want to append this data to a file on the server.
You see, flex can't write to local files. If you looking for
client side file manipulation, take a look at Flex's desktop
brother call AIR!
ATTA -
Wish To Use Flex 2 For My University Project
Dear All
I am a mature student studying a Computer Science Degree in
the UK .
For my final year project, I am creating a Stock Market
Simulation with a Database back end (e.g. SQLite ?) and some kind
of front end, both to be run a a stand-alone machine.
I have a 28 weeks to design, build and run it for my
supervisors. I would like to push myself academically by building
the software using Flex 2, for the GUI and even to carry out any
calculations or processing needed for the simulation to operate
correctly.
My questions are
1) Is it possible to create the simulation as I can find no
definitive way to connect Flex 2 directly to a database back end in
a similar way to ADO.net?
2) If it is possible which book do you recommend to get the
best and quickest results out of Flex 2?
Thanks In Advance
StevenYou are correct, Flex does not natively connect to any
database. Further, security restrictions on both the browser and
the Flash Player prevent access to *any* client resources, such as
the filesystem.
So if you use standard Flex, you will need some back-end web
technology. This can be almost any platform/language you choose.
Now, the newest, coolest thing in the Adobe world is AIR. AIR
applications can be written using Flex, Flash, HTML and javascript,
and have full access to client asseets. AIR is essentially an
internet delivered desktop application.
AIR has SQLLite database built-in.
AIR is currently in public Beta. I do not know what will be
available as far as non-commercial or educational licensing when it
is realeased.
I don't have a book to recommend, but here is a partial list
of on-line resources:
Tracy
Flex 2.x Resources
Flex sites/blogs:
Adobe:
http://www.adobe.com/devnet/flex/
DEVNET - start here!
http://www.adobe.com/products/flex/productinfo/faq/
http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&productId=2
http://blogs.adobe.com/
http://weblogs.macromedia.com/mxna/
http://labs.adobe.com/
http://labs.adobe.com/community/
http://www.adobe.com/cfusion/exchange/index.cfm#loc=en_us&view=sn610&viewName=Adobe%20Exch ange&avm=1
http://blogs.adobe.com/flexdoc/
Other:
http://www.searchcoders.com/flex/
http://www.flexination.info
http://flexibleexperiments.wordpress.com/2007/03/14/flex-20-primitive-explorer/
http://www.scalenine.com
http://www.flexcursion.com
http://www.theflexshow.com
http://www.JeffryHouser.com
http://blog.digitalbackcountry.com/
http://code.google.com/p/flexlib/
http://flexbox.mrinalwadhwa.com/
http://dougmccune.com/blog/
http://www.cflex.net/
http://www.quietlyscheming.com/blog/
http://www.everythingflex.com
http://www.waldosmeets.com/
http://www.jessewarden.com/
http://www.cbetta.com/blog/
http://www.cynergytv.com/
http://www.flexdaddy.info/
http://www.richinternet.de/blog/
http://www.brightworks.com/technology/overview.html
http://www.crossdomainxml.org/
http://flexsearch.org/
http://labs.flexcoders.nl/
Flex style Explorer:
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
Documentation:
http://www.adobe.com/support/documentation/en/flex/
http://livedocs.macromedia.com/flex/2/
http://www.adobe.com/cfusion/knowledgebase/index.cfm
Lists:
http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=60
http://groups.yahoo.com/group/flexcoders/
http://groups.yahoo.com/group/flexcomponents/
Bugs/enhancement requests:
http://www.adobe.com/go/wish -
Using flex 2.0 charting components with flex 3
I purchased and installed a flex 2 charting components
library so i could use it in my AIR application development. It
installed alongside the 3.0 beta visualization components so that I
now have two copies of each component in my charts folder. I can't
see how to ensure that the right library is used so that the charts
actually appear when i run my app. I'd hate to think i just threw
away $300 so any help would be greatly appreciated - .Are you using Flex Builder 3? Flex 3.0 beta Data
visualization components are available as part of FB 3 only. You
can select either 2.0.1 hotfix 3 charts (consists of only
charts.swc) or 3.0.0 data visualization (consists of
datavisualization.swc). through multiple sdks feature of FB3. For
flex 3 beta, flex 2 charting key will work. so if you want to try
out new features in charts and new components like Advanced data
grid you can switch to 3.0.0 sdk and use same flex 2 charting key
to remove watermark from charts.
Maybe you are looking for
-
The audio cable currently is connected to the directtv box. If i hook my apple tv to the projector that means i would have to run a sound cable across my media room. is there any other way?
-
After installing security updates, Safari 5.0.5 crashes frequently.
Process: Safari [175] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.5 (6533.21.1) Build Info: WebBrowser-75332101~1 Code Type: X86-64 (Native) Parent Process:
-
Hello! i have changed my touch digitizer for ipad 3 but it still does nt work
hello, i have changed my touch digitizer for ipad 2 but it s still does nt work... help please!!!
-
Creating dynamically a image.. with background
Hi, i'm working on displaying dynamically an image file who shows some text and a rectangular. I want to enhance this method by passing an existing image file, so that this file can used as a background upon creating the gif. Example: text = hello, r
-
Capacity control in storage bin for material
Hello, I am trying to set up following scenario: I want to set the capacity of storge bin for material for example 16547. For one storage bin fit only 200 pieces of material 16547. So I set this in material master WM2 tab. Then I order 400 pieces,