Flex iframe set priority? - apache-flex

How to set priority(like send to back) for iframe?

I'm suffring this problem recently, it costs me a lot of time and I find no solution about this.
this article lists some disadvantages about iframe in flex
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
another way to embed rich text, i think, is to use TextFLow, in RichText, you could easily find good examples in API
however, iframe is still useful, when developer actually want it on top. Using it with TitleWindow is a good idea. (correct me if i'm wrong)
If anyone have a better idea, please hit me, I will greatly appreciate

Related

Play Youtube video from Flex app

I was wondering if anyone had any advice on what the best way to embed a youtube player inside a flex app is. I've looked around and it seems that one can
Try to use SWFLoader (as with what's described here) but this ends up throwing crossdomain violations
Use the YouTuve API
Ideally use the Spark VideoPlayer component, although I have not been able to figure out how to play a YouTube video through it and am starting to think that it is, in fact, not possible.
Would love to hear any thoughts from those of you out there that have done this in the past.
thank you!
I think, the most convenient way is using youtube api. Check this turotial.
SWF-Loader cross-domain exceptions, add the following line to your code, BEFORE the player gets initialized.
Security.allowDomain("www.youtube.com");
Ok, after trying a variety of things, I've come to the conclusion that the Youtube API is probably the best way to go, but it doesn't work very well, at least it seems to have all sorts of issues in Flex 4 (see for instance http://groups.google.com/group/youtube-api-gdata/browse_thread/thread/f8e61440e5f1a21c/9ed01ed5fd6eb71b). The interesting thing is that the serious security errors seem to happen only if you move the mouse pointer over the Application stage. So if you can stomach to cover your whole application with something (at least a rect wrapped in a group) you should be ok. Ugly as hell, but that seems to be the only way I can find to make this work.

Alternative to (Flash) SimpleViewer image gallery?

I am using SimpleViewer to show images on a website. It's a nice and elegant tool. But, as it is using Flash not all devices (e.g. iPad?) will/can show the images. Does anybody know about a non-Flash alternative? Maybe totally CSS cased?
I know this is an old question, but I found something that looks quite a bit like SimplerViewer called Gallerific. https://github.com/iamvery/galleriffic
If you check out the example 2 you'll see a layout that looks a lot like SimpleView
Well, I have checked under every rock and I can't find a good non-flash alternative to SimpleViewer (i'm really curious now to if there's one!). There are rumours about it soon being changed to HTML5 (a wise decision), but I don't know if you can wait that long.
I would say the best option is jQuery and CSS, you can personalise and style your gallery as you wish, but you will have to be at least a bit comfortable with html editing. It's not complicated at all, you should give it a try.
You can find lots of jQuery galleries and sliders tutorials here for example: http://vandelaydesign.com/blog/web-development/jquery-image-galleries/
Do some search engine research to get the best options, there are tons of different galleries.
Good luck!
They have now, see: this comment at the SimpleViewer Forum. It's called Universal Playback.

How to disable menu wrap and enable horizontal scrolling on window resize?

First of all I am not programmer nor web developer.
Someone made a website for me but can not contact him right now.
After 3 days of googling i decided to post this question.
How to enable gorizontal scrolling instead of menu and footer wrap on window resize?
I tried attributes such as: display:inline-block; white-space: nowrap (i think this is related to text only), some JavaScripts.
I might placed these elements in wrong place as it's hard to know that code.
This is index file:
http://slawgd.webpark.pl/index.rtf
and pls find CSS here:
http://slawgd.webpark.pl/style.css
Thank you very much for you help!!
Greg
CAUTION: I am sorry that my answer has no real solution so you can choose to ignore.
The followings are just my comment on your web page after I had analyzed it.
It would be slightly better if you copy the rendered code of HTML as we won't get your data in your SQL Database.
Simply right click the page in browser and find Source Code to get it.
Also, you might find a better answer from the someone who help you to produce it because he is the only one person familiarize your page most.
EDIT: Just a suggestion and not a solution.
After I looked at your page, it is suggested that to find the someone because the page was complicated designed.
It needs lots of effort to modify it without affecting other component.
Moreover, it is quite horrible to work out on cross-broswer compatibility because the code is not well designed.
In mainland China, users of Firefox might not have much, but there are still numbers of users using Maxthon which include WebKit engine.
Variant IE-based browser in mainland China also give a slightly different result of rendering so the code must be optimized.
Therefore, ask the website editor for cleaning the code (such as repeating CSS, malformed HTML structure, etc) and working hard on cross-broswer compatibility is considerable.
More personal comment:
In conclusion, if you find a worker for your website construction with money pay, it seems that it is a huge job to rewrite it and it is not easy to persuade him to help you.
Maybe you can ask someone to help you with a simpler basic structure and insert the original JS background slide effect and drop menu effect to your newer, simpler, and cleaner structure.
There are still a readable amount of unnecessary wrappers inside the page.

Can anyone recommend a slick, professional looking image carousel?

I am working on a .NET web app. I need to display images from the file system. Can anyone recommend a slick, professional looking image carousel (even if there is a cost) that has allows the user to rotate through the images at the bottom and then displays the larger image when the thumbnail is clicked.
This one's pretty nice, and it's only 12 bucks. Lots of configurability. It's in Flash; I don't know if that's an issue for you or not.
The jQuery plugin Cycle is really nice, it allows a lot of customization.
http://jquery.malsup.com/cycle/
This one is really nice if you're looking for a Javascript solution...
http://www.jacksasylum.eu/ContentFlow/
It has more of the CoverFlow style to it.
Here's a whole collection of them to choose from :)
http://www.net-kit.com/best-animated-jquery-slideshows/
If anyone is still looking, I can heartily recommend Galleria.

CKEditor running in Flex 3?

I'm interested in integrating CKEditor into my Flex 3 application so that users can generate full HTML documents. After some quick googling, I am interested in using CKEditor, but I can't find any home-run success stories on using it with Flex 3. For example, I found:
http://blog.aboutme.be/2009/10/25/ckeditor-running-in-flex-and-air/
and a couple of similar blogs. Based on posted comments, however, it looks like there either may be integration issues, cross-browser issues, or similar gotchas.
I'd like some advice on scoping this effort and potential pitfalls, and any pointers to useful snippets, tutorials or blogs on similar efforts. I am also open to better HTML editors for flex -- I just haven't found any.
I was able to get mine working (with Bob Tate's help setting everything up) without having to use Drumbeat Insight's control. if you need some help or pointers, email me directly with CKEditor in the subject line. jeremysl#hotmail.com
You can't really integrate a non-Flex component into a Flex application.
Your best bet is to look into using the iFrame trick to make it appear as if CFEditor is part of your Flex application. Google around for iFrame trick to find more info on it.
There is an HTML Component from Drumbeat Insight that helps solve a lot of the issues w/ this trick.

Resources