ActionScript 2.0 :: {FMXPro} Target Root From Embedded MC?

Feb 24, 2005

I have a movie clip embedded in a scroll pane on level 2 of a multi-.swf project. I am trying to target the root movie to load another .swf (a video player window) from buttons inside the embedded MC. the buttons work on the external .swf but not when loaded onto the main timeline.i have tried on the button itself:

on (release) {
_root._root.loadMovieNum ("vidPlayer.swf", 4);
}

[code].....

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Target Root From Embedded MC

Feb 24, 2005

I have a movie clip embedded in a scroll pane on level 2 of a multi-.swf project. I am trying to target the root movie to load another .swf (a video player window) from buttons inside the embedded MC. the buttons work on the external .swf but not when loaded onto the main timeline.[code]

View 2 Replies

Professional :: Target Root From A Loaded Swf?

Feb 5, 2010

I have a swf called anim1.swf acting as a preloder and loading anim2.swf. anim1.swf is attached to a document class called Racine.as. Once anim2.swf is loaded, how can I target the root of anim2.swf?
 
For example, anim2.swf contains 2 clips called clip1 and clip2. clip1 contains a child called clip1_1. How can I access clip2 from within clip1_1 by using an absolute way (I don't want to use the parent property)?

N.B : a way would be to have a document class attached to anim2.swf, but here there is none.

View 5 Replies

ActionScript 3.0 :: How To Target Variable Defined At Root

Jul 13, 2009

I want to find out the value of an index of an Array defined on the main timeline, from within a MC on the stage. In AS2.0 this would be as simple as trace(_root.mk_contArray[0]). In AS3.0, naturally something like trace(root.mk_contArray[0]) just doesn't work, nor any other variation I've tried. Is it something to do with addChild()? This instance is named, but I haven't used that method.

View 3 Replies

Actionscript 3.0 :: Referencing .root In Embedded Swf

Jul 27, 2009

dynamically loaded swf files that employ .root syntax. I'm loading in several older swf files into a master swf. The master has a previewer that lets the user preview the library of swf files. Some of these older swf files have buttons in them that use .root, and I don't want the .root to effect the master swf, but the loaded one.

View 5 Replies

Make Button In Movieclip Target Back To Main / Root Timeline?

Oct 1, 2009

I have some submenu buttons in a movieclip on the mainline. My first level of navigation in on main timeline. The submenus are grouped in movieclips on the main timeline. I basically used the same code on the main navigation for the sub navigation except the code for the submenus is in that movie clip. My trace statement reads the button is clicked (which was a quantum leap for me) but I know I need some kind of _parent code in there so it knows to go to label back on main timeline.[code]...

View 3 Replies

ActionScript 2.0 :: Passing Variable To Root To Play After Embedded Movie

Jan 5, 2012

I have a movie embedded and I am passing a variable to the root movie for it to play when the embedded movie is complete. I know the variable is getting passed because I am displaying the value in as dynamic text but the parent movie will not play. This is what I have:

stop();
row = 0;
if (row == 1) {
this.gotoAndPlay(2);
}

Row is being passed from the embedded movie as
_root.row = 1;

I know there is a way to tell the parent movie to play from the embedded movie by using TellTarget but I would like to find out why this doesn't work.

View 1 Replies

ActionScript 3.0 :: Crossdomain Policy File On Root Level Cannot Be Deployed On Root Level? 

Jan 14, 2009

Situation:

- We have a Flash application located on a SAP EP (let's say ep.x.com)

- We have a SAP ABAP Application (Webservices) on a SAP WebAS
server (abap.x.com)

- Clarification: This is not about Flash islands / but a normal Flash application communicating with WebAS ABAP via WebServices

Problem: Due to the changed security policy in Flash 10 this scenario does no longer work.

- A crossdomain policy file on root level cannot be deployed on root level

- The WebServices http/s headers cannot be modified, since the WebServices are generated by the WebAS IDE.

Comment: Technically there is a way to patch a WebAS ABAP,but this is not a practical / acceptable way in a normal SAP WebAS infrastructure.

Conclusion:- The above scenario (Flash from EP content / WebAS ABAP as backend) is a quite normal scenario in the SAP world.

- SAP / Adobe always features the close relationship between their technologies.

Question:- What could we do?

- How does the Visual Composer works around that problem?

View 1 Replies

Actionscript 3 :: Position Loaded Object Based On Root Stage Instead Of MC That Is Loaded From Root

Mar 22, 2010

I have a root stage, and a MC that is called from the root stage.Now from that MC, i will called in another MC2, and I wanted to placed the MC in the center of the stage. The reason I could not use normal ADDED_TO_STAGE at MC and define the center is because MC is not place in the exact position of the root stage (as in x, y=0). So if I would target MC2 at MC stage center, it would not be the exact center of the root stage/screen.How can I called the root stage properties rather than adding MC2 into the stage?

View 1 Replies

Flash - Tell The Root Timeline To Root.gotoAndStop(2); From The Timeline Of A MovieClip Added Using AddChild?

Nov 7, 2011

How do you tell the root timeline to root.gotoAndStop(2); from the timeline of a movieClip added using addChild?In the maintime line I have

addChild(fade_eng);

and in fade_eng I have the following on frame 20

root.gotoAndStop(2);
this.gotoAndStop(1);

But I am getting 1061: Call to a possibly undefined method gotoAndStop through a reference with static type flash.display:Stage.

View 1 Replies

ActionScript 2.0 :: Stop Further Items Being Dragged Onto A Target When The Target Box Is Full?

Sep 29, 2003

On the attached exercise, is it possible to stop further items being dragged onto a target when the target box is full?

View 1 Replies

Flex4 :: Difference Between Target And Current Target

Nov 28, 2011

What is the difference between target and currenttarget in flex?What is the difference between Target and Current Target in Flex especially in mouse events.

View 2 Replies

Javascript :: Gain Access To An Embedded Flash Video's Parameters That Is Embedded On A Site You Don't Own Via A Browser Extension?

Jan 2, 2011

I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:

Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)

Is this possible by using Javascript and HTML5 from a browser extension?

Would I have to use something like the SWFObject Javascript API [URL]

View 1 Replies

Flash Won't Load When Embedded But It Works On The Published Embedded Html?

Nov 11, 2009

I made a flash mp3 player and it works fine in any other test pages. but when i embed it onto my site it just shows blank. what do i do? my site is [URL] and the flash player i tested here [URL] and it plays. What im i doing wrong? i tryed everything. right now i just got it in a iframe but i dont want that iframe.

View 1 Replies

ActionScript 3.0 :: Value When The Text Is Dynamically Embedded And Correct When Manually Embedded?

Oct 19, 2007

Looking at the attached file, why does bottomScrollV give me the wrong value when the text is dynamically embedded and correct when manually embedded?

Here's the code:
ActionScript Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoad);
loader.load( new URLRequest("info.xml") );

[Code]...

View 1 Replies

ActionScript 3.0 :: Target Movieclip With E.target?

Aug 30, 2010

qi have a movieclip which is added to the stage:

var profileholder:profileHolder=new profileHolder ;

inside of profileholder is another movieclip(infoBtn) that acts as a button.when the mouse is over profileholder i want to do something with infoBtn like:

//profOver is the over state of profileholder
function profOver(e:Event) {
e.target.infoBtn.alpha=1;
}

this doesn't work and brings up this error:ReferenceError: Error #1069: Property infoBtn not found on flash.display.Loader and there is no default value.
at main_fla::MainTimeline/profOver()

i also tried:
function profOver(e:Event) {
var item:profileHolder=e.target as profileHolder;
item.infoBtn.alpha=1;
}

and get this error:TypeError: Error #1009: Cannot access a property or method of a null object reference.

View 1 Replies

ActionScript 2.0 :: Error - Target Not Found: Target="whoweare" Base="_level0.instance20.instance48.instance49"

Mar 14, 2005

i don't know why this isn't working.i got a button. and when it's pressed, i need it to go and play a frame in a movie clip. i'll test it and then when i click on it, i get this:

Target not found: Target="whoweare" Base="_level0.instance20.instance48.instance49"

this is the code that i am using:

on (press) {
tellTarget ("whoweare") {
gotoAndPlay (51);
}
}

View 14 Replies

ActionScript 2.0 :: Target Not Found: Target="_root.icon01" Base="_level0"

Feb 16, 2005

so, i'm making an animated rollover, and i get an output error that says this:

Target not found: Target="_root.icon01" Base="_level0"

i have no idea what the base="_level0" means.

View 1 Replies

Actionscript 3 :: Possible To Use A Non-embedded Fallback Font When Using An Embedded Font With TextField?

Sep 10, 2010

I have an embedded font in my AIR/AS3 app that lacks support for most internationalcharacters. Using TextField and StyleSheet with the font-family property, I assumed I would simply need to do this:font-family: Interstate-Regular, _sans;This works if TextField.embedFonts = false; but then Interstate-Regular isn't embedded for users that don't have it on their system. With TextField.embedFonts = true; the text doesn't even show up. Is there a way to embed Interstate-Regular and still use _sans as a fallback system font without embedding it as well?

View 1 Replies

C# :: Embedded Languages That Can Be Embedded Into C#?

Sep 9, 2009

I'm looking for a embedded language that can be used to script common code between a server app written in C# and a client app written in Flash/Actionscript. It is important that the embedded language interpreter run natively in the environment it is embedded into. For example, it cannot load any external C libraries (i.e. python, neko).

Does such a thing exist for these two languages? Perhaps there is some minimal interpreter that could be easily ported to both?

View 2 Replies

CS3 :: Swf Link To Root?

Mar 24, 2009

I have a button in my main file (Interiors-02.swf) in Scene 1. When I click it it loads an outside swf (buttons.swf) into a blank movie. This movie has 10 buttons. What I want is for when I click one of those buttons to go to Scene 2 or 3 in the main file (Interiors-02.swf) Can I do this and what would the code be for the button?

View 1 Replies

Referencing Varible In Root From MC?

Mar 28, 2009

I have a varible in my root

Code:
place = "1";
i want to refence it in one of my MCs so that i can run a statement like this:

[code]....

View 2 Replies

From External As File To Root?

Sep 16, 2010

I have my main fla and then I have a actionscript named bullet.as in the bullet.as I create a bullet using "this" throughout the script now how would I call the bullet on my main timeline?

View 1 Replies

Does Flv Have To Be In Same Root Folder As Swf File

Jul 27, 2009

i have uploaded a simple 1 page website with the flash video sitting outside of the root folder of the site itself. i have pointed the flv playback components to the video and published it and uploaded it but the video does not appear on the pages.

View 1 Replies

ActionScript 3.0 :: Getting A Root Var In A MC Class?

Sep 3, 2009

I have a variable on the root timeline that I would like to check for in a class of one of my movieclips. The movieclip get added to the display list via addChild. If I check for the var, I get this error message:1120: Access of undefined property myVar How can I be able to see that var?

View 7 Replies

ActionScript 3.0 :: Cant Get Mc To Play On Root?

Sep 13, 2009

I have a movie mc that contains buttons called menuMovie.I also have another movie clip called "myMovie". There is an instance of menuMovie on the main timeline in keyframe1 called "_menuMovie_mc".There is also an instance of myMovie on keyframe1 called "_myMovie_mc" .I want to have one of the buttons in menuMovie play myMovie.mc which has a label called _here". My understanding is:

root._myMovie_mc.gotoAndStop("_here");

View 2 Replies

ActionScript 3.0 :: What Is Stage And Root

Jun 29, 2010

Okay, I did a search on stage and got a lot of forum threads going in different directions about static and global variables. _root to my understanding no longer means the main timeline, it's the root of...what? and how does this relate to the stage? Is the stage there or does that need and addChild() as well? Like, overall I guess my main question is, "What is the proper way of incorporating stage and root in document class structure?" I built my entire site using the structure, but I learned halfway through that I had to use addChild() to make it a display object. I'm trying to get this down so next time I get it right.

View 3 Replies

ActionScript 3.0 :: Add A Movieclip To The Root?

Mar 24, 2009

I have a .fla file that has VerticalMenu.as as the documentclass. In that class, it calls another class called MenuItem.as.Within MenuItem.as, I want to be able to add buttons to the themain timeline (the root), but when I do addChild, it'll just add itto the menuItem object. How do I reference the root fromMenuItem.as to add the child there

View 1 Replies

Access Levels And Root?

Oct 8, 2010

I cant believe how the simpliest things are more complex to do in AS3.I tried to target a movieclip from inside another movieclip called bat_mc and these dont work!root.ball_mc.gotoAndPlay(2);orlevel0.ball_mc.gotoAndPlay(2);

View 1 Replies

Flex :: Access Root In AS3?

Feb 24, 2010

Say I have code in my main mxml and in a function like this:

this.addChild(someContainer);

and now I want to refactor code and move this to it's own class and method in a separate file. How could I access root now, since this obviously now points to the new class I created.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved