Loading FXG fragments inside FP10

Hi all,
I want to consider an application where fragments of FXG (xml
design markup as generated by, say, Illustrator) are stored in a
database, then loaded by ActionScript code running inside FP10 in
the browser and rendered. For example, the FXG could be combined
with existing graphical elements.
Is this going to be possible, or must FXG be compiled into
SWG inside the Flex IDE?
Many thanks for your help,
Best, Dominic

Hi all,
I want to consider an application where fragments of FXG (xml
design markup as generated by, say, Illustrator) are stored in a
database, then loaded by ActionScript code running inside FP10 in
the browser and rendered. For example, the FXG could be combined
with existing graphical elements.
Is this going to be possible, or must FXG be compiled into
SWG inside the Flex IDE?
Many thanks for your help,
Best, Dominic

Similar Messages

  • Calling a backing bean method after load of fragment in adf

    I needed to call a backing bean method after page load of fragment in adf.
    I used the method suggested in:
    https://community.oracle.com/message/11044570
    only difference is im giving the if clause as:
    if (refreshFlag == RegionBinding.RENDER_MODEL ) {
    instead of
    if (refreshFlag == RegionBinding.PREPARE_MODEL)
    It was working fine, but page was not getting refreshed so used the code as mentioned in example:
    public void refresh() {
              FacesContext facesContext = FacesContext.getCurrentInstance();
              String refreshpage = facesContext.getViewRoot().getViewId();
              ViewHandler  viewHandler =facesContext.getApplication().getViewHandler();
              UIViewRoot viewroot =  viewHandler.createView( facesContext, refreshpage);
              viewroot.setViewId(refreshpage);
              facesContext.setViewRoot(viewroot);
    Now issue is once page is loaded and backing bean method is called, the refresh code refreshes the page and upon page load, refresh method is called again in recursive fashion.
    please advise what to do in such scenario?
    I tried to do selective refresh using some variable(also with static) but it does not help as page wont be refresh at all or page will keep refreshing recursively.

    Use clientListener on the page load event
    <af:document id=”d1″>
        <af:serverListener type=”onloadEvent”
                           method=”#{<managedbean name>.<method name>}”/>
        <af:clientListener method=”onLoadClient” type=”load”/>
        <af:resource type=”javascript”>
        function onLoadClient(event) {
          AdfCustomEvent.queue(event.getSource(),”onloadEvent”,{},false);
          return true;
        </af:resource>

  • Loading a SWF inside another SWF question

    Hello friends,
    1. (IMPORTANT) As all we know when putting some Flash SWF
    inside an HTML page, normally it starts playing as soon as its
    first frame is loaded.
    Now in my case I have to load a SWF (let call it Flash A)
    inside another Flash, I used mx.controls.Loader control to do this.
    But this internal loaded SWF (Flash A) doesn't display untill it is
    completely loaded. Although what is interesting is that if it
    contains a sound track I can hear it while it is being loaded.
    I wana know is there any way that we can make this Flash
    display while being still loaded.
    2. Is there anyway to change a Flash playback FPS at runtime?
    Thank you so much for any note and help.
    - M

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Do some processing before loading jsf fragment created using adf task flow

    Hi,
    I am working on JDev11g.
    I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
    I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
    But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
    Is there any method which is called only first time when region is loaded ?
    Or any other solution to achieve this.
    Regards,
    Devang

    Hi,
    don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
    Frank

  • Is it possible to load fxg graphics at runtime

    Hi All,
    I have costumers that want to change and update icons that where constructed with AI and are FXG graphics.
    Is is possible to load FXG graphics at runtime?
    Lior

    The AppModule for a page is configured in an attribute of the root element of that page. Maybe that attribute is available at the OAWebBean parameter in processRequest.

  • Is It possible to load Html page inside Adobe Flash...?

    Hi Everyone!
    Is It possible to load Html page Inside Adobe Flash CS5.
    Any help would be a great help...!
    Originally, i wanted to bring in through <IFRAME> but i don't see that flash understands that.
    Thanks in advance!
    -yajiv

    Not exactly sure how you where planning to display that HTML content in relation to the overall page, but given the limitations of Flash... that may just not be possible...
    But, it would be a simple matter to display an HTML iframe over the top of or behind a Flash .swf... So while the iframe would not be a part of the .swf, it certainly could be designed to make it look as though it were.
    Controling the stacking order or layering of content on a Web page is accomplished through z-indexing. Correctly positioned and z-indexed, the iframe could apear over the top of the .swf... the .swf in effect being the background... OR the iframe could appear behind the .swf and with a transparent section in the .swf, the iframe would appear through that hole. If there is navigation or links in the iframe, they will be blocked by the .swf though.
    http://www.w3schools.com/cssref/pr_pos_z-index.asp
    But this may be an option....
    Best wishes,
    Adninjastrator

  • Is It possible to load Html page inside Adobe Flash Professional..?

    Hi Everyone,
         Is It possible to load Html page inside Adobe Flash Professional or Adobe Flex. Thanks in Advance.
    -Vijay

    probably not the way you are thinking.
    flash textfields and their extensions have a limited number of html tags they can parse so, in general, html from most web pages will not display, as expected in flash.

  • Loading a flash inside another flash

    i want to know how i can load a flash inside another flash
    container

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Loading a game inside a movieclip (AS2)

    Hello.
    I have a problem loading a game inside a movieclip (i´m using AS2)
    I have a main timeline with 6 buttons, and each button calls for an external SWF, wich loads inside an empty movie clip.
    Everything works ok, but when the game loads inside the movieclip, it won´t respond.
    The game SWF loads ok inside the movieclip, but it doesn´t respond to commands.
    If i execute the game.swf, it plays ok....but when loaded into the movieclip, it shows but you can´t play because the commands or buttons won´t respond.
    Is there a way to load this kind of swf inside a movieclip and make it work?.
    What i´m doing is:
    The button has this action:
    on (press) {
    loadMovie("game6.swf", "cargador");
    "Cargador" is the name i gave to the empy movieclip.
    I´ll appreciate any help i can get. Thanx a lot for your time.

    Hi Ned. Thanx for your reply.
    All the files are in the same folder, and all games are just 1 swf file (no php, xml, external .as or subfolders).
    About the other recomendation of using _lockroot... where should i place it? i have 3 frames (1, 2 and 3) with a stop action, and in another layer on frame 2, all the actionscript.
    If i place the code on the frame with all the actionscript, this should be at the beginning of the code, or can i place it at any line? Or is it easier to place it in one of the other frames where i placed the stop action?
    Thanx again for your reply.

  • How to load dynamic text inside a movie clip?

    hello all - i have a main stage where on the first frame my
    "home" movie clip displays. i did this by dragging/dropping, and
    then i put a stop action. all works fine.
    inside this home movie clip on the main stage, there are
    links to other movie clips. for example, to get to my faq's page -
    you click that button, then it takes you to frame 4 on my main
    stage, where my faq's movie clip (followed by stop action) has been
    dragged/dropped and displays properly.
    within the faq's movie clip this process is repeated, with
    buttons taking to you various pages (different frames where
    different movie clips play - all works fine).
    so now i want to add a dynamic text field within my faq's
    movie clip. i have read numerous tutorials where i have created the
    text file but i have not been able to display it with success
    within my faqs movie clip.
    here is some code that my dvd tutorial instructs me to place
    on main stage as i practice getting this to work:
    var myMCL:MovieClipLoader = new MovieClipLoader ();
    var myListener:Object = new Object();
    myMCL.addListener(myListener);
    var myLV:LoadVars = new LoadVars();
    myLV.onLoad = function (success:Boolean) {
    if (success) {
    _level5.loadedInfo.htmlText = myLV.info;
    } else {
    _level5.loadedInfo.text = "There has been an error loading
    the requested information. Please contact the webmaster.";
    and here is some code that i place on the faqs button within
    my main movie clip that takes me back to main stage and plays faq
    movie clip all successfully:
    on (release) {
    //Movieclip GotoAndPlay Behavior
    _root.gotoAndPlay("4");
    //End Behavior
    and finally, here is some code that i place within my faqs
    movie clip in an attempt to display my dynamic text within the faqs
    movie clip - so far unsuccessful:
    _level0.myLV.load("vars/faqs.txt");
    NOTE:
    i have published this to view - not working.
    i have my faqs text file starting as info=
    i have eliminated white space within my text file
    i am using flash 8 pro
    can anyone offer some sugestions? thanks!

    hmmmmm lemme double check as i seem to be a bit lost now.
    // this is my actions layer code on frame 4 of main timeline:
    stop();
    var myLV:LoadVars = new LoadVars();
    myLV.onLoad = function (success:Boolean) {
    if (success) {
    _level5.loadedInfo.htmlText = myLV.info;
    } else {
    _level5.loadedInfo.text = "There has been an error loading
    the requested information. Please contact the webmaster.";
    myLV.load("vars/faqs.txt");
    1. fyi - at frame 4 on main timeline, one layer beneath the
    actions layer where i dragged/dropped my faqs movie clip i gave my
    faqs movie clip an instance name of "mainfaqs" - although nowhere
    do i refer to this specific mc within my code.
    2. where would i replace/insert the following code?
    _level0.faq_mc.loadedInfo.text = myLV.info;
    3. i didn't know about embedding font but i saw the option
    and embedded it - still no results.
    4. i'm not sure how to do the following:
    _level5.loadedInfo.text ='test'; //although I would still
    change the path as above
    To see if your getting a return from the load call adn text
    file, use a trace statment before the success condition and see
    what it returns:
    trace(myLV);
    sorry to be such a pain - i really have looked around for
    answers through previous postings and i googled it and i've been
    taking instruction through lynda.com and dvds but i seem to be
    stuck here.... as always - thanks for your time

  • Help loading external swf inside movie

    I am trying to load an external swf from inside a movie clip.
    I can get it to load but it takes me out of the current movie and
    into the external swf. How can i get it to load inside the
    specified mc in my movie?

    it definately tries to load the swf, but it goes back to the
    begining of my main movie. When I click on the button to go to the
    specified frame instance, instead of loading the swf it kicks back
    to the begining frame 1 of the main scene. I have this loading
    within another MC that is 4 layers deep.
    this is the code I have on the button:
    on(rollOver){
    b2.gotoAndPlay(2);
    on(rollOut, dragOut){
    b2.gotoAndPlay('go');
    on(release){
    _parent.gotoAndStop('ph2');
    The 'ph2' is the frame instance that I would like the
    'water1' mc to load in.
    I've tried a bunch of things and it either loads just the swf
    without my main movie, or it just loads blank within water1.
    Thanks again

  • Load a class inside class?

    Hi all!
    I am creating a console based program and I wonder how i can load an outside class inside my main class?
    I have a case switch funktion and when you chosse case '3' i want the class to run another class file and the continute with the rest of the code in the main class file.
    Is there a way to do this?

    It really depends on what you mean by "run another class file". Do you mean you want to execute its static main() method, just as if it were run from the command line? If so then just do this:String[] params = // the parameters you want to pass to the class
    TheClass.main(params);

  • Load html document inside flash

    I have been informed that it is possible to load an html
    document inside flash, that you use an HTML tag, but I cannot find
    it in the scripts, can anyone show an example and explain how to
    make it work or if there is a tutorial for creating this inside of
    flash.
    Thanks

    Dear All
    I do not know why they call themselves professionals in flash and html, while they can not help us with a simple webpage inside a flash movie.
    No offense
    I was trying the whole week to do that by checking if any body post any tip over the internet, but as usual the profs said that you can only make it in test and only text and bla bla bla.....
    Let me tell you that I have managed to open a whole webpage in my flash website.
    I have this page that is html and have so many codes and things that I do not know, and in my flash website I have a menu which one of its buttons must open that html file, and as every body knows that you will loose the whole work if you poped up another window from your flash website.
    So Cheer up I have managed to open my html page in my flash movie website.
    You can check it up following this link www.compuhometech.com/html_inside_flash/index.html
    If you like to have it please mail me : [email protected]
    Thank you

  • SQL Loader: double quotes inside double quotes

    Hello,
    I need to find a solution for loading some data that contains double quotas. The csv contains data like:
    "1";"Name1";"Name2"
    "2";"Name3 "another thing here"";"Name4"
    "3";"Name33 "thing here"";"Name "name" Name"
    The data inside the " " must be loaded exactly as it is, that means that in the DB, for row2, column2 the data must be: Name3 "another thing here". I cannot remove the qoutes.
    the CTL:
    LOAD DATA
    CHARACTERSET AL32UTF8
    INTO table table_name
    APPEND
    FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '\"'
    TRAILING NULLCOLS
    Column1,
    Column2,
    Column3
    Could anyone help on this?

    try with this ctl
    LOAD DATA
    CHARACTERSET AL32UTF8
    INTO table table_name
    APPEND
    FIELDS TERMINATED BY ';' ENCLOSED BY '"'
    TRAILING NULLCOLS
    Column1,
    Column2,
    Column3
    )also refer to
    here and here
    for detailed explanations and instructions

  • System.load(PATH_TO_LIB) issue inside java package

    Hi all,
    sorry if this has been asked somewhere, but I just could not find any answer of it. I simply want to load a library by using System.load(ABSOLUTE_PATH_TO_LIB) and call its native function. I could get this to work if I call this function in a class without having any package to it.
    However, when I moved the class into a package, e.g. com.test package, I will get java.lang.UnsatisfiedLinkError exception. I am certain the System.load could still reference to the lib I pointed to, just that the library is not really loaded and resulting in this error when I call the native method. Any help would be greatly appreciated, thanks in advance.
    Sudi

    Hi, thanks for the reply.
    I have found the problem, the problem was not in the System.load, as I mentioned earlier, I can load the library, but I got unsatisfied link error when I call the native function inside a java package.
    The reason to this is the C native function actually does not allow me to call the function from a java package. If I want to call it from a package, then I have to regenerate the header file and the C source code, namely every functions gonna have the package name follow, e.g. au_com_siab_java_helloworld. something similiar to that. Too bad, this is an existing library that I am trying to use and I don't have the source code to change. Thanks all.

Maybe you are looking for