PDA

Volledige versie bekijken : Dynamic tekst vak draaien


jankees
%Europe/Berlin %628 %2005, 16:04
Hey ik ben bezig met een website in flash voor mijn band, maar ik heb een probleempje ik heb een dynamic tekst veld gemaakt. maar ik wil dit graag roteren zodat dit mooi op de pagina past. Maar als ik dit doe dan verdwijnt de tekst van het vlak. Weet iemand misschien waardoor dit komt? of heeft iemand dit meer gehad? ik heb de twee tekstvlakken al in een MC gezet maar dit helpt ook niet. Ik hoop echt dat iemand mij kan helpen

de swf kan je hier zien: http://www.moutonfou.nl/newsite/site.swf
de fla staat hier: http://www.moutonfou.nl/newsite/site.fla
de zip met alle paginas staat hier: http://www.moutonfou.nl/newsite/site.zip

Ik hoop dat jullie mij kunnen helpen!!!

Groeten,
Jankees

Roenes
%Europe/Berlin %630 %2005, 16:08
Dit is meer een actionscript vraag dus ik verplaats je vraag even :)

En de oplossing: je moet je font embedden en dan pas kun je het tekstvak roteren/masken/enz. Als je niet weet hoe dat moet, zoek dan even op het forum. Embedden is al heel vaak langsgekomen :)

jankees
%Europe/Berlin %631 %2005, 16:09
maar het is toch gewoon verdana? moet je het dan ook embedden?

Roenes
%Europe/Berlin %634 %2005, 16:13
Jah anders is het niet mogelijk om te gaan draaien en masken en zo. Waarom dat eigenljik zo is weet ik niet. Ik weet alleen dat het moet :)

Dopefish
%Europe/Berlin %634 %2005, 16:13
Oh vandaar al die dubbele topics...
hoezo zou je verdana niet hoeven embeddewn ?

jankees
%Europe/Berlin %636 %2005, 16:16
wat een hulp allemaal :) nou ik dacht omdat verdana een standaard font is...

jankees
%Europe/Berlin %650 %2005, 16:36
ja het werkt! case solved!!! thanx!!

jankees
%Europe/Berlin %672 %2005, 17:07
ik heb nog een vraagje! ik heb het font nou ge-embed... maar als ik dan via HTML de tekst bold of cursief maakt zie je de tekst weer niet... hoe embed ik ook die andere versies van dit font?

Fatty Owl
%Europe/Berlin %679 %2005, 17:18
kan je niet embed all charachters doen? (alleen heeft dit een lange laadtijd)

jankees
%Europe/Berlin %694 %2005, 17:40
nee volgens mij niet... hij pakt het ook niet als je alles selecteerd uit dat lijstje... iemand??

Laiverd
%Europe/Berlin %698 %2005, 17:46
Je moet de bold variant apart embedden. Gewoon ergens offstage een dynamic texfield maken, verdana bold embedden, en selectable via het properties panel even uitzetten. Daarna werkt de <b> tag gewoon.

John

jankees
%Europe/Berlin %704 %2005, 17:53
ja dat is het indd ja!!

check het eindresultaat: www.moutonfou.nl/newsite

Laiverd
%Europe/Berlin %709 %2005, 18:01
Leuk ontwerp, mag nog wel wat meer aankleding ;) En ik zou even kijken naar de grootte van de Verdana die je gebruikt; door de anti-aliasing is ie slecht leesbaar. Misschien dan ook wat meer regelafstand. Overigens : je ... vindt

John

jankees
%Europe/Berlin %742 %2005, 18:49
dankje! ik heb nog wel een vraagje! hoe kan ik een afbeelding in dat tekst vlak krijgen via mijn database kan niet met normale html he?

Laiverd
%Europe/Berlin %747 %2005, 18:56
Ik zie dat je hebt gepubliceerd voor Flash Player 7; in dat geval kun je de IMG tag gebruiken. Meer info in de handleiding. En uiteraard gewoon LoadVars() gebruiken om de data m.b.t. het image op te halen.

John

jankees
%Europe/Berlin %751 %2005, 19:01
krijg het niet aan de praat ik laat nu het volgende uit de database komen:
<img src="http://www.moutonfou.nl/site/images/jankees_name.gif">
maar er komt niks in de uitvoer... moet ik wat veranderen?

Flasher
%Europe/Berlin %861 %2005, 21:40
je kan alleen jpegs inladen... dus geen gif :S
Helaazz..

Het kan wel in flash 8 8D

Laiverd
%Europe/Berlin %863 %2005, 21:43
Kijk, die handleiding is er dus echt niet voor niks:

Image tag (<img>)
The <img> tag lets you embed external JPEG files, SWF files, and movie clips inside text fields and TextArea component instances. Text automatically flows around images you embed in text fields or components. This tag is supported only in dynamic and input text fields that are multiline and wrap their text.

To create a multiline text field with word wrapping, do one of the following:
In the Flash authoring environment, select a text field on the Stage and then, in the Property inspector, select Multiline from the Text Type menu.
For a text field created at runtime with MovieClip.createTextField(), set the new text field instance’s TextField.multiline and TextField.wordWrap properties to true.
The <img> tag has one required attribute, src, which specifies the path to a JPEG file, a SWF file, or the linkage identifier of a movie clip symbol in the library. All other attributes are optional.

The <img> tags supports the following attributes:

src Specifies the URL to a JPEG or SWF file, or the linkage identifier for a movie clip symbol in the library. This attribute is required; all other attributes are optional. External files (JPEG and SWF files) do not show until they have downloaded completely.
Note: Flash Player supports non-progressive JPEG files, but does not support progressive JPEG files.

id Specifies the name for the movie clip instance (created by Flash Player) that contains the embedded JPEG file, SWF file, or movie clip. This is useful if you want to control the embedded content with ActionScript.
width The width of the image, SWF file, or movie clip being inserted, in pixels.
height The height of the image, SWF file, or movie clip being inserted, in pixels.
align Specifies the horizontal alignment of the embedded image within the text field. Valid value are left and right. The default value is left.
hspace Specifies the amount of horizontal space that surrounds the image where no text appears. The default value is 8.
vspace Specifies the amount of vertical space that surrounds the image where no text appears. The default value is 8.
For more information and examples of using the <img> tag, see Embedding images, SWF files, and movie clips in text fields.

jankees
%Europe/Berlin %889 %2005, 22:20
ow en ik altijd maar denken dat zo'n help functie er voor niks in zat... :s

SaphuA
%Europe/Berlin %918 %2005, 23:01
Jah anders is het niet mogelijk om te gaan draaien en masken en zo. Waarom dat eigenljik zo is weet ik niet. Ik weet alleen dat het moet :)
Zodat Flash zelf alle outlines van de Font ook heeft, dan kan die er iets mee doen ;)