Target another frame in a framset from flash navigation

Target another frame in a frameset with for example
getUrl (example.html, "rightFrame");
has Adobe released some solution?
- Right now we migrate from Flash towards PowerPoint and CSS,
because
the lack of answers and interactivity in Flash because of
Microsofts "security pathes" in IE 6 and 7
Right now I cant find a simple solution of how to target
another
frame from a frame in the same html-doc from a button in a
flash navigation.
Am I right or wrong? It looks like everyone avoid this simple
question?
- Why?
And I still appreciate every possible answer that could solve my
problem and a lot of problem to other
interactive producer.

Cant target another frame in the same frameset (2 frames -
LeftFrame and RightFrame ) in the same html.doc
This is the code I have applied to the Flash button
in a frame called navigation in LeftFrame:
on(release){
getURL("right.htm", rightFrame);
For some reason I can't get the page to open in the target
frame (RightFrame).
It will only pop up in a new window. (_blank)
Microsoft has done a some security restriction since februari
2006.
The problem is that you cant use flash navigation in the same
frameset no longer.
I´ve serched everywhere and it looks like there is no
simple solution to this problem.
Adobe suggest that you Work around with Javascript.
But what´s happend if the user disable JavaScript in the
WebBrowser?
Isn´t that obvious - it´s a strategic issue for the
Interactive webbindustry.
It´s a crossroad - which way webdesigners/developers,
markering managers
e-commerce managers.., want to choose to work along with
databases, content
management system and so on.
If Flash not can provide an easy way of targeting another
frame in a webbrowser for
its customers, the customers have to choose a another
solution - CSS+php or even worse
- PowerPoint.
I already migrate to CSS, PHP and PowerPoint because of
Adobes late response of Microsoft so called
"..because of security reason".
At least I hope Adobe is interested of producing a motion
tutorial of how to solve the problems by
Javascript or whatever complex and not user friendly
solution
they come up with.
Do you understand now?
If you can provide a simple code below - please tell me -
I really appreciate that!!!!!
Code on flash button in LeftFrame:
OnPress (I appreciate some bright solution here or som e link
to how I solve the problem.)

Similar Messages

  • Problem Targeting Frame From Flash

    Seems to be a new problem.
    Trying to open a html page in a frameset page from flash
    seems to have stopped working correctly. It's opening in a new
    window every time.
    HOWEVER, did notice if I publish to a live server, seems to
    work fine. Just makes for testing locally a pain.
    Have not upgraded flash lately in either safari or firefox
    which both are experiencing this issue. (think I still have flash 8
    player)
    This is a site I've been developing for several weeks and was
    just working fine as of about 10 days ago.
    Anything new happen lately? (like the IE embed object issue
    earlier this year)
    Any insight or confirmation of this would be
    appreciated.

    ok so my flash as3 is incorrect.
    what should it be?

  • Flash nav targeting html frames...

    I have NO idea why, I've read all the posts about having a
    flash nav menu target a frame within a HTML frameset. I even set up
    a quick test... (I'm using flash MX2004 professional so you all
    know)
    Ok, this is what I did....
    I created a framset in Dreamweaver using their fixed top
    frameset. So there's a top nav frame, and a bottom content frame.
    the frame holding the flash nav is called header.htm. The
    content frame is called main.htm (or the default htm page that
    opens in that frame) The frameset master of course is called
    index.htm.
    I created a test flash nav with 2 quick buttons. This is the
    code on the first and second buttons...
    first button:
    on (release) {
    getURL("test1.htm","mainFrame")
    second button:
    on (release) {
    getURL("test2.htm","mainFrame")
    As you can see I'm targeting the content frame which is named
    "mainFrame" in the index page like this:
    <frameset rows="119,*" cols="*" framespacing="0"
    frameborder="NO" border="0">
    <frame src="header.htm" name="topFrame" scrolling="NO"
    noresize >
    <frame src="main.htm" name="mainFrame">
    </frameset>
    So, I run the whole thing and instead of the flash nav
    pointing at the "mainFrame" frame, it just opens a whole new
    window! I've researched all over the place, and i'm not new to
    flash, i've done some advanced stuff, so you would think this would
    be a simple endeavor... Am I truely that stupid, or is this an
    issue with flash targeting framesets?? PLEASEHELP!!

    Did you heard about _blank , _self , _parent , ....??? maybe
    is something to
    do with the names you are using...
    i didnt understand much ur problem but first thing u have to
    be familiar
    with those things.. i hope that helps.
    "King86" <[email protected]> escribi�
    en el mensaje
    news:ea8kmo$fd8$[email protected]..
    > according to the getURL syntax, the URL has to be in
    quotes. I even went
    > and
    > changed the frame name in the index.htm and flash to
    target the "lower"
    > frame
    > (which I don't think mainFrame is an illegal name) and
    it still opens a
    > new
    > browser window. I don't get it.... I've seen some people
    say the target
    > does
    > not have to be in quotes, as in the tech sheet that you
    referenced above,
    > but
    > it does the same thing... anything else I can try? I'm
    just floored that
    > something that should be so easy is so difficult..
    strange...
    >

  • Quicktime movie export from Flash CS3 is skipping frame.

    When I try to export Quicktime movie from Flash CS3, the
    resulting mov file is skipping frames. i.e.: The movie is showing
    frame number 1, 2, 3, 4, 5, 6, 7, 7, 7, 10, 11, 12, 12, 12, 15
    etc...
    As you can see the frame number 7 is repeated 3 times and
    frame 8 and 9 are nowhere to be found.
    The last configuration I used is 960x540, Sorenson video 3
    medium quality, 25 fps, keyframe every 25 frames. 6400 kbits/s.
    I tried various configurations,with different codecs and even
    with keyframe all frames and I always get simillar problems.
    Anyone have an idea what is going on, and how to fix this?
    Thank you,
    Olivier.

    The QT exporter in Flash is honestly my least favorite
    feature - not the feature itself but how it
    works (or how it doesn't work in some cases). For me it is
    almost unusable unless you have a very
    short timeline, small stage, lower frame rate - like AS
    generated effects or something - otherwise,
    for true frame accuracy to video output - it is not reliable
    enough and not fast enough for any real
    world production environment.
    So typically for me - I love SWF2Video (www.flashants.com) as
    it takes any SWF and makes it into an
    AVI that is frame accurate no matter what the frame rate is -
    quite incredible - enough so that I
    always felt it should have been bundled with Flash (as well
    as Wacom tablets).
    Harmony is an incredible product - as is SOLO and TBS (Toon
    Boom mStudio) - each of those programs
    are dedicated animation programs designed for output to video
    - Flash has a lot of hats to fill and
    it was never really designed for animation to video even
    though many of us have found it suitable
    for all intents and purposes as an animation program for full
    production.
    But all in all - the quicktime exporter doesn't really
    deliver how we would expect it too I am sorry
    to say - I only hope it works as well as it does on the Mac
    (Mac users could always choose to export
    to Quicktime Video but not PC users).
    For now if I am exporting to video I keep it all on the
    timeline or nested in Graphic symbols or use
    the SWF2Video tool.
    hope this helps.
    -chris
    Chris Georgenes / mudbubble.com / keyframer.com / Adobe
    Community Expert
    OBastien wrote:
    > Thank you for your reply Chris.
    >
    > I tried different possible solutions you listed but it's
    not working.
    > Disabling sound had no effects. Changing the FPS is not
    an option, it has to be
    > 25 FPS. I lowered the resolution to 300 something, it
    seemed to be a little bit
    > better, but it still dropped some frame, and the image
    quality was horrible.
    >
    > I think it is really sad that we have to try different
    settings in the hope
    > that flash will grab all the frames. I'm really
    disapointed in Adobe. I'm
    > pretty sure it is the fault of Adobe and not Apple,
    because I don't have does
    > problems with Quicktime in ToonBoom Harmony. What is
    strange is when I do an
    > AVI export I never noticed a dropped frame. I'm not
    using AVI video right now
    > because I can not find a codec that gives me small size,
    fast encoding times,
    > the ability to seek in the movie by dragging the
    timeline progress bar, and the
    > possibility to edit in After Effects. If you know an AVI
    codec that does all
    > that it would be really great news.
    >
    > Thank you again,
    > Olivier.
    >

  • How to put a string from one Frame to another Frame?

    Dear all,
    How can I put a String from one Frame to another Frame?
    When the application started, the Frame 'WindowX' will be displayed. After you press the 'openButton', a whole new Frame (inputFrame) will be shown. In this Frame )(inputFrame) you can write a String in a TextField. After pressing the okButton, this String will be sent to the first Frame 'WindowX'.
    But does anyone know how to realize the sending part?
    I've tested this code on Win98 SE and JDK1.2.2.
    Hope someone can help me. Thanks in advance.
    import java.awt.*;
    import java.awt.event.*;
    public class WindowX extends Frame implements ActionListener, WindowListener
         private Button openButton;
         private TextField resultField;
         public static void main(String [] args)
              WindowX wx = new WindowX();
              wx.setSize(300,100);
              wx.setVisible(true);
         public WindowX()
              setLayout(new FlowLayout());
              openButton=new Button("open");
              add(openButton);
              openButton.addActionListener(this);
              resultField=new TextField(10);
              add(resultField);
              resultField.addActionListener(this);
              addWindowListener(this);     
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==openButton)
                   inputFrame ip=new inputFrame();
                   ip.setSize(200,80);
                   ip.show();
         public void place(String theString) //this doesn't work
              resultField.setText(theString);
         public void windowClosing(WindowEvent event)
              System.exit(0);
         public void windowIconi......
    class inputFrame extends Frame implements ActionListener,WindowListener
         String theString = "";
         Button okButton;
         TextField inputField;
         WindowX myWX=new WindowX();   //??
         public inputFrame()
              setLayout(new FlowLayout());
              inputField=new TextField(10);
              add(inputField);
              inputField.addActionListener(this);
              okButton=new Button("OK");
              add(okButton);
              okButton.addActionListener(this);     
              addWindowListener(this);     
         public static void main(String[] args)
              Frame f = new Frame();
              f.show();
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==okButton)
                   theString=inputField.getText();
                   myWX.place(theString);   //??
                   dispose();
        public void windowClosing(WindowEvent e) {
        dispose();
        public void windowIconi......
    }

    Thanks for your reply!
    But I got an other problem:
    I can't refer to the object (wx) made from the main Frame 'WindowX', because it's initialized in 'public static void main(String [] args)'...
    Hope you can help me again... Thanks!
    import java.awt.*;
    import java.awt.event.*;
    public class WindowX extends Frame implements ActionListener, WindowListener
         private Button openButton;
         private TextField resultField;
         public static void main(String [] args)
              WindowX wx = new WindowX();   //!!
              wx.setSize(300,100);
              wx.setVisible(true);
         public WindowX()
              setLayout(new FlowLayout());
              openButton=new Button("open");
              add(openButton);
              openButton.addActionListener(this);
              resultField=new TextField(10);
              add(resultField);
              resultField.addActionListener(this);
              addWindowListener(this);     
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==openButton)
                   inputFrame ip=new inputFrame(wx);
                   ip.setSize(200,80);
                   ip.show();
         public void place(String theString)
              resultField.setText(theString);
         public void windowClosing(WindowEvent event)
              System.exit(0);
         public void windowIconi....
    class inputFrame extends Frame implements ActionListener,WindowListener
         String theString = "";
         Button okButton;
         TextField inputField;
         WindowX parent;
         public inputFrame(WindowX parent)
              setLayout(new FlowLayout());
              this.parent=parent;
              inputField=new TextField(10);
              add(inputField);
              inputField.addActionListener(this);
              okButton=new Button("OK");
              add(okButton);
              okButton.addActionListener(this);     
              addWindowListener(this);     
         public static void main(String[] args)
              Frame f = new Frame();
              f.show();
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==okButton)
                   theString=inputField.getText();
                   parent.place(theString);
                   dispose();
        public void windowClosing(WindowEvent e) {
        dispose();
        public void windowIconi..........
    }          

  • How can I force focus from flash to another plugin app in FireFox such as with the e.focus() Java Script command in Internet Explorer

    Can you force focus from a Flash app to another plugin such as Unity3d using a JS command similar to e.focus() which works in Internet explorer. The following code works in IE, but not FireFox? Any solution would be helpful. Is it even possible?
    function hideSWF(){
    e=document.getElementById("flash_content");
    e.style.width = 1 + 'px';
    e.style.height = 1 + 'px';
    e=document.getElementById("u3dobjmsiediv_unity");
    e.focus() ;
    function showSWF() {
    e=document.getElementById("flash_content");
    e.style.width = gameWidth + 'px';
    e.style.height = gameHeight + 'px';
    e.focus() ;
    == This happened ==
    Every time Firefox opened
    == Always existed when switching from Flash app to a different app. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    No, I am saying that this isn't the forum for help with that. This forum is for Firefox user support, and the helpers in this forum aren't versed in development issues like that - we're volunteers, not Mozilla developers and don't work for Mozilla. You are better off asking about that in a forum where other web site developers do support.

  • ADF : How to pass a variable from one frame to another frame ?

    Hi,
    I have an html page divided into 3 frames, all inside a frameset. Each frame are linked to a specific .jsf page (src attribute). When I list a list thanks to a ADF datatable in ONE frame, each row has a "show more" button. When I click this button I succeeded to print row detail inside the same frame thanks to the processScope ADF's native variable. The problem is that I want to display the row detail in another frame, clicking from this current frame. So for this I need to reload the other frame which display the content of the processScope variable.
    For this I use the javascript code :
    => parent.frames['bottomRight'].location.reload()
    Just before refreshing, I put the variable in the processScope of course like it appears in the backing bean :
    FacesContext context = FacesContext.getCurrentInstance();
              CLPRMBuilding building = (CLPRMBuilding)
         context.getApplication().getVariableResolver().resolveVariable(context, "building");
         if (building == null)
         return "error";
         AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
         afContext.getProcessScope().put("buildingDetail", building);
    Next, when the user click on the button "show more" a binding CoreCommandButton component is done. And the accessor's code is executed :
    public void setShowMoreCommandButton(CoreCommandButton showMoreCommandButton) {
              this.showMoreCommandButton = showMoreCommandButton;
              showMoreCommandButton.setOnclick("parent.frames['bottomRight'].location.reload()");
    And so the other frame is reloaded ! But the "buildingDetail" variable seems not to be present in the processScope because in the jsf page displayed by the other frame no content is printed, like if the variable were not initialized. How to do then ? How to pass the buildingDetail variable to the other frame which I need to reload to refresh it's content ?

    elaine_g wrote:
    I am wondering why does (r.a) give an error outside the method? What's the reason it only works when used inside the (b/r.a) maths function? This is illegal syntax:
    class B {
      int b;
      A r = new A();
      r.a;  //syntax error
    }Why? Class definition restricts what you can define within a class to a few things:
    class X {
        Y y = new Y(); //defining a field -- okay
        public X() { //defining a constructor -- okay
        void f() { //defining a method -- okay
    }... and a few other things, but you can't just write "r.a" there. It also makes no sense -- that expression by itself just accesses a field and does nothing with it -- why bother?
    This is also illegal syntax:
    int doB() {
          A r = new A();
          r.a;  // error: not a statement
    }Again, all "r.a" does on its own is access a field and do nothing with it -- a "noop". Since it has no effect, writing this indicates confusion on the part of the coder, so it classified as a syntax error. There is no reason to write that.

  • Ok, how do I target Air 2.5 from Flash CS5?

    How do I target Air 2.5 from Flash CS5?
    I'd kill to have the enhanced css support...
    Thanks!
    -Ted

    You can post this on Flash's forum. You should get a good answer from there.
    As I understand, there should be an update in MAX. Not sure how the update will get released.

  • How do I target Air 2.5 from Flash CS5?

    Ok, how do I target Air 2.5 from Flash CS5?
    I'd kill to have the enhanced css support right now...
    Thanks!
    -Ted

    ok, so i found the answer to my own question, for the moment gor here for the extension to do 2.5 in cs5:
    http://labs.adobe.com/technologies/flashpro_extensionforair/

  • How to diagnose flickering exported JS animations from Flash CC?

    Quick stats on my system:
    Macbook Pro Retina 2012 running OSX 10.9.3
    Flash CC 13.1.0.226
    I'm not experiencing an error so much as a lack of understanding about how to diagnose Flash CC JS export issues. Here's the backstory:
    In 2012, my company started working with an contract sprite artist. I was using the CS5.5 Creative Suite, and we were exporting normal png sequences from Flash for use in the game. After about 8 months, my cofounders and I realized that we could both reduce the load time for the game and also allow our artwork to be dynamically scalable by switching to JS exports of our art rather than the raster sprite sheets. Here's the blog post we wrote about it: http://blog.codecombat.com/hacking-our-way-to-vector-artwork-in-html5
    At the time, I didn't have Flash CC, and was reliant upon the CreateJS plugin to export the required JS files: CreateJS Developer Center | Adobe Developer Connection After another month or so, our contractor upgraded their version of Flash and we started having compatibility issues reading FLA files, so I upgraded as well. After doing some reading, I concluded that the CreateJS plugin was now incorporated into Flash CC as the HTML5 doc type, which was confirmed when I checked out the publish settings and resulting files.
    This is all a rather long winded way of saying that we have legacy artwork created with an older version of Flash but are now importing all of our artwork from JS files.
    Fast forward to today and we have two big issues:
    1) We can't figure out how to reduce the filesize of JS exports. As discussed in our blog post, vector artwork has upsides and downsides. One of the downsides we've found is that complex art that uses a lot of shapes ends up being substantially larger (in terms of filesize) than the appearance might otherwise suggest. Raster exports skirt this because a pixel is a pixel, but vector exports scale with the complexity of the source FLA. I'm not a Flash expert, and when we get files that are particularly complex, Flash either runs out of memory exporting them to JS files or we get files that are far too large to reasonably use. To be clear, the "out of memory" error isn't a problem because even if Flash finished the export, the resulting files would be too large for us to use (plus, I've done some digging and found a tutorial for correcting the out of memory error). Our artist is not familiar with the intricacies of the JS Flash exporter, so when we get a file that's too big or breaks the export, neither of us can really figure out a way to correct the problem. We have three questions in particular:
         a) Where can you view shape data that Flash is going to write to the JS files?
         b) Is there any way to edit said shape data inside the Flash CC interface?
         c) Is there any way to optimize shape data in Flash? For instance, in Photoshop, you can flatten images and export a psd with 500 layers as a single JPEG, is there any way to do something similar to shape data in Flash?
    2) Exports frequently break in weird ways. Many of the sprites that we created a year ago haven't needed to be re-imported into our game engine for some time. But every once in a while, I need to go back and fix, improve, or tweak an existing sprite, and then I run smack into the issue of reconciling files that were created without thought to JS exports with our current system. Just last week I was running into this issue in a big way and I made a screencast for our artist (since we work remotely) that I hoped might give him a better idea of the problem: Flash Errors - Treasure Chest, Flippable Tile - YouTube
    The two files mentioned in that screencast are both old (treasure chest) and new (flippable land tile). We have a few questions:
         a) Why are the treasure chest frames "flickering" in the html5 preview? The problem doesn't appear inside Flash and is inconsistent between files. There are two FLA files: one in which the treasure chest is empty, and one in which it's full. The empty animation doesn't throw any errors, either when converting to the HTML5 doc type or on export, but the resulting animation flickers. The full treasure, on the other hand gives me 21 lines of these errors when I do the conversion (not when I export): "Blend Modes(Layer) is not supported in HTML5 Canvas document, and has been converted to Normal in an instance of Movieclip <Path>." The result in both cases is the same: the animations flicker, and neither our artist nor us can figure out why, or for that matter, even begin to troubleshoot it. This SO issue seems to describe the problem, but was never resolved, and I can't find anything else that seems to address it: CreateJS Publish of Flash Project Flickers - Stack Overflow
    I've uploaded the files involved to a public dropbox folder which I think you'll be able to access (Dropbox seems to be having some problems at the moment): Dropbox - flash_debugging
    Since my questions are fairly involved, and my goal is to gain a better understanding of the UI, not simply resolve an error, I'd be happy to pay for someone's expertise/time in getting me up to speed. You can get in touch with me at george [at] codecombat.com

    Hi George,
    I have taken a look at the files full_treasure_chest.fla and flippable_land.fla that you have shared via drop box and found that they both uses blank keyframe(s) followed by Keyframe(s). This was an issue and has been addressed in the latest release Flash CC 2014 (released on 18 June, 2014). Can you please install the latest build 14.0.0.110 and try this out?
    Thanks!
    Mohan

  • How to target a label on the stage from a loaded composition

    from EdgeCommons I'm using EC.loadComposition to load another website into a container within EA.
    Now, from a button inside this loaded composition I would like to call a stop function to target a label on the main stage of the EA file.
    sym.getComposition().getStage().stop("scene4"); does not work.
    It think it has to go outside of sym because the composition container is actually an iframe.
    Thank you

    Hi,
    I think you may have replied to my post accidentally. I had asked a question regarding javascripts that could target the stage from a symbol, not about coloring book apps.  However I have made one in Flash, here is the page I made (don't laugh, I never finished it).
    http://boogerbunch.com/home.html
    Here is a link to the forum I used to get the Info to build it, I would think the process would be very close in edge.
    http://www.kirupa.com/developer/mx2004/coloringbook.htm
    Good luck!
    >>> scottsalter0 <[email protected]> 3/1/2013 10:29 AM >>>
    Adobe Community ( http://forums.adobe.com/index.jspa )
    Re: How to target a label on the stage from a div embedded in a symbol?
    created by scottsalter0 ( http://forums.adobe.com/people/scottsalter0 ) in Edge Animate - View the full discussion ( http://forums.adobe.com/message/5113759#5113759 ) 
    Hi there,
    I noticed your Edge Colouring Page post on the Adobe Forums.
    For my University work, I need to create a colouring page using Adobe Edge Animate. Is it possible if you could post a tutorial or step-by-step guide on how to do this please?
    Many Thanks
    Reply to this message by replying to this email -or- go to the message on Adobe Community ( http://forums.adobe.com/message/5113759#5113759 )
    Start a new discussion in Edge Animate by email ( mailto:[email protected] ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4823 )

  • Audio from Flash CS3 Video overlapping

    audio from Flash CS3 Video overlapping
    help stopping the FLVPlayback instance (which has an instance
    name of theVideo) when another button is clicked!
    How do I stop flv playback when user clicks a navigation
    button ...
    Excuse me in advance for asking about a topic that may be
    very popular!
    I'm using the attached code to go from the main stage to one
    subset of .swf files (loaded movies) and I apparently have no
    problems with overlapping. Hell, the files even seem to unload
    themselves correctly. Then, when I go to my second subset of .swf
    files (with the exact same AS3 structure), which has a Flash Video
    file (made by the FLV Playback component), I get into an
    overlapping problem associated with the audio.
    How can I stop, cancel, or unload the audio when the file is
    clicked away from (the user selects another button on the main
    stage)?
    Code attached. Please let me know if anything else is needed.
    Yours Sincerely,
    Jntspecialty

    I have tried to clean up code and do this right.
    I need help referencing (storing the value in the variable
    "stopsoundoverlapReq") the "flvplayback instance AFTER theVideo is
    instantiated (ie, the frame that contains theVideo has rendered)"
    correctly.
    Also, now I need help with the name of my nav bar button's
    method followed by parentheses, which should include the
    appropriate method parameter.
    On my main timeline, I tried to clean up the code and use:
    var stopsoundoverlapReq:FLVPlayback =
    stop("videopage.swf/MovieClip(ldr.content).theVideo");
    Then for my nav bar button on this same timeline use:
    any_btn.addEventListener(MouseEvent.CLICK, stopsoundoverlap);
    function stopsoundoverlap(event:MouseEvent):void
    stopsoundoverlap.stop(stopsoundoverlapReq);
    The 3 errors I get now are :
    1046: Type was not found or was not a compile-time constant:
    FLVPlayback. var stopsoundoverlapReq:FLVPlayback =
    stop("videopage.swf/MovieClip(ldr.content).theVideo");
    1061: Call to a possibly undefined method stop through a
    reference with static type Function.
    stopsoundoverlap.stop(stopsoundoverlapReq);
    1137: Incorrect number of arguments. Expected no more than 0.
    var stopsoundoverlapReq:FLVPlayback =
    stop("videopage.swf/MovieClip(ldr.content).theVideo");

  • How to check whether music has finished playing and go to another frame

    I have a bunch of music samples which are set up to play on
    the click of a button, and at the same time go to another frame in
    the movie clip so it says 'playing', with a stop button that takes
    you back to frame 1. If you don't click stop, though, when the song
    ends, it stays on this second frame, even though there is nothing
    playing anymore, which is a bit confusing for the viewer.
    So I need to tell flash to check whether the song is finished
    playing, and then if it is, go back to frame 1. I have no idea how
    to do this; have basically done it all using tutorial and samples
    and my limited actionscript knowledge, but I can't find this
    particular code, and don't really have any idea how to write it
    from scratch.
    Many thanks!
    Here's my first frame actionscript:
    stop();
    this.createEmptyMovieClip ("mcSoundHolder",
    this.getNextHighestDepth());
    var mySound:Sound = new Sound (mcSoundHolder);
    btn_Song1.onRelease = function():Void {
    stopAllSounds();
    mySound.loadSound("Soaring1-Burlesque.mp3", true);
    gotoAndPlay("Song1");
    btn_Song2.onRelease = function():Void {
    stopAllSounds();
    mySound.loadSound("Soaring2-PopCyclePotpourri.mp3", true);
    gotoAndPlay("Song2");
    btn_Song3.onRelease = function():Void {
    stopAllSounds();
    mySound.loadSound("Soaring3-PopCycle-SongofLight.mp3",
    true);
    gotoAndPlay("Song3");
    and so on...

    I am not sure how Tomcat handles this, but you need to use two-way (mutual authentication) request but not enforce SSL between Tomcat and the client browser. This will make the browser prompt the user for the cert they want to send. Then you'll need to tackle the other part of your problem, getting the correct content displayed depending on whether the user sent a cert or not. I'm even less help there than I was on the first part of your question.
    So, yeah - good luck with that
    Lee

  • How can redirect the errorPage to another frame?

    Please advise, I have been sticking to this problem for a whole day and still can't solve it. :-(
    What I basically want to do is to redirect the errorPage to another frame, say, the main frame.
    My application has 2 frames, the main frame is a search page, the left frame is a tree which is written by JavaScript and it is a hidden frame. The form code of the search page in the main frame is like that:
    <form name="form1" method="post" action="FindAgent.jsp" target="leftFrame">
    when the submit button is clicked, it will invoke the FindAgent.jsp which will update the tree and also has codes to catch any exception if there is. The problem is that when exceptions occur, the errorPage will be shown in the leftFrame which is hidden frame so it doesn't show anything. So how can I make the errorPage displayed in the _TOP window?
    I would not mind to have the errorPage displayed in the mainFrame by changing the target to "_SELF" or doesn't specify the target attribute at all in the search page. But anyother problem arose by doing that is that the search page will go away and try to display the FindAgent.jsp which doesn't have any appearance code after submitting. So how can I keep the current search page still but the submit() has been called actually, i.e. submit the form without redirecting the current search page.
    Any suggestions? Thanks in advance!

    Here's an idea. Have your error page (in the hidden frame), look something like this:
    <%
      String strErrorMessage = ... // get your error message text here
    %>
    <html>
    <head>
      <script language="JavaScript">
        parent.mainframe.location = "ErrorPage.jsp";
      </script>
    </head>
    </html>So the error page loads in the hidden frame, which then extracts the error information from the exception object. Then, using javascript, the hidden frame tells the main frame (using window references) to reload to the desired page. The only issue is how to get the error message text to the new page since your exception object is lost. You can store it as a session variable, and then pass the id of the message in the url to the new page, or you could just pass the text in the url itself.
    I hope that gives you some ideas!
    Michael

  • Going to another frame after all items are in place

    Hello All!
    I'm making some simple drag'n'drop games and am using this code to make it work:
    package
        import flash.display.Sprite;
        import flash.events.MouseEvent;
        public class Main extends Sprite
            var xPos:int;
            var yPos:int;
            public function Main():void
                addListeners(s1, s2, s3, i1, i2, i3, n1, n2, n3, p1, p2, p3, b1, b2, b3, f1, f2, f3);
            private function getPosition(target:Object):void
                xPos = target.x;
                yPos = target.y;
            private function dragObject(e:MouseEvent):void
                getPosition(e.target);
                e.target.startDrag(true);
            private function stopDragObject(e:MouseEvent):void
                if (e.target.hitTestObject(getChildByName(e.target.name + "Target")))
                    e.target.x = getChildByName(e.target.name + "Target").x;
                    e.target.y = getChildByName(e.target.name + "Target").y;
                else
                    e.target.x = xPos;
                    e.target.y = yPos;
                e.target.stopDrag();
            private function addListeners(... objects):void
                for (var i:int = 0; i < objects.length; i++)
                    objects[i].addEventListener(MouseEvent.MOUSE_DOWN, dragObject);
                    objects[i].addEventListener(MouseEvent.MOUSE_UP, stopDragObject);
    s1, s2, s3, i1, i2, i3, n1, n2, n3, p1, p2, p3, b1, b2, b3, f1, f2, f3 are objects that need to be placed correctly to win. So when they are placed correctly, what do I do to make the game recognize that the player did everything right? I'd like the game to be able to take it to another frame where a "win" graphic can be seen.
    Any suggestions?

    Ok people, my code looks like this now, there are no compiler errors, but how can this help me go to the next frame? Sorry for noobing you, been working with AS2 before, but this is my first assignment in AS3. A good way to learn something is by being pressured by deadlines
    package
        import flash.display.Sprite;
        import flash.events.MouseEvent;
        public class Puzzle extends Sprite
            private var xPos:int;
            private var yPos:int;
            private var correctCount:int = 0;
            public function Puzzle():void
                addListeners(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12);
            private function getPosition(target:Object):void
                xPos = target.x;
                yPos = target.y;
            private function dragObject(e:MouseEvent):void
                getPosition(e.target);
                e.target.startDrag(true);
            private function stopDragObject(e:MouseEvent):void
                if (e.target.hitTestObject(getChildByName(e.target.name + "Target")))
                    e.target.x = getChildByName(e.target.name + "Target").x;
                    e.target.y = getChildByName(e.target.name + "Target").y;
                    //deactivate object
                    e.currentTarget.removeEventListener(MouseEvent.MOUSE_DOWN, dragObject);
                    e.currentTarget.removeEventListener(MouseEvent.MOUSE_DOWN, stopDragObject);
                    //increment correct count
                    correctCount++;
                else
                    e.target.x = xPos;
                    e.target.y = yPos;
                e.target.stopDrag();
            private function addListeners(... objects):void
                for (var i:int = 0; i < objects.length; i++)
                    objects[i].addEventListener(MouseEvent.MOUSE_DOWN, dragObject);
                    objects[i].addEventListener(MouseEvent.MOUSE_UP, stopDragObject);
    p.s.: just so you know, it's a non profit thing, some games for my child's kindergarten - they are trying to introduce kids to PCs..

Maybe you are looking for

  • HP 5550 Deskjet + USB Print server under Windows 7

    I have a HP deskjet 5550 which still runs fine.  I use the printer as a network printer, at  first connected to my router. However, my latest  Thomson TG789 vn router does not support network printers anymore, so I switched to a dedicated network-to-

  • I have problems with my email. I tried to send a file, which is to large. Now my e-mail is not working properly

    I hope you can help me. I sent a file on ppt through my e-mail. Unfortunately it wasn't delivered and now it seems it is trying to do it without success. The file is very large and I think that is the problem. Does anyone know I could stop the delive

  • Workflow Question w.r.t. one large WMV file....

    Hi.. (noob question) I have a 1 hour WMV file that needs to be edited. I successfully import the video using the flip4mac qt plugin. What is the work flow best practice for editing a file like this? My first thought was to drag the complete file into

  • I can't upload to YouTube

    I have tried to upload to youtube through the Share Tab in FCP X.  The progess bar makes it to 95% every time and just stops.  I have several different videos and the upload stops at the same spot every time. 

  • How do you balance your Audio?

    I have an iPhone and an iPod. Using the same headset on both devices, I get opposite results. On the iPod, my right earpiece is louder. On my iPhone, my left earpiece is louder. I really want to balance them, but can't find a control for this. Does a