CSS :: Implement Real Cascading Or Child Selectors

Nov 19, 2010

We all know there's CSS support in AS3. But actually it's not CSS, but just SS. Is there a way to implement cascading? For example I have
Compare <em>regular italic</em> and
<strong>bold text or event <em>bold italic.
</em></strong>
How can I define special fonts for regular italic and strong italic? How is it named? Basically "How to make styles for child selectors work?"

View 1 Replies


Similar Posts:


Javascript :: Use Various Selectors In SIFR 3r436?

Apr 15, 2010

sIFR.replace(neutra, {
selector: '#nav li',
css:[ 'a { color: #ffffff; text-decoration:none; font-size:14px} a:hover { color:

[Code]....

and i need to style a b inside a span inside a div ... and i just can't find the way, if i add another sIFR.replace(blah... it won't work, it messes with the other replacement sometimes

View 2 Replies

ActionScript 3.0 :: Cascading Particles/stars Etc?

Feb 10, 2009

I need to get something similar to this done in a short period of time, so I don't have much time to play around.

Does anyone have a similar code/tutorial or anything that resembles this?

View 3 Replies

ActionScript 2.0 :: Get The Real X And Y Positions Of An Object In The Real Movie?

Jan 19, 2005

im just wondering if theres a way to get the real x and y positions of an object in the real movie ( the root screen) that is locted in another movie

i have an object which is within 2 movie clips, first one and then another , and then my object, now i want to know what the real x and y positions of it is, not the locations realtive to the movieclip it is inside.

View 5 Replies

ActionScript 2.0 :: Load Movies - Cascading Window System?

Mar 1, 2005

I am building a site, and for each page I am using a draggable window. Each window is in a seperate swf file, so the need to be loaded.I am going to have the windows cascading so you have to close them to get rid of them.However i thought it would be nice so when you clicked the tab of a window, which is hidden beneath any other windows that are open, it pops up to the front, just like microsoft windows really.I was just wondering how i would do this, i thought about loading the swf's into levels, and thought maybe there was a script which could swap levels or something.

View 4 Replies

Flex :: Warning: Css Type Selectors Are Not Supported In Components 'sparks.component.TextInput'?

Jun 26, 2010

I am trying to do a simple CSS declaration. However, I got the warning above and not sure how to solve it. I thought s|(type) should declare the style for me

<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";[code]....

View 1 Replies

ActionScript 3.0 :: Multiple Buttons To Open Child Swfs Then Be Able To Close The Child From Within The Child?

Mar 25, 2009

I have a picture on the stage that has multiple items that have hotspots/links over them that should open a child swf on top of the background and show details about the items. then have a button in the child swf itself that removes the child from over the background so the user can click on another item etc.I found this code in someone's post and I am trying to modify it so that works for multiple swf files...it currently works for a single swf.I wan to pass the name of the button in front of the .swf in the URLRequest to have the same name as the instance name of the referring button. But I can't figure it out. Here is the code I am using on the stage

View 2 Replies

ActionScript3 :: Get Real Url Of Page In Which Swf Is Placed?

Nov 27, 2010

So I tried

var url:String = String(this.loaderInfo.url);
var request:URLRequest = new URLRequest(url);
try {

[Code]....

but thay bouth return me to [URL] while I had url [URL] I use flash builder. So what shall I do to recive real full link - not swf link?

View 1 Replies

Flash :: Use FXG In Real World?

Feb 26, 2012

Have anybody found or seen real world example of using FXG files in real world applications?

View 1 Replies

ActionScript 3.0 :: Masking In Real Time?

May 30, 2009

I'm currently using the Graphics library to draw bands of color across an image (bitmap).So, I draw a square of colored bands, and mask it with the bitmap image. Unfortunately, when I use a mask (or even set the blend mode to .LAYER, OR use a shader filter) the FPS drops to un-usable levels.Is there some way that I can draw the bitmap shape I want without killing the FPS? I was thinking that I could like, draw the bitmap on top of the sqaure of Graphics, and then make a certain color transparent.

View 7 Replies

Delete A Shape For Real In JSFL?

Sep 24, 2009

I have this big JSFL project I'm working on that involves deleting a raw shape (ungrouped) and then replacing it with another one. The problem is that the original shape doesn't always actually get erased (I haven't figured out the precise circumstances where this happens yet though).  Even if it does get deleted, though, when I draw the new shape on the stage (using Path.makeShape), the new shape has extra vertices where its edges cross those of the original shape. So even if I end up with the correct-looking shape on the stage without the one that was there before, my shape I just created is likely to have extraneous vertices (and I need the vertices to be unchanged).

View 2 Replies

Javascript :: Create A Web Real Time App?

Mar 13, 2010

I want to create an application like this:

[URL]

What is the most efficient way to create this real time application ?Flash ? Long polling ? Http Streaming ? or anything else ?

View 3 Replies

Flex :: Get The Real Objects Width?

May 3, 2010

when I check the width of my objects I always get 0. Here is an example:

newTag = new LinkButton();
newTag.label = dataManager.tagViewTimelineModel.tags.getItemAt(i).name;
newTag.setStyle("color","#FFA500");[code]....

I guess because width is a property I can set, but it is not automatically computed by Flex. How can I know how big are my objects (as conseguence of the included text ?)

View 3 Replies

Actionscript 3 :: Make Swf Address Be A Real URL And Not Use A #?

Mar 14, 2011

Is it possible to make swfaddress, or any script really, to allow flash to change the URL displayed(without actually switching to a new page) in the browser to anything I choose? I realize that swfaddress makes the url so that it will always refer back to an originating swf file, which is great, but a web template I'm working on will always load a swf, no matter what URL you visit on the site. The difference will be what content is immediately loaded. As you navigate through the flash to different articles, I want to be able to change the URL to be that of the article as if it was an html page, as I'm going to have matching html content for SEO purposes. This is going to be a large site and I want to optimize it for sharing and searchability

View 2 Replies

Php :: Real-time Streaming Of An MP4 File

Apr 8, 2011

Is it possible to play the video (mp4) in real time using some flash player? What I mean by in real-time is that player would receive data on the fly, not from alredy saved file but e.g. php script (which sends appropriate content-type header) THAT IS DOWNLOADING AND 'ECHO-ing' THE FILE AT THE TIME PLAYER PLAYS IT - like e.g. some kind of live stream.

View 3 Replies

Html :: Have Real 3d Models In Flash?

Sep 30, 2011

[URL] I was told HTML5 might be involved, how? And how to have real 3d models in Flash?

View 1 Replies

ActionScript 3.0 :: Creating A Real URL W/ AS Code?

Jan 15, 2009

how do most people deal with different URLs in flash/AS3?

for ex., I want to have a site like:

mysite.com/
mysite.com/images
mysite.com/videos

but i know this has been annoying to deal with in the past. how do people create these real links currently w/ flash?

View 6 Replies

ActionScript 3.0 :: Real Width And Height Of A MC?

Aug 10, 2010

Lets say that I have a MC called "myMovieClip", and in it there is a: Layer 1: 100px X 100px square Layer 2: 200px radius circle And Layer 1 is set as a mask for Layer 2. Is there a simple way to get the dimensions of the visible elements of the mask effect, and not the bounds of all of the elements in "myMovieClip"?

View 2 Replies

Professional :: Drawing In Real Time In A Film

Aug 1, 2010

Drawing in real time in a film

View 6 Replies

ActionScript 1/2 :: Make A Real Movement Animation?

Jan 6, 2011

how to make a real movement animation.I saw some game makeing movement program i saw its not that hard .They register movement from on other movement or video some litlie spots are placed in some colors and registring the movement and applyed in the new animation.

View 1 Replies

PHP :: Flex - Output Of C File In Real Time?

Oct 31, 2009

I have a C executable (named myprogram). When I run it by ./myprogram I get some output statements on the standard output of my Linux shell. I used run.php to get access to whatever is being printed to the standard output:

#run.php
<?php
$output = shell_exec('./myprogram');
echo $output;
?>

Then I called an HTTPService having id="service" to access this run.php file and I also set the text attribute of a TextArea to {service.lastResult}. When I run my Flex app, the interface kind of halts for a moment and then the TextArea displays all the 20 lines at once. But if program is run from Linux shell they appear one by one. Is there a way by which I can display a line as soon as it gets printed to standard output? This will then make the TextArea show the output in real time.

Or is Flex unable to do this? Rather how can a PHP program achieve such effect i.e. showing, whatever is being printed on standard output, concurrently in the browser in real time? Myprogram outputs 20 lines each after some microseconds. I want only the first line of standard output to appear in TextArea of Flex or in the browser (but in real time) while the program may then continue running the program.

View 3 Replies

Actionscript 3 :: A Real DrawText Call In Flex?

Dec 22, 2009

I am now developing a Flex application in which I need to control each pixel of my control of Flex. I want to calculate that how width and how height of some text used in my control and do some layout stuff.After some searching I find that the only way to draw text in Flex is to use something like TextField. So, I use TextField to display text and try to get the width and height of the text through:

textfiled.getLineMetrics(0).width/.height;

But the real textfield is much more bigger than this, so I do:

textfield.width = textfiled.getLineMetrics(0).width;
textfield.height = textfiled.getLineMetrics(0).height;

But, the textfield get part not displayed, and I am surprised by this effect. I know there should be a 2-pixel gutter around the text, but what the remain space? Why nearly 20% part of the text height/width are not displayed?

how can I get a real drawText call in Flex, I mean something like Windows's drawText method...

View 2 Replies

Flex :: Who Uses IntelliJ For Real Commercial Projects

Jul 6, 2010

Just a simple question: Would you prefer IntelliJ? If so, what are the Pro- and Cons?

View 2 Replies

Php :: Real-Time Communication Between Flex Application?

Nov 19, 2010

I have a Flex/AIR application communicating with a PHP server application. Recently my client requested real-time-like connectivity between the applications to replace what we currently have; refresh buttons which have to be clicked to refresh data.So effectively the server needs to push data to the client when something changes. I can write the code that detects when something changes, but I'm not sure about the push side of things.

View 4 Replies

Php :: Play Mp4 Videos In E.g. Flowplayer In Real-time

Apr 8, 2011

How to play mp4 videos in e.g. flowplayer in real-time (streaming) - without downloading it fully first?

View 2 Replies

Flash 9 :: Animations Updating In Real Time

Aug 21, 2008

We're currently building a fairly big dynamic website, and I was wondering if there was a way to have an animation that updates and move in real time as there's action on the site. Ex. red bulbs light up each time a user posts something on the forum or whatever. It'd be all related to the mysql database.

View 1 Replies

ActionScript 3.0 :: Save Image / Pdf From Swf In Real-time?

Jan 23, 2009

I am looking for the script to save image or pdf from swf in real-time.

View 0 Replies

ActionScript 3.0 :: Getting The Real Movie Width From The Stage?

Feb 3, 2009

I need to get some parameters of a movie adding an as3 code to the beginning. As the code will be inserted in many movies, I need it to be 'general' without any reference to the names of the clipsIn particular, I need to retrieve mouse coordinates and the real movie width. For real movie width I mean the width to whom are referred the mouse event stageX and stageY.For example in this movie http:[url]... the width I'm talking about is the white frame. In fact if you use

ActionScript Code:
stage.addEventListenere(MouseEvent.CLICK,func);
function foo(e:MouseEvent):void[code]....

to get coordinates onclick and you click on the top-left corner of the white layer you'll get 0-0 or similar values.I tried to get that relative width using

ActionScript Code:
stage.stageWidth

but this returns me just the object width (so 100% of my page in the previous example) while I need only the white part width.how can I do this without using any name and referring just to the stage of my scene?

View 4 Replies

ActionScript 2.0 :: Change Text Value In Real Time?

Aug 23, 2009

I have made a shopping cart. And in it I have a quantity text field that the user can change. If the user is changing that value the hole total price thing is changing. My problem is that I lose my self in that part where I have to modify the total price/all products.

View 9 Replies

Synchronized, Real Time Viewing In Flash?

May 30, 2009

I'm looking to create something within Flash that I've not yet seen done.It will be a shared, real-time interactive session. What I want to know is, is it possible to create an individual, private session within Flash that is synchronized between two or more computers? I am doing this for the medical profession, but I can also see this would have benefits in the gaming community as well. I'm trying to create something that two specific users can interactively share in real time.

For example,a coloring book.Two players,or as many as you want, log in together and share a private coloring session. They will be able to interactively see anything that the other person is coloring in real time.The other people would also be able to color and let everyone else see their work.

View 1 Replies







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