IDE :: Deep Buttons Within A Header?

Mar 1, 2010

I have buttons in my header and the header has animations on it so I have no choice but to place the buttons deep inside the header movieclip. Now, the problem is that the actionscript on the main timeline can't access the buttons.

Here is a sample of my actionscript:

about.addEventListener(MouseEvent.CLICK, clickSection);

If I place the button on the main time line. I get no errors. But when I place the button deep inside the header, I can't seem to access it.I checked the layers and it indicated "Scene 1", "Header2", "Header", and at the very end of that are the buttons so I tried doing this:

Scene1.Header2.Header.about.addEventListener(Mouse Event.CLICK, clickSection);

I obviously failed.

View 3 Replies


Similar Posts:


IDE :: Deep Linking, No Error Messages, But Buttons Wont Work?

Jun 16, 2009

stop();
reel_btn.addEventListener.(MouseEvent.CLICK, onReelClick);
samples_btn.addEventListener.(MouseEvent.CLICK, onSamplesClick);

[code]....

View 2 Replies

Flex :: Run ClickHandlers On Buttons Moved From Main View Component To Header Bar?

Jun 7, 2011

I've used JRab's example here [URL]... to add a header menu to my app. What I'm having trouble with is executing my functions from the header mennu. For example, my firstView is appHome.mxml. It instantiates a Canvas object that has an erase(). There is a button in appHope.mxml that executes the erase() on the Canvas instance. I'm trying move the Erase button out of my appHome.mxml and into my headerMenu.mxml but don't know how to execute the erase() on the Canvas instance. The first thing I thought to try was click="{appHome.myCanvas.erase()}" but obviously that didn't work.

I asked a similar question yesterday here: Flex executing a function on another view and I accepted the answer before I tried it. The problem is that the headermenu.mxml is not a child of appHome.mxml. They are both children of the main app.mxml. Secondly, the object that has the erase() is in a separate .as class I instantiate in appHome.mxml.

View 1 Replies

Getting Deep Into Flex?

Jan 1, 2010

The better you understand what you are doing, the better you will do it. I want to get Deep into Flex . I did some simple Event-Handling and The better you understand what you are doing, the better you will do it.

But i have i big question: What does the Compiler do ? What happens with the MXML file ?

lets say we have a simple code ( code from blogflexexamples):

[Code]...

View 3 Replies

Professional :: Deep Linking Into Swf?

May 24, 2011

Ive been working on a site TheCondoBar which will be up and running soon..... but im trying to figure out some steps on "deep linking" into specific frames. i would like to have deep linking to the tabs I have at the top of the swf file  Flash File .... and recommendations on what could be done

View 1 Replies

Flex :: Deep Copy Possible In It?

Apr 12, 2012

Is deep copy possible in flex 4.5?

View 1 Replies

Deep Linking Or Using Swf Address

Dec 18, 2007

tutorial on deep linking or using swf address.Also my site uses currMovie for it's page transitions. I've noticed the examples seem to have all their pages on the main timeline. Is it possible to deep link with external swf's?

View 2 Replies

ActionScript 2.0 :: Deep Linking With SWFaddress?

Jan 15, 2010

I'm trying to get to grips with SWFaddress and struggling a littleJust trying to work out how to place the mc buttons into one movie clip.The code on the mc buttons is :

Code:
this.deepLink = '/about/';
this.onRelease = _parent.btnRelease;

[code]....

View 3 Replies

Actionscript 3 :: One Way Deep Linking In PureMVC?

Sep 2, 2010

A project requirement is that it be 1 way deeplinkable(a specific query string will load a section within the swf).I have a URLProxy that I use for all external linking. It makes sense to me to put the query string logic in this proxy. So in the constructor, I check for a querystring, and then send a notification if it equals a predefined value.One problem with this is that I'd like to predefine this query string key value I am checking against in an external xml file. So another proxy, loads-parses this config xml, then the URL proxy checks against this.

View 1 Replies

ActionScript 2.0 :: Deep-Linking With External SWF's?

Nov 12, 2010

how i can achieve deep linking with the external swf import technique? Im using the "Transitions Between External SWF's" tut from Kirupa but am not able to post a link here since im new. I have created a website that has this functionality between sections and would like to apply the deep linking to it.

View 9 Replies

ActionScript 3.0 :: Deep Linking In Flash

Nov 14, 2010

I just posted an article about deep linking in flash and thought that you might be interested: [URL]

View 0 Replies

ActionScript 3.0 :: Deep Linking With SWFAddress?

May 4, 2011

Yo. Im trying to get deep linking working with a flash website im building. Im using SWF Address (asual.com/swfaddress). In my code I can set and get the current address value my using SWFAddress.setValue(), and SWFAddress.getValue(), but I can't for the life of me get the address bar to update accordingly.

View 4 Replies

ActionScript 2.0 :: Deep Linking Into Flash?

Oct 7, 2004

If there is a link to a section of a flash website from an HTML and/ or another Flash Movie... is there a way that the link could load the next Flash movie and then go to a specific keyframe or, even better, allow a custom animation to play when the user goes from the link on the first page to the "deep link" within the Flash movie?I can try to clarify the problem and question if I have to. Curious if this can be done and if anyone out there has had any success.Have used named anchors before to allow Windows toggling and bookmarking of Flash sections... however, this would have to work on ALL platform browsers and as info is somehow passed into the new Flash movie it seems different altogether

View 10 Replies

ActionScript 2.0 :: Deep Linking In Flash?

May 28, 2007

DEEP LINKING in Flash. [URL]

View 1 Replies

ActionScript 2.0 :: How To Navigate Deep In Flash

Oct 18, 2007

Im building a flash app that has variouse movs embedded in the one file. Basically i have 2 frames on my main time line.. within one of those frames i have a movie clip with the instance name 'pan' and within 'pan' i have a button and a movie clip called 'inpan'. Basically what i want is when someone clicks on the button (inside pan) i want the movieclip 'inpan' to jump to the second frame.. the action im trying to add to the button is..

[Code]...

View 3 Replies

ActionScript 2.0 :: Novice Drowning In The Deep End?

Nov 19, 2007

OK, so i began sifting through the tutorials on the site and found the one on faces and depths in the 3D section [URL]..From my understanding the actionscript creates the cube inside a movie clip, is there a way to turn each face of the cube in to a link/button to the next scene? if so how would it be done?

When i rename face0, face1,face2 etc the cube messes up, is it not possible to change

[Code]...

View 1 Replies

Flash :: IDE - DDL - Deep Dynamic Linking

Feb 9, 2009

I want to find a relatively easy solution for deep dynamic linking within flash. There are plenty of tutorials out there, so please don't jump to the conclusion that I haven't done a search. What I am looking for is a tutorial that should theoretically be easy to follow for someone who is a non-coder.

View 2 Replies

AS3 :: Flash - Swfaddress Deep Linking When Someone Pastes A Url?

Nov 6, 2009

I have swfaddress (2.4) working fine on my site - the back button works, I can copy and paste urls and be taken to the correct page, etc.BUT, if I copy a url, say and paste it into a new browser window, the site always just loads to the home page after the preloader. What am I missing? Do I somehow need to check the url when the page loads?

View 1 Replies

Flex :: Using # For Deep Linking Into Dynamic Apps?

Jul 21, 2010

I have a Flex app I built. It uses the BrowserManager class to listen for changes in the # part of the URL. When a change is made to the hash my application updates accordingly so you can link directly to a state of the application. Also inside my programming when a user clicks something, all I do is use the BrowserManager to update the # and then my listener will apply the correct changes once its finished. I believe this is the best practice way to doing this in Flex.

I have some issues though. When using the Back button in FF or IE, it gets "stuck". for example if the hash is like #state4 clicking the back button will take you to #state3 then #state2 but sometimes get stuck where you can be on #state3 click the back button, see it flicker to #state2 real quick then change back to #state3 preventing you from going back any further in your history.

[Code]...

View 1 Replies

AS3 :: Getting The Mouse Targets Children One Level Deep?

Jan 24, 2011

I want to find only the first level of children. Right now I'm using e.target.name but this is also catching those targets children. How would I prevent this?

View 2 Replies

Flex :: Deep, Generic Serialization Of Objects?

Jan 24, 2011

Is there any way, without having the creator of the object implement any special functions (no specific serialization functions) (however, they can use annotations), to have Flash serialize a generic, possibly deep (objects within objects within objects, etc, etc, etc) object?

View 2 Replies

ActionScript 3.0 :: Swfaddress Works, Except When Deep Linking?

Aug 6, 2009

I have sucessfully built a swfaddress site that works fine when you are navigating about, but if you go to a new url and then use back to return to the site, it goes to the correct frame, but the movie behaves as if it has lost some of the settings I made like stage.ScaleMode, and some of the functions and variables I defined on the main timeline are suddenly gone. The same thing happens when I paste in a direct link. The movie successfully goes to the page, but anything I've defined on the main 'actions' layer doesnt take any more.

View 5 Replies

ActionScript 3.0 :: Deep Linking Multiple Levels?

Oct 10, 2009

I'm working on a portfolio website of a friend using AS 3 and after a lot of reading and testing I have implemented deep linking for the main categories of the website. Now I need to figure out how to do it for the 'level 2 and level 3' content, for example a category and a project.

I have thought of this. Let's say this is our string of swfaddress: /portfolio/illustration/freelance-city

I would use a String.split like this:

var addr:String = new String("/portfolio/illustration/freelance-city");
var splitted:Array = new Array();
splitted = addr.split("/");

I will check: if the array is 1 long, do only level 1 stuff if 2 level 1 and 2 (go to correct main category and portfolio category) if 3 do all levels (go to correct main category, portfolio category and project) Right now, the array will have 4 items (it should be 3).

is this a reliable way to work for deep linking multiple levels? Any general tips for deep linking this kind of content? And how can you make sure the string splits 'after' the delimiter? To make sure the stuff before the first "/" isn't counted.

View 2 Replies

ActionScript 2.0 :: Link A Button To A Deep Nested MC?

Apr 8, 2011

Tried applying different AS that I've found online but none has worked.

View 1 Replies

ActionScript 3.0 :: Using Swf Address And Swf Object For Deep Linking?

Mar 6, 2012

I have made a image gallery in xml. where i have a main.swf which loads thumbs.swf ( thumb comes from xml file).when i click on thumbnail it loads a slide.swf file.where i have 2 buttons next and prev.next button loads the next swf.prev button loads the previous swf.i want a unique url for each swf loads from xml in next and prev button..i tried a lot by using swf address and swf object for deep linking.

View 4 Replies

ActionScript 2.0 :: Unload A Movie That Is Embedded 3 Deep?

Jul 28, 2005

I have movieA.swf, movieB.swf, movieC.swf. movieB.swf loads movieC.swf.

I have a button in movieC.swf, which when clicked, I want it to unload itself.

I've tried loads of things... but nothing seems to work. The empty movie in which movieC.swf gets loaded into movieB.swf is called, emptyHolder, say for example.

In movieB.swf, I've tried to do the following:

_root.dummyHolder = emptyHolder.

And then movieC.swf, the button code is:

myButton.onRelease = function() {_root.dummyHolder.unloadMovie();}

Unfortunately, this doesn't seem to work.

View 1 Replies

ActionScript 3.0 :: Deep Linking - External Swfs And Swfaddress

Aug 23, 2011

I'm implementing swfaddress in my project, which starts with a main swf with various menus. When a menu item is clicked, it signals a url change, and the url change loads a corresponding external swf. All works swimmingly here. But... what if I wanted to have another menu from within the loaded external swf, and have that have its own loaded external swfs, url change etc, as well? For example, on my home page, there is a menu item called "news".

Once "news" is clicked, the url changes and loads a "news.swf" into a holder on the main swf. Now, in the "news.swf" there is yet another menu, this one with two buttons: one button says "Article 1" and the other "Article 2" and each would signal a URL change and load "article1.swf" and "article2.swf" respectively when clicked. Is there a way to get the menus on the external swf to communicate with the swfaddress that is happening from within the main swf so that every swf has it's own url address and different events triggered by that change? so the url for article 1 would look something like [URL]

View 11 Replies

ActionScript 3.0 :: Download Deep Embedded Flash File?

Oct 1, 2011

I want to download the free game at [url]... On loading the game, I found that the flash file wrapper is located at[url]...However, if I download this file, it does not have the game as it looks for main.swf. My question is, is there a way to download the actual file?

View 1 Replies

Actionscript 3.0 :: Parsing Multi Node Deep Xml Into An Array?

Jun 22, 2009

Anyhow, I am attempting to parse the following xml example into an array for accessing later in my flash file:

Code: Select all <root>
<books>
<book>

[code]......

View 3 Replies

ActionScript 2.0 :: 3 Levels Deep Transitions Between External Swfs?

Sep 12, 2005

I am having difficulty making the buttons of the 3rd level load the final set of external swfs and keep doing the smooth transitions they are supposed to, with midframes and outros. Somehow I am messing up the paths. I have several buttons in each level and they all work fine except the very last level.Below are a characteristic string of button AS for each level:

Main timeline:

on (release) {
if (_level0.currMovie == undefined) {
_level0.currMovie = "firm";
menu.loadMovie("firm.swf");

[code]....

All buttons inside assoc.swf are not working. I played around with the paths, but obviously I am missing something very simple and very ellusive about pathing. If I change the path in firm.swf so that _root is _lever0, then THOSE buttons stop working.

View 3 Replies







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