Author Topic: Settings = Reflection On = messing up swf files  (Read 1778 times)

HardyArt

  • Newbie
  • *
  • Posts: 3
Settings = Reflection On = messing up swf files
« on: February 23, 2009, 06:49:12 pm »
Hi, thanks for publishing version 1.32 = I now have loading progression showing up as it should throughout my book!

I am using swf files in various ways in the book = either as  swf pages or as a swf file positioned onto a page. All in Flash CS3 AS3 although using older swf files such as Flash 8 in AS2 work fine also within your AS3 based book! = I found out that when selecting Reflection in the settings, my swf files are messing up! For instance, a scrollable textarea swf element will display fine on first load but as soon as you flip to another page and go back to the page containing the swf, the swf element doesn't display properly, in this case the textarea scrollbar doesn't scroll text to the end and text is cut off on the right side of the textarea window. All this mess only happens when Reflection is selected in the settings. So when I disable Reflection on the settings my swf files behave fine no problem.

Looks like Reflection setting is affecting swf files...... = is there a work around this? step by step solution please! other than getting rid of the reflection setting all together which is another solution (not preferred) for which I would need your step by step help also if that's the case.

While I am here = another question = since your 1.32 update, the mailto: link doesn't behave properly = it's coded as  url then the string for email but the browser now opens a second window (dead stuff) along with the email software opening.... what should I place in this line of coding for the browser not to react to the email request?

Thanks for your help.
Pierre




Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Settings = Reflection On = messing up swf files
« Reply #1 on: February 27, 2009, 10:50:20 pm »
Hm, that with the reflections/swfs sounds strange indeed. I'll see if I can reproduce it.

As for the mailto thingy. I'll have to try it out, but I can't really see how it could have behaved differently earlier on, considering I didn't change a thing regarding that. You could try providing a target="_self" attribute, maybe that helps.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

HardyArt

  • Newbie
  • *
  • Posts: 3
Re: Settings = Reflection On = messing up swf files
« Reply #2 on: February 28, 2009, 04:28:46 am »
url mailto: link coding resolved with thanks = by adding target="_self" to the string = Now things happen as they should!
-----------
You see.... I am referring a lot to your Demo "megazine.xml" file for figuring out how to use your wonderful book = this file is a great, efficient and  practical tool which could also be updated with new goodies for additional demonstrations for the book's possible layouts and features!!!!
The thingy target="_self" could be added in there?
-----------
The REFLECTION settings issue in relation with swf files = I hope you'll have some time to look at. To speed things up maybe have a look at my book startup = on the INTRO page as well as just past the Bio pages you'll see swf textarea elements = set REFLECTION to on and off you'll see the results I was mentionning = might be something to do with REFLECTION coding of same family as swf files coding? therefore a family feud?
http://www.hardyart.com/New_Site_2009/Hardy_MegaZine/index2.html#btm
-----------
Now that version 1.32 has given back the loading progression bar feature = It is displaying at the top left corner of pages or dead center to positioned page elements = How do I get to position the loading progression bar to center of the pages?
-----------
And last but not least!;) My new website in the works is all Flash CS3 AS2 and would like my book to load within it = I would like to use the AS2 loader component to do so = filling in the parameters and there you go! But I have to load not only the megazine.swf file but the megazine.xml file that defines it Hey? I really do need help = I am lost in space = A one small step for you, one giant leap for me. A way of saying that I would appreciate a step by step vulgarization of how to accomplish this.......please
-----------
Many thanks for your precious help!


« Last Edit: February 28, 2009, 04:42:55 am by HardyArt »

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Settings = Reflection On = messing up swf files
« Reply #3 on: March 04, 2009, 04:25:35 pm »
I'll see if I can find the time somewhen to update the demo... :P

Easy things first: position of the loading bar is always the "middle" of the image, but the extents of an external image are (obviously) unknown before it's been loaded. So to position it you have to manually provide the size of the image in the xml.

The reflection issue is seriously stange. Because the reflection doesn't interact with anything at all, it just makes sceenshot, so to say... what you could try is to make the page containing the swf buffered, i.e.
Code: [Select]
<page buffer="true">Which would at least fix the problem that the text is not being rotated (which is a limitation of Flash, it cannot transform text).

As for the AS2 part, sorry, but I have no real clue about AS2 anymore. I did mess around with it quite a bit in the days, true (the not so public version 2 of the engine was even written in AS2), but I've not used it in a looong time. :/
Some general thoughts, though: as you cannot create a new instance codewise when using AS2 you have to load it, indeed. So, to use the FlashVars, i.e. the settings from the html you'll have to pass them via GET variables (you know, that ?v=x&w=y stuff in addresses). Only thing I found on that real quick was this forum post. The xml file will have to be in the same folder as the swf loading the megazine.swf file.

Regards,
Florian
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.